@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
|
@@ -0,0 +1,170 @@
|
|
|
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 } 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
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing PrivateLinkResources operations. */
|
|
14
|
+
export class PrivateLinkResourcesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
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
|
+
listByConfigurationStore(resourceGroupName, configStoreName, options) {
|
|
29
|
+
const iter = this.listByConfigurationStorePagingAll(resourceGroupName, configStoreName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listByConfigurationStorePagingPage(resourceGroupName, configStoreName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listByConfigurationStorePagingPage(resourceGroupName, configStoreName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listByConfigurationStorePagingPage_1() {
|
|
44
|
+
let result = yield __await(this._listByConfigurationStore(resourceGroupName, configStoreName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listByConfigurationStoreNext(resourceGroupName, configStoreName, continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listByConfigurationStorePagingAll(resourceGroupName, configStoreName, options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listByConfigurationStorePagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listByConfigurationStorePagingPage(resourceGroupName, configStoreName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Gets the private link resources that need to be created for a configuration store.
|
|
74
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
75
|
+
* @param configStoreName The name of the configuration store.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
_listByConfigurationStore(resourceGroupName, configStoreName, options) {
|
|
79
|
+
return this.client.sendOperationRequest({ resourceGroupName, configStoreName, options }, listByConfigurationStoreOperationSpec);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Gets a private link resource that need to be created for a configuration store.
|
|
83
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
84
|
+
* @param configStoreName The name of the configuration store.
|
|
85
|
+
* @param groupName The name of the private link resource group.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
get(resourceGroupName, configStoreName, groupName, options) {
|
|
89
|
+
return this.client.sendOperationRequest({ resourceGroupName, configStoreName, groupName, options }, getOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* ListByConfigurationStoreNext
|
|
93
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
94
|
+
* @param configStoreName The name of the configuration store.
|
|
95
|
+
* @param nextLink The nextLink from the previous successful call to the ListByConfigurationStore
|
|
96
|
+
* method.
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
_listByConfigurationStoreNext(resourceGroupName, configStoreName, nextLink, options) {
|
|
100
|
+
return this.client.sendOperationRequest({ resourceGroupName, configStoreName, nextLink, options }, listByConfigurationStoreNextOperationSpec);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
// Operation Specifications
|
|
104
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
105
|
+
const listByConfigurationStoreOperationSpec = {
|
|
106
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources",
|
|
107
|
+
httpMethod: "GET",
|
|
108
|
+
responses: {
|
|
109
|
+
200: {
|
|
110
|
+
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
111
|
+
},
|
|
112
|
+
default: {
|
|
113
|
+
bodyMapper: Mappers.ErrorResponse
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
queryParameters: [Parameters.apiVersion],
|
|
117
|
+
urlParameters: [
|
|
118
|
+
Parameters.$host,
|
|
119
|
+
Parameters.subscriptionId,
|
|
120
|
+
Parameters.resourceGroupName,
|
|
121
|
+
Parameters.configStoreName
|
|
122
|
+
],
|
|
123
|
+
headerParameters: [Parameters.accept],
|
|
124
|
+
serializer
|
|
125
|
+
};
|
|
126
|
+
const getOperationSpec = {
|
|
127
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources/{groupName}",
|
|
128
|
+
httpMethod: "GET",
|
|
129
|
+
responses: {
|
|
130
|
+
200: {
|
|
131
|
+
bodyMapper: Mappers.PrivateLinkResource
|
|
132
|
+
},
|
|
133
|
+
default: {
|
|
134
|
+
bodyMapper: Mappers.ErrorResponse
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
queryParameters: [Parameters.apiVersion],
|
|
138
|
+
urlParameters: [
|
|
139
|
+
Parameters.$host,
|
|
140
|
+
Parameters.subscriptionId,
|
|
141
|
+
Parameters.resourceGroupName,
|
|
142
|
+
Parameters.configStoreName,
|
|
143
|
+
Parameters.groupName
|
|
144
|
+
],
|
|
145
|
+
headerParameters: [Parameters.accept],
|
|
146
|
+
serializer
|
|
147
|
+
};
|
|
148
|
+
const listByConfigurationStoreNextOperationSpec = {
|
|
149
|
+
path: "{nextLink}",
|
|
150
|
+
httpMethod: "GET",
|
|
151
|
+
responses: {
|
|
152
|
+
200: {
|
|
153
|
+
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
154
|
+
},
|
|
155
|
+
default: {
|
|
156
|
+
bodyMapper: Mappers.ErrorResponse
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
queryParameters: [Parameters.apiVersion],
|
|
160
|
+
urlParameters: [
|
|
161
|
+
Parameters.$host,
|
|
162
|
+
Parameters.subscriptionId,
|
|
163
|
+
Parameters.resourceGroupName,
|
|
164
|
+
Parameters.configStoreName,
|
|
165
|
+
Parameters.nextLink
|
|
166
|
+
],
|
|
167
|
+
headerParameters: [Parameters.accept],
|
|
168
|
+
serializer
|
|
169
|
+
};
|
|
170
|
+
//# sourceMappingURL=privateLinkResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.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;AAYnD,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAwC;QAClD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,wBAAwB,CAC7B,iBAAyB,EACzB,eAAuB,EACvB,OAAoE;QAEpE,MAAM,IAAI,GAAG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gBAAgB,GAA6B;IACjD,IAAI,EACF,gLAAgL;IAClL,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;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,SAAS;KACrB;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,6BAA6B;SAClD;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,86 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { ConfigurationStore, ConfigurationStoresListOptionalParams, ConfigurationStoresListByResourceGroupOptionalParams, ApiKey, ConfigurationStoresListKeysOptionalParams, ConfigurationStoresGetOptionalParams, ConfigurationStoresGetResponse, ConfigurationStoresCreateOptionalParams, ConfigurationStoresCreateResponse, ConfigurationStoresDeleteOptionalParams, ConfigurationStoreUpdateParameters, ConfigurationStoresUpdateOptionalParams, ConfigurationStoresUpdateResponse, RegenerateKeyParameters, ConfigurationStoresRegenerateKeyOptionalParams, ConfigurationStoresRegenerateKeyResponse } from "../models";
|
|
4
|
+
/** Interface representing a ConfigurationStores. */
|
|
5
|
+
export interface ConfigurationStores {
|
|
6
|
+
/**
|
|
7
|
+
* Lists the configuration stores for a given subscription.
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
list(options?: ConfigurationStoresListOptionalParams): PagedAsyncIterableIterator<ConfigurationStore>;
|
|
11
|
+
/**
|
|
12
|
+
* Lists the configuration stores for a given resource group.
|
|
13
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
listByResourceGroup(resourceGroupName: string, options?: ConfigurationStoresListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ConfigurationStore>;
|
|
17
|
+
/**
|
|
18
|
+
* Lists the access key for the specified configuration store.
|
|
19
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
20
|
+
* @param configStoreName The name of the configuration store.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
listKeys(resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresListKeysOptionalParams): PagedAsyncIterableIterator<ApiKey>;
|
|
24
|
+
/**
|
|
25
|
+
* Gets the properties of the specified 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
|
+
get(resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresGetOptionalParams): Promise<ConfigurationStoresGetResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a configuration store with the specified parameters.
|
|
33
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
34
|
+
* @param configStoreName The name of the configuration store.
|
|
35
|
+
* @param configStoreCreationParameters The parameters for creating a configuration store.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
beginCreate(resourceGroupName: string, configStoreName: string, configStoreCreationParameters: ConfigurationStore, options?: ConfigurationStoresCreateOptionalParams): Promise<PollerLike<PollOperationState<ConfigurationStoresCreateResponse>, ConfigurationStoresCreateResponse>>;
|
|
39
|
+
/**
|
|
40
|
+
* Creates a configuration store with the specified parameters.
|
|
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 configStoreCreationParameters The parameters for creating a configuration store.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
beginCreateAndWait(resourceGroupName: string, configStoreName: string, configStoreCreationParameters: ConfigurationStore, options?: ConfigurationStoresCreateOptionalParams): Promise<ConfigurationStoresCreateResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Deletes a configuration store.
|
|
49
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
50
|
+
* @param configStoreName The name of the configuration store.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
beginDelete(resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
54
|
+
/**
|
|
55
|
+
* Deletes a configuration store.
|
|
56
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
57
|
+
* @param configStoreName The name of the configuration store.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
beginDeleteAndWait(resourceGroupName: string, configStoreName: string, options?: ConfigurationStoresDeleteOptionalParams): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* Updates a configuration store with the specified parameters.
|
|
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 configStoreUpdateParameters The parameters for updating a configuration store.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
beginUpdate(resourceGroupName: string, configStoreName: string, configStoreUpdateParameters: ConfigurationStoreUpdateParameters, options?: ConfigurationStoresUpdateOptionalParams): Promise<PollerLike<PollOperationState<ConfigurationStoresUpdateResponse>, ConfigurationStoresUpdateResponse>>;
|
|
69
|
+
/**
|
|
70
|
+
* Updates a configuration store with the specified parameters.
|
|
71
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
72
|
+
* @param configStoreName The name of the configuration store.
|
|
73
|
+
* @param configStoreUpdateParameters The parameters for updating a configuration store.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
beginUpdateAndWait(resourceGroupName: string, configStoreName: string, configStoreUpdateParameters: ConfigurationStoreUpdateParameters, options?: ConfigurationStoresUpdateOptionalParams): Promise<ConfigurationStoresUpdateResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* Regenerates an access key for the specified configuration store.
|
|
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 regenerateKeyParameters The parameters for regenerating an access key.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
regenerateKey(resourceGroupName: string, configStoreName: string, regenerateKeyParameters: RegenerateKeyParameters, options?: ConfigurationStoresRegenerateKeyOptionalParams): Promise<ConfigurationStoresRegenerateKeyResponse>;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=configurationStores.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationStores.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/configurationStores.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CA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kBAAkB,EACjD,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,2BAA2B,EAAE,kCAAkC,EAC/D,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,iCAAiC,CAAC,EACrD,iCAAiC,CAClC,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,2BAA2B,EAAE,kCAAkC,EAC/D,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;;OAMG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;CACtD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=configurationStores.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationStores.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/configurationStores.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC"}
|
|
@@ -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
|
+
export * from "./configurationStores";
|
|
9
|
+
export * from "./operations";
|
|
10
|
+
export * from "./privateEndpointConnections";
|
|
11
|
+
export * from "./privateLinkResources";
|
|
12
|
+
export * from "./keyValues";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { KeyValue, KeyValuesListByConfigurationStoreOptionalParams, KeyValuesGetOptionalParams, KeyValuesGetResponse, KeyValuesCreateOrUpdateOptionalParams, KeyValuesCreateOrUpdateResponse, KeyValuesDeleteOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a KeyValues. */
|
|
5
|
+
export interface KeyValues {
|
|
6
|
+
/**
|
|
7
|
+
* Lists the key-values for a given configuration store.
|
|
8
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
9
|
+
* @param configStoreName The name of the configuration store.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByConfigurationStore(resourceGroupName: string, configStoreName: string, options?: KeyValuesListByConfigurationStoreOptionalParams): PagedAsyncIterableIterator<KeyValue>;
|
|
13
|
+
/**
|
|
14
|
+
* Gets the properties of the specified key-value.
|
|
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 keyValueName Identifier of key and label combination. Key and label are joined by $
|
|
18
|
+
* character. Label is optional.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
get(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: KeyValuesGetOptionalParams): Promise<KeyValuesGetResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Creates a key-value.
|
|
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 keyValueName Identifier of key and label combination. Key and label are joined by $
|
|
27
|
+
* character. Label is optional.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
createOrUpdate(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: KeyValuesCreateOrUpdateOptionalParams): Promise<KeyValuesCreateOrUpdateResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Deletes a key-value.
|
|
33
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
34
|
+
* @param configStoreName The name of the configuration store.
|
|
35
|
+
* @param keyValueName Identifier of key and label combination. Key and label are joined by $
|
|
36
|
+
* character. Label is optional.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
beginDelete(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: KeyValuesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
40
|
+
/**
|
|
41
|
+
* Deletes a key-value.
|
|
42
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
43
|
+
* @param configStoreName The name of the configuration store.
|
|
44
|
+
* @param keyValueName Identifier of key and label combination. Key and label are joined by $
|
|
45
|
+
* character. Label is optional.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
beginDeleteAndWait(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: KeyValuesDeleteOptionalParams): Promise<void>;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=keyValues.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyValues.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/keyValues.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,QAAQ,EACR,+CAA+C,EAC/C,0BAA0B,EAC1B,oBAAoB,EACpB,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAC9B,MAAM,WAAW,CAAC;AAGnB,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=keyValues.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyValues.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/keyValues.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { OperationDefinition, OperationsListOptionalParams, CheckNameAvailabilityParameters, OperationsCheckNameAvailabilityOptionalParams, OperationsCheckNameAvailabilityResponse } from "../models";
|
|
3
|
+
/** Interface representing a Operations. */
|
|
4
|
+
export interface Operations {
|
|
5
|
+
/**
|
|
6
|
+
* Lists the operations available from this provider.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationDefinition>;
|
|
10
|
+
/**
|
|
11
|
+
* Checks whether the configuration store name is available for use.
|
|
12
|
+
* @param checkNameAvailabilityParameters The object containing information for the availability
|
|
13
|
+
* request.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
checkNameAvailability(checkNameAvailabilityParameters: CheckNameAvailabilityParameters, options?: OperationsCheckNameAvailabilityOptionalParams): Promise<OperationsCheckNameAvailabilityResponse>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAC5B,+BAA+B,EAC/B,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,WAAW,CAAC;AAGnB,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;IACnD;;;;;OAKG;IACH,qBAAqB,CACnB,+BAA+B,EAAE,+BAA+B,EAChE,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;CACrD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { PrivateEndpointConnection, PrivateEndpointConnectionsListByConfigurationStoreOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
5
|
+
export interface PrivateEndpointConnections {
|
|
6
|
+
/**
|
|
7
|
+
* Lists all private endpoint connections for a configuration store.
|
|
8
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
9
|
+
* @param configStoreName The name of the configuration store.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByConfigurationStore(resourceGroupName: string, configStoreName: string, options?: PrivateEndpointConnectionsListByConfigurationStoreOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
13
|
+
/**
|
|
14
|
+
* Gets the specified private endpoint connection associated with the 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 privateEndpointConnectionName Private endpoint connection name
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
get(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Update the state of the specified private endpoint connection associated with the configuration
|
|
23
|
+
* 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 privateEndpointConnectionName Private endpoint connection name
|
|
27
|
+
* @param privateEndpointConnection The private endpoint connection properties.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
beginCreateOrUpdate(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
|
31
|
+
/**
|
|
32
|
+
* Update the state of the specified private endpoint connection associated with the configuration
|
|
33
|
+
* store.
|
|
34
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
35
|
+
* @param configStoreName The name of the configuration store.
|
|
36
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
37
|
+
* @param privateEndpointConnection The private endpoint connection properties.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Deletes a private endpoint connection.
|
|
43
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
44
|
+
* @param configStoreName The name of the configuration store.
|
|
45
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
beginDelete(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
49
|
+
/**
|
|
50
|
+
* Deletes a private endpoint connection.
|
|
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 options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
beginDeleteAndWait(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=privateEndpointConnections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,yBAAyB,EACzB,gEAAgE,EAChE,2CAA2C,EAC3C,qCAAqC,EACrC,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAC/C,MAAM,WAAW,CAAC;AAGnB,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,gEAAgE,GACzE,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;OAQG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,gDAAgD,CAAC,EACpE,gDAAgD,CACjD,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;IAC7D;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=privateEndpointConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateLinkResource, PrivateLinkResourcesListByConfigurationStoreOptionalParams, PrivateLinkResourcesGetOptionalParams, PrivateLinkResourcesGetResponse } from "../models";
|
|
3
|
+
/** Interface representing a PrivateLinkResources. */
|
|
4
|
+
export interface PrivateLinkResources {
|
|
5
|
+
/**
|
|
6
|
+
* Gets the private link resources that need to be created for a configuration store.
|
|
7
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
8
|
+
* @param configStoreName The name of the configuration store.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
listByConfigurationStore(resourceGroupName: string, configStoreName: string, options?: PrivateLinkResourcesListByConfigurationStoreOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
12
|
+
/**
|
|
13
|
+
* Gets a private link resource that need to be created for a configuration store.
|
|
14
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
15
|
+
* @param configStoreName The name of the configuration store.
|
|
16
|
+
* @param groupName The name of the private link resource group.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
get(resourceGroupName: string, configStoreName: string, groupName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=privateLinkResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,0DAA0D,EAC1D,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,0DAA0D,GACnE,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;IACnD;;;;;;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,CAAC;CAC7C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=privateLinkResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
import { record } from "@azure-tools/test-recorder";
|
|
10
|
+
const recorderEnvSetup = {
|
|
11
|
+
replaceableVariables: {
|
|
12
|
+
AZURE_CLIENT_ID: "azure_client_id",
|
|
13
|
+
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
14
|
+
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
15
|
+
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
16
|
+
},
|
|
17
|
+
customizationsOnRecordings: [
|
|
18
|
+
(recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
|
|
19
|
+
],
|
|
20
|
+
queryParametersToSkip: []
|
|
21
|
+
};
|
|
22
|
+
describe("My test", () => {
|
|
23
|
+
let recorder;
|
|
24
|
+
beforeEach(function () {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
recorder = record(this, recorderEnvSetup);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
afterEach(function () {
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
yield recorder.stop();
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
it("sample test", function () {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
console.log("Hi, I'm a test!");
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=sampleTest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|