@azure/template 1.0.12-beta.1318888 → 1.0.12-beta.1346472
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 +1 -1
- package/dist/index.js +91 -156
- package/dist/index.js.map +1 -1
- package/dist-esm/src/configurationClient.js +35 -46
- package/dist-esm/src/configurationClient.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/generated/generatedClient.js +21 -85
- package/dist-esm/src/generated/generatedClient.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +14 -12
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/models/parameters.js +2 -3
- package/dist-esm/src/generated/models/parameters.js.map +1 -1
- package/package.json +15 -12
- package/types/3.1/template.d.ts +5 -4
- package/types/latest/template.d.ts +5 -4
- package/dist-esm/src/tracing.js +0 -17
- package/dist-esm/src/tracing.js.map +0 -1
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import * as
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
9
|
import * as Parameters from "./models/parameters";
|
|
10
10
|
import * as Mappers from "./models/mappers";
|
|
11
11
|
import { GeneratedClientContext } from "./generatedClientContext";
|
|
12
|
-
/** @
|
|
12
|
+
/** @internal */
|
|
13
13
|
export class GeneratedClient extends GeneratedClientContext {
|
|
14
14
|
/**
|
|
15
15
|
* Initializes a new instance of the GeneratedClient class.
|
|
@@ -24,40 +24,28 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
24
24
|
* @param options The options parameters.
|
|
25
25
|
*/
|
|
26
26
|
getKeys(options) {
|
|
27
|
-
|
|
28
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
29
|
-
};
|
|
30
|
-
return this.sendOperationRequest(operationArguments, getKeysOperationSpec);
|
|
27
|
+
return this.sendOperationRequest({ options }, getKeysOperationSpec);
|
|
31
28
|
}
|
|
32
29
|
/**
|
|
33
30
|
* Requests the headers and status of the given resource.
|
|
34
31
|
* @param options The options parameters.
|
|
35
32
|
*/
|
|
36
33
|
checkKeys(options) {
|
|
37
|
-
|
|
38
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
39
|
-
};
|
|
40
|
-
return this.sendOperationRequest(operationArguments, checkKeysOperationSpec);
|
|
34
|
+
return this.sendOperationRequest({ options }, checkKeysOperationSpec);
|
|
41
35
|
}
|
|
42
36
|
/**
|
|
43
37
|
* Gets a list of key-values.
|
|
44
38
|
* @param options The options parameters.
|
|
45
39
|
*/
|
|
46
40
|
getKeyValues(options) {
|
|
47
|
-
|
|
48
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
49
|
-
};
|
|
50
|
-
return this.sendOperationRequest(operationArguments, getKeyValuesOperationSpec);
|
|
41
|
+
return this.sendOperationRequest({ options }, getKeyValuesOperationSpec);
|
|
51
42
|
}
|
|
52
43
|
/**
|
|
53
44
|
* Requests the headers and status of the given resource.
|
|
54
45
|
* @param options The options parameters.
|
|
55
46
|
*/
|
|
56
47
|
checkKeyValues(options) {
|
|
57
|
-
|
|
58
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
59
|
-
};
|
|
60
|
-
return this.sendOperationRequest(operationArguments, checkKeyValuesOperationSpec);
|
|
48
|
+
return this.sendOperationRequest({ options }, checkKeyValuesOperationSpec);
|
|
61
49
|
}
|
|
62
50
|
/**
|
|
63
51
|
* Gets a single key-value.
|
|
@@ -65,11 +53,7 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
65
53
|
* @param options The options parameters.
|
|
66
54
|
*/
|
|
67
55
|
getKeyValue(key, options) {
|
|
68
|
-
|
|
69
|
-
key,
|
|
70
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
71
|
-
};
|
|
72
|
-
return this.sendOperationRequest(operationArguments, getKeyValueOperationSpec);
|
|
56
|
+
return this.sendOperationRequest({ key, options }, getKeyValueOperationSpec);
|
|
73
57
|
}
|
|
74
58
|
/**
|
|
75
59
|
* Creates a key-value.
|
|
@@ -77,11 +61,7 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
77
61
|
* @param options The options parameters.
|
|
78
62
|
*/
|
|
79
63
|
putKeyValue(key, options) {
|
|
80
|
-
|
|
81
|
-
key,
|
|
82
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
83
|
-
};
|
|
84
|
-
return this.sendOperationRequest(operationArguments, putKeyValueOperationSpec);
|
|
64
|
+
return this.sendOperationRequest({ key, options }, putKeyValueOperationSpec);
|
|
85
65
|
}
|
|
86
66
|
/**
|
|
87
67
|
* Deletes a key-value.
|
|
@@ -89,11 +69,7 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
89
69
|
* @param options The options parameters.
|
|
90
70
|
*/
|
|
91
71
|
deleteKeyValue(key, options) {
|
|
92
|
-
|
|
93
|
-
key,
|
|
94
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
95
|
-
};
|
|
96
|
-
return this.sendOperationRequest(operationArguments, deleteKeyValueOperationSpec);
|
|
72
|
+
return this.sendOperationRequest({ key, options }, deleteKeyValueOperationSpec);
|
|
97
73
|
}
|
|
98
74
|
/**
|
|
99
75
|
* Requests the headers and status of the given resource.
|
|
@@ -101,31 +77,21 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
101
77
|
* @param options The options parameters.
|
|
102
78
|
*/
|
|
103
79
|
checkKeyValue(key, options) {
|
|
104
|
-
|
|
105
|
-
key,
|
|
106
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
107
|
-
};
|
|
108
|
-
return this.sendOperationRequest(operationArguments, checkKeyValueOperationSpec);
|
|
80
|
+
return this.sendOperationRequest({ key, options }, checkKeyValueOperationSpec);
|
|
109
81
|
}
|
|
110
82
|
/**
|
|
111
83
|
* Gets a list of labels.
|
|
112
84
|
* @param options The options parameters.
|
|
113
85
|
*/
|
|
114
86
|
getLabels(options) {
|
|
115
|
-
|
|
116
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
117
|
-
};
|
|
118
|
-
return this.sendOperationRequest(operationArguments, getLabelsOperationSpec);
|
|
87
|
+
return this.sendOperationRequest({ options }, getLabelsOperationSpec);
|
|
119
88
|
}
|
|
120
89
|
/**
|
|
121
90
|
* Requests the headers and status of the given resource.
|
|
122
91
|
* @param options The options parameters.
|
|
123
92
|
*/
|
|
124
93
|
checkLabels(options) {
|
|
125
|
-
|
|
126
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
127
|
-
};
|
|
128
|
-
return this.sendOperationRequest(operationArguments, checkLabelsOperationSpec);
|
|
94
|
+
return this.sendOperationRequest({ options }, checkLabelsOperationSpec);
|
|
129
95
|
}
|
|
130
96
|
/**
|
|
131
97
|
* Locks a key-value.
|
|
@@ -133,11 +99,7 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
133
99
|
* @param options The options parameters.
|
|
134
100
|
*/
|
|
135
101
|
putLock(key, options) {
|
|
136
|
-
|
|
137
|
-
key,
|
|
138
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
139
|
-
};
|
|
140
|
-
return this.sendOperationRequest(operationArguments, putLockOperationSpec);
|
|
102
|
+
return this.sendOperationRequest({ key, options }, putLockOperationSpec);
|
|
141
103
|
}
|
|
142
104
|
/**
|
|
143
105
|
* Unlocks a key-value.
|
|
@@ -145,31 +107,21 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
145
107
|
* @param options The options parameters.
|
|
146
108
|
*/
|
|
147
109
|
deleteLock(key, options) {
|
|
148
|
-
|
|
149
|
-
key,
|
|
150
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
151
|
-
};
|
|
152
|
-
return this.sendOperationRequest(operationArguments, deleteLockOperationSpec);
|
|
110
|
+
return this.sendOperationRequest({ key, options }, deleteLockOperationSpec);
|
|
153
111
|
}
|
|
154
112
|
/**
|
|
155
113
|
* Gets a list of key-value revisions.
|
|
156
114
|
* @param options The options parameters.
|
|
157
115
|
*/
|
|
158
116
|
getRevisions(options) {
|
|
159
|
-
|
|
160
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
161
|
-
};
|
|
162
|
-
return this.sendOperationRequest(operationArguments, getRevisionsOperationSpec);
|
|
117
|
+
return this.sendOperationRequest({ options }, getRevisionsOperationSpec);
|
|
163
118
|
}
|
|
164
119
|
/**
|
|
165
120
|
* Requests the headers and status of the given resource.
|
|
166
121
|
* @param options The options parameters.
|
|
167
122
|
*/
|
|
168
123
|
checkRevisions(options) {
|
|
169
|
-
|
|
170
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
171
|
-
};
|
|
172
|
-
return this.sendOperationRequest(operationArguments, checkRevisionsOperationSpec);
|
|
124
|
+
return this.sendOperationRequest({ options }, checkRevisionsOperationSpec);
|
|
173
125
|
}
|
|
174
126
|
/**
|
|
175
127
|
* GetKeysNext
|
|
@@ -177,11 +129,7 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
177
129
|
* @param options The options parameters.
|
|
178
130
|
*/
|
|
179
131
|
getKeysNext(nextLink, options) {
|
|
180
|
-
|
|
181
|
-
nextLink,
|
|
182
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
183
|
-
};
|
|
184
|
-
return this.sendOperationRequest(operationArguments, getKeysNextOperationSpec);
|
|
132
|
+
return this.sendOperationRequest({ nextLink, options }, getKeysNextOperationSpec);
|
|
185
133
|
}
|
|
186
134
|
/**
|
|
187
135
|
* GetKeyValuesNext
|
|
@@ -189,11 +137,7 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
189
137
|
* @param options The options parameters.
|
|
190
138
|
*/
|
|
191
139
|
getKeyValuesNext(nextLink, options) {
|
|
192
|
-
|
|
193
|
-
nextLink,
|
|
194
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
195
|
-
};
|
|
196
|
-
return this.sendOperationRequest(operationArguments, getKeyValuesNextOperationSpec);
|
|
140
|
+
return this.sendOperationRequest({ nextLink, options }, getKeyValuesNextOperationSpec);
|
|
197
141
|
}
|
|
198
142
|
/**
|
|
199
143
|
* GetLabelsNext
|
|
@@ -201,11 +145,7 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
201
145
|
* @param options The options parameters.
|
|
202
146
|
*/
|
|
203
147
|
getLabelsNext(nextLink, options) {
|
|
204
|
-
|
|
205
|
-
nextLink,
|
|
206
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
207
|
-
};
|
|
208
|
-
return this.sendOperationRequest(operationArguments, getLabelsNextOperationSpec);
|
|
148
|
+
return this.sendOperationRequest({ nextLink, options }, getLabelsNextOperationSpec);
|
|
209
149
|
}
|
|
210
150
|
/**
|
|
211
151
|
* GetRevisionsNext
|
|
@@ -213,15 +153,11 @@ export class GeneratedClient extends GeneratedClientContext {
|
|
|
213
153
|
* @param options The options parameters.
|
|
214
154
|
*/
|
|
215
155
|
getRevisionsNext(nextLink, options) {
|
|
216
|
-
|
|
217
|
-
nextLink,
|
|
218
|
-
options: coreHttp.operationOptionsToRequestOptionsBase(options || {})
|
|
219
|
-
};
|
|
220
|
-
return this.sendOperationRequest(operationArguments, getRevisionsNextOperationSpec);
|
|
156
|
+
return this.sendOperationRequest({ nextLink, options }, getRevisionsNextOperationSpec);
|
|
221
157
|
}
|
|
222
158
|
}
|
|
223
159
|
// Operation Specifications
|
|
224
|
-
const serializer =
|
|
160
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
225
161
|
const getKeysOperationSpec = {
|
|
226
162
|
path: "/keys",
|
|
227
163
|
httpMethod: "GET",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedClient.js","sourceRoot":"","sources":["../../../src/generated/generatedClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAyClE,cAAc;AACd,MAAM,OAAO,eAAgB,SAAQ,sBAAsB;IACzD;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAuC;QACnE,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC3B,CAAC;IAED;;;OAGG;IACH,OAAO,CACL,OAA8C;QAE9C,MAAM,kBAAkB,GAAgC;YACtD,OAAO,EAAE,QAAQ,CAAC,oCAAoC,CAAC,OAAO,IAAI,EAAE,CAAC;SACtE,CAAC;QACF,OAAO,IAAI,CAAC,oBAAoB,CAC9B,kBAAkB,EAClB,oBAAoB,CACsB,CAAC;IAC/C,CAAC;IAED;;;OAGG;IACH,SAAS,CACP,OAAgD;QAEhD,MAAM,kBAAkB,GAAgC;YACtD,OAAO,EAAE,QAAQ,CAAC,oCAAoC,CAAC,OAAO,IAAI,EAAE,CAAC;SACtE,CAAC;QACF,OAAO,IAAI,CAAC,oBAAoB,CAC9B,kBAAkB,EAClB,sBAAsB,CACsB,CAAC;IACjD,CAAC;IAED;;;OAGG;IACH,YAAY,CACV,OAAmD;QAEnD,MAAM,kBAAkB,GAAgC;YACtD,OAAO,EAAE,QAAQ,CAAC,oCAAoC,CAAC,OAAO,IAAI,EAAE,CAAC;SACtE,CAAC;QACF,OAAO,IAAI,CAAC,oBAAoB,CAC9B,kBAAkB,EAClB,yBAAyB,CACsB,CAAC;IACpD,CAAC;IAED;;;OAGG;IACH,cAAc,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IT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport { GeneratedClientContext } from \"./generatedClientContext\";\nimport {\n GeneratedClientOptionalParams,\n GeneratedClientGetKeysOptionalParams,\n GeneratedClientGetKeysResponse,\n GeneratedClientCheckKeysOptionalParams,\n GeneratedClientCheckKeysResponse,\n GeneratedClientGetKeyValuesOptionalParams,\n GeneratedClientGetKeyValuesResponse,\n GeneratedClientCheckKeyValuesOptionalParams,\n GeneratedClientCheckKeyValuesResponse,\n GeneratedClientGetKeyValueOptionalParams,\n GeneratedClientGetKeyValueResponse,\n GeneratedClientPutKeyValueOptionalParams,\n GeneratedClientPutKeyValueResponse,\n GeneratedClientDeleteKeyValueOptionalParams,\n GeneratedClientDeleteKeyValueResponse,\n GeneratedClientCheckKeyValueOptionalParams,\n GeneratedClientCheckKeyValueResponse,\n GeneratedClientGetLabelsOptionalParams,\n GeneratedClientGetLabelsResponse,\n GeneratedClientCheckLabelsOptionalParams,\n GeneratedClientCheckLabelsResponse,\n GeneratedClientPutLockOptionalParams,\n GeneratedClientPutLockResponse,\n GeneratedClientDeleteLockOptionalParams,\n GeneratedClientDeleteLockResponse,\n GeneratedClientGetRevisionsOptionalParams,\n GeneratedClientGetRevisionsResponse,\n GeneratedClientCheckRevisionsOptionalParams,\n GeneratedClientCheckRevisionsResponse,\n GeneratedClientGetKeysNextOptionalParams,\n GeneratedClientGetKeysNextResponse,\n GeneratedClientGetKeyValuesNextOptionalParams,\n GeneratedClientGetKeyValuesNextResponse,\n GeneratedClientGetLabelsNextOptionalParams,\n GeneratedClientGetLabelsNextResponse,\n GeneratedClientGetRevisionsNextOptionalParams,\n GeneratedClientGetRevisionsNextResponse\n} from \"./models\";\n\n/** @hidden */\nexport class GeneratedClient extends GeneratedClientContext {\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n super(endpoint, options);\n }\n\n /**\n * Gets a list of keys.\n * @param options The options parameters.\n */\n getKeys(\n options?: GeneratedClientGetKeysOptionalParams\n ): Promise<GeneratedClientGetKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysOperationSpec\n ) as Promise<GeneratedClientGetKeysResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeys(\n options?: GeneratedClientCheckKeysOptionalParams\n ): Promise<GeneratedClientCheckKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeysOperationSpec\n ) as Promise<GeneratedClientCheckKeysResponse>;\n }\n\n /**\n * Gets a list of key-values.\n * @param options The options parameters.\n */\n getKeyValues(\n options?: GeneratedClientGetKeyValuesOptionalParams\n ): Promise<GeneratedClientGetKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeyValues(\n options?: GeneratedClientCheckKeyValuesOptionalParams\n ): Promise<GeneratedClientCheckKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValuesOperationSpec\n ) as Promise<GeneratedClientCheckKeyValuesResponse>;\n }\n\n /**\n * Gets a single key-value.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n getKeyValue(\n key: string,\n options?: GeneratedClientGetKeyValueOptionalParams\n ): Promise<GeneratedClientGetKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValueOperationSpec\n ) as Promise<GeneratedClientGetKeyValueResponse>;\n }\n\n /**\n * Creates a key-value.\n * @param key The key of the key-value to create.\n * @param options The options parameters.\n */\n putKeyValue(\n key: string,\n options?: GeneratedClientPutKeyValueOptionalParams\n ): Promise<GeneratedClientPutKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putKeyValueOperationSpec\n ) as Promise<GeneratedClientPutKeyValueResponse>;\n }\n\n /**\n * Deletes a key-value.\n * @param key The key of the key-value to delete.\n * @param options The options parameters.\n */\n deleteKeyValue(\n key: string,\n options?: GeneratedClientDeleteKeyValueOptionalParams\n ): Promise<GeneratedClientDeleteKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteKeyValueOperationSpec\n ) as Promise<GeneratedClientDeleteKeyValueResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n checkKeyValue(\n key: string,\n options?: GeneratedClientCheckKeyValueOptionalParams\n ): Promise<GeneratedClientCheckKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValueOperationSpec\n ) as Promise<GeneratedClientCheckKeyValueResponse>;\n }\n\n /**\n * Gets a list of labels.\n * @param options The options parameters.\n */\n getLabels(\n options?: GeneratedClientGetLabelsOptionalParams\n ): Promise<GeneratedClientGetLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsOperationSpec\n ) as Promise<GeneratedClientGetLabelsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkLabels(\n options?: GeneratedClientCheckLabelsOptionalParams\n ): Promise<GeneratedClientCheckLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkLabelsOperationSpec\n ) as Promise<GeneratedClientCheckLabelsResponse>;\n }\n\n /**\n * Locks a key-value.\n * @param key The key of the key-value to lock.\n * @param options The options parameters.\n */\n putLock(\n key: string,\n options?: GeneratedClientPutLockOptionalParams\n ): Promise<GeneratedClientPutLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putLockOperationSpec\n ) as Promise<GeneratedClientPutLockResponse>;\n }\n\n /**\n * Unlocks a key-value.\n * @param key The key of the key-value to unlock.\n * @param options The options parameters.\n */\n deleteLock(\n key: string,\n options?: GeneratedClientDeleteLockOptionalParams\n ): Promise<GeneratedClientDeleteLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteLockOperationSpec\n ) as Promise<GeneratedClientDeleteLockResponse>;\n }\n\n /**\n * Gets a list of key-value revisions.\n * @param options The options parameters.\n */\n getRevisions(\n options?: GeneratedClientGetRevisionsOptionalParams\n ): Promise<GeneratedClientGetRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsOperationSpec\n ) as Promise<GeneratedClientGetRevisionsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkRevisions(\n options?: GeneratedClientCheckRevisionsOptionalParams\n ): Promise<GeneratedClientCheckRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkRevisionsOperationSpec\n ) as Promise<GeneratedClientCheckRevisionsResponse>;\n }\n\n /**\n * GetKeysNext\n * @param nextLink The nextLink from the previous successful call to the GetKeys method.\n * @param options The options parameters.\n */\n getKeysNext(\n nextLink: string,\n options?: GeneratedClientGetKeysNextOptionalParams\n ): Promise<GeneratedClientGetKeysNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysNextOperationSpec\n ) as Promise<GeneratedClientGetKeysNextResponse>;\n }\n\n /**\n * GetKeyValuesNext\n * @param nextLink The nextLink from the previous successful call to the GetKeyValues method.\n * @param options The options parameters.\n */\n getKeyValuesNext(\n nextLink: string,\n options?: GeneratedClientGetKeyValuesNextOptionalParams\n ): Promise<GeneratedClientGetKeyValuesNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesNextOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesNextResponse>;\n }\n\n /**\n * GetLabelsNext\n * @param nextLink The nextLink from the previous successful call to the GetLabels method.\n * @param options The options parameters.\n */\n getLabelsNext(\n nextLink: string,\n options?: GeneratedClientGetLabelsNextOptionalParams\n ): Promise<GeneratedClientGetLabelsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsNextOperationSpec\n ) as Promise<GeneratedClientGetLabelsNextResponse>;\n }\n\n /**\n * GetRevisionsNext\n * @param nextLink The nextLink from the previous successful call to the GetRevisions method.\n * @param options The options parameters.\n */\n getRevisionsNext(\n nextLink: string,\n options?: GeneratedClientGetRevisionsNextOptionalParams\n ): Promise<GeneratedClientGetRevisionsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsNextOperationSpec\n ) as Promise<GeneratedClientGetRevisionsNextResponse>;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst getKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst checkKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeysHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValuesHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientGetKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst putKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.entity,\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n 204: {\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch\n ],\n serializer\n};\nconst checkKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValueHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst checkLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckLabelsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst putLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst deleteLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckRevisionsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeysNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst getKeyValuesNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst getLabelsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst getRevisionsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"generatedClient.js","sourceRoot":"","sources":["../../../src/generated/generatedClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAyClE,gBAAgB;AAChB,MAAM,OAAO,eAAgB,SAAQ,sBAAsB;IACzD;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAuC;QACnE,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC3B,CAAC;IAED;;;OAGG;IACH,OAAO,CAAC,OAA+B;QACrC,OAAO,IAAI,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,oBAAoB,CAAC,CAAC;IACtE,CAAC;IAED;;;OAGG;IACH,SAAS,CAAC,OAAiC;QACzC,OAAO,IAAI,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,sBAAsB,CAAC,CAAC;IACxE,CAAC;IAED;;;OAGG;IACH,YAAY,CACV,OAAoC;QAEpC,OAAO,IAAI,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,yBAAyB,CAAC,CAAC;IAC3E,CAAC;IAED;;;OAGG;IACH,cAAc,CACZ,OAAsC;QAEtC,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,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,IAAI;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,OAAO;KACnB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IACzD,gBAAgB,EAAE;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,OAAO;KACnB;IACD,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;YACtC,aAAa,EAAE,OAAO,CAAC,sCAAsC;SAC9D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,MAAM;KAClB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IACzD,gBAAgB,EAAE;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,OAAO;KACnB;IACD,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport { GeneratedClientContext } from \"./generatedClientContext\";\nimport {\n GeneratedClientOptionalParams,\n GetKeysOptionalParams,\n GetKeysResponse,\n CheckKeysOptionalParams,\n CheckKeysResponse,\n GetKeyValuesOptionalParams,\n GetKeyValuesResponse,\n CheckKeyValuesOptionalParams,\n CheckKeyValuesResponse,\n GetKeyValueOptionalParams,\n GetKeyValueResponse,\n PutKeyValueOptionalParams,\n PutKeyValueResponse,\n DeleteKeyValueOptionalParams,\n DeleteKeyValueResponse,\n CheckKeyValueOptionalParams,\n CheckKeyValueResponse,\n GetLabelsOptionalParams,\n GetLabelsResponse,\n CheckLabelsOptionalParams,\n CheckLabelsResponse,\n PutLockOptionalParams,\n PutLockResponse,\n DeleteLockOptionalParams,\n DeleteLockResponse,\n GetRevisionsOptionalParams,\n GetRevisionsResponse,\n CheckRevisionsOptionalParams,\n CheckRevisionsResponse,\n GetKeysNextOptionalParams,\n GetKeysNextResponse,\n GetKeyValuesNextOptionalParams,\n GetKeyValuesNextResponse,\n GetLabelsNextOptionalParams,\n GetLabelsNextResponse,\n GetRevisionsNextOptionalParams,\n GetRevisionsNextResponse\n} from \"./models\";\n\n/** @internal */\nexport class GeneratedClient extends GeneratedClientContext {\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n super(endpoint, options);\n }\n\n /**\n * Gets a list of keys.\n * @param options The options parameters.\n */\n getKeys(options?: GetKeysOptionalParams): Promise<GetKeysResponse> {\n return this.sendOperationRequest({ options }, getKeysOperationSpec);\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeys(options?: CheckKeysOptionalParams): Promise<CheckKeysResponse> {\n return this.sendOperationRequest({ options }, checkKeysOperationSpec);\n }\n\n /**\n * Gets a list of key-values.\n * @param options The options parameters.\n */\n getKeyValues(\n options?: GetKeyValuesOptionalParams\n ): Promise<GetKeyValuesResponse> {\n return this.sendOperationRequest({ options }, getKeyValuesOperationSpec);\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeyValues(\n options?: CheckKeyValuesOptionalParams\n ): Promise<CheckKeyValuesResponse> {\n return this.sendOperationRequest({ options }, checkKeyValuesOperationSpec);\n }\n\n /**\n * Gets a single key-value.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n getKeyValue(\n key: string,\n options?: GetKeyValueOptionalParams\n ): Promise<GetKeyValueResponse> {\n return this.sendOperationRequest(\n { key, options },\n getKeyValueOperationSpec\n );\n }\n\n /**\n * Creates a key-value.\n * @param key The key of the key-value to create.\n * @param options The options parameters.\n */\n putKeyValue(\n key: string,\n options?: PutKeyValueOptionalParams\n ): Promise<PutKeyValueResponse> {\n return this.sendOperationRequest(\n { key, options },\n putKeyValueOperationSpec\n );\n }\n\n /**\n * Deletes a key-value.\n * @param key The key of the key-value to delete.\n * @param options The options parameters.\n */\n deleteKeyValue(\n key: string,\n options?: DeleteKeyValueOptionalParams\n ): Promise<DeleteKeyValueResponse> {\n return this.sendOperationRequest(\n { key, options },\n deleteKeyValueOperationSpec\n );\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n checkKeyValue(\n key: string,\n options?: CheckKeyValueOptionalParams\n ): Promise<CheckKeyValueResponse> {\n return this.sendOperationRequest(\n { key, options },\n checkKeyValueOperationSpec\n );\n }\n\n /**\n * Gets a list of labels.\n * @param options The options parameters.\n */\n getLabels(options?: GetLabelsOptionalParams): Promise<GetLabelsResponse> {\n return this.sendOperationRequest({ options }, getLabelsOperationSpec);\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkLabels(\n options?: CheckLabelsOptionalParams\n ): Promise<CheckLabelsResponse> {\n return this.sendOperationRequest({ options }, checkLabelsOperationSpec);\n }\n\n /**\n * Locks a key-value.\n * @param key The key of the key-value to lock.\n * @param options The options parameters.\n */\n putLock(\n key: string,\n options?: PutLockOptionalParams\n ): Promise<PutLockResponse> {\n return this.sendOperationRequest({ key, options }, putLockOperationSpec);\n }\n\n /**\n * Unlocks a key-value.\n * @param key The key of the key-value to unlock.\n * @param options The options parameters.\n */\n deleteLock(\n key: string,\n options?: DeleteLockOptionalParams\n ): Promise<DeleteLockResponse> {\n return this.sendOperationRequest({ key, options }, deleteLockOperationSpec);\n }\n\n /**\n * Gets a list of key-value revisions.\n * @param options The options parameters.\n */\n getRevisions(\n options?: GetRevisionsOptionalParams\n ): Promise<GetRevisionsResponse> {\n return this.sendOperationRequest({ options }, getRevisionsOperationSpec);\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkRevisions(\n options?: CheckRevisionsOptionalParams\n ): Promise<CheckRevisionsResponse> {\n return this.sendOperationRequest({ options }, checkRevisionsOperationSpec);\n }\n\n /**\n * GetKeysNext\n * @param nextLink The nextLink from the previous successful call to the GetKeys method.\n * @param options The options parameters.\n */\n getKeysNext(\n nextLink: string,\n options?: GetKeysNextOptionalParams\n ): Promise<GetKeysNextResponse> {\n return this.sendOperationRequest(\n { nextLink, options },\n getKeysNextOperationSpec\n );\n }\n\n /**\n * GetKeyValuesNext\n * @param nextLink The nextLink from the previous successful call to the GetKeyValues method.\n * @param options The options parameters.\n */\n getKeyValuesNext(\n nextLink: string,\n options?: GetKeyValuesNextOptionalParams\n ): Promise<GetKeyValuesNextResponse> {\n return this.sendOperationRequest(\n { nextLink, options },\n getKeyValuesNextOperationSpec\n );\n }\n\n /**\n * GetLabelsNext\n * @param nextLink The nextLink from the previous successful call to the GetLabels method.\n * @param options The options parameters.\n */\n getLabelsNext(\n nextLink: string,\n options?: GetLabelsNextOptionalParams\n ): Promise<GetLabelsNextResponse> {\n return this.sendOperationRequest(\n { nextLink, options },\n getLabelsNextOperationSpec\n );\n }\n\n /**\n * GetRevisionsNext\n * @param nextLink The nextLink from the previous successful call to the GetRevisions method.\n * @param options The options parameters.\n */\n getRevisionsNext(\n nextLink: string,\n options?: GetRevisionsNextOptionalParams\n ): Promise<GetRevisionsNextResponse> {\n return this.sendOperationRequest(\n { nextLink, options },\n getRevisionsNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst checkKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeysHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValuesOperationSpec: coreClient.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkKeyValuesOperationSpec: coreClient.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValuesHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValueOperationSpec: coreClient.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientGetKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst putKeyValueOperationSpec: coreClient.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.entity,\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteKeyValueOperationSpec: coreClient.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n 204: {\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch\n ],\n serializer\n};\nconst checkKeyValueOperationSpec: coreClient.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValueHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getLabelsOperationSpec: coreClient.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst checkLabelsOperationSpec: coreClient.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckLabelsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst putLockOperationSpec: coreClient.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst deleteLockOperationSpec: coreClient.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getRevisionsOperationSpec: coreClient.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkRevisionsOperationSpec: coreClient.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckRevisionsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeysNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst getKeyValuesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst getLabelsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst getRevisionsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\n"]}
|
|
@@ -5,11 +5,9 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import * as
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/** @hidden */
|
|
12
|
-
export class GeneratedClientContext extends coreHttp.ServiceClient {
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export class GeneratedClientContext extends coreClient.ServiceClient {
|
|
13
11
|
/**
|
|
14
12
|
* Initializes a new instance of the GeneratedClientContext class.
|
|
15
13
|
* @param endpoint The endpoint of the App Configuration instance to send requests to.
|
|
@@ -23,13 +21,17 @@ export class GeneratedClientContext extends coreHttp.ServiceClient {
|
|
|
23
21
|
if (!options) {
|
|
24
22
|
options = {};
|
|
25
23
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
const defaults = {
|
|
25
|
+
requestContentType: "application/json; charset=utf-8"
|
|
26
|
+
};
|
|
27
|
+
const packageDetails = `azsdk-js-template/1.0.12-beta.1346472`;
|
|
28
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
29
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
30
|
+
: `${packageDetails}`;
|
|
31
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
32
|
+
userAgentPrefix
|
|
33
|
+
}, baseUri: options.endpoint || "{endpoint}" });
|
|
34
|
+
super(optionsWithDefaults);
|
|
33
35
|
// Parameter assignments
|
|
34
36
|
this.endpoint = endpoint;
|
|
35
37
|
// Assigning values to Constant parameters
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatedClientContext.js","sourceRoot":"","sources":["../../../src/generated/generatedClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"generatedClientContext.js","sourceRoot":"","sources":["../../../src/generated/generatedClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,gBAAgB;AAChB,MAAM,OAAO,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAKlE;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAuC;QACnE,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;SAC9C;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAkC;YAC9C,kBAAkB,EAAE,iCAAiC;SACtD,CAAC;QAEF,MAAM,cAAc,GAAG,uCAAuC,CAAC;QAC/D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,YAAY,GAC1C,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC3B,wBAAwB;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,KAAK,CAAC;IAChD,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { GeneratedClientOptionalParams } from \"./models\";\n\n/** @internal */\nexport class GeneratedClientContext extends coreClient.ServiceClient {\n endpoint: string;\n syncToken?: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-template/1.0.12-beta.1346472`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"{endpoint}\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"1.0\";\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\n\n/** The result of a list request. */\nexport interface KeyListResult {\n /** The collection value. */\n items?: Key[];\n /** The URI that can be used to request the next set of paged results. */\n nextLink?: string;\n}\n\nexport interface Key {\n /**\n * The name of the key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n}\n\n/** Azure App Configuration error object. */\nexport interface ErrorModel {\n /** The type of the error. */\n type?: string;\n /** A brief summary of the error. */\n title?: string;\n /** The name of the parameter that resulted in the error. */\n name?: string;\n /** A detailed description of the error. */\n detail?: string;\n /** The HTTP status code that the error maps to. */\n status?: number;\n}\n\n/** The result of a list request. */\nexport interface KeyValueListResult {\n /** The collection value. */\n items?: ConfigurationSetting[];\n /** The URI that can be used to request the next set of paged results. */\n nextLink?: string;\n}\n\nexport interface ConfigurationSetting {\n /** The unique name of the key-value. */\n key: string;\n /** The label of the key-value. */\n label?: string;\n /** The content type of the key-value. */\n contentType?: string;\n /** The value of the key-value. */\n value?: string;\n /** The time the key-value was last modified. */\n lastModified?: Date;\n /** Dictionary of <string> */\n tags?: { [propertyName: string]: string };\n /** Indicates whether or not this key-value is readonly. */\n isReadOnly?: boolean;\n /** The entity-tag of the key-value. */\n etag?: string;\n}\n\n/** The result of a list request. */\nexport interface LabelListResult {\n /** The collection value. */\n items?: Label[];\n /** The URI that can be used to request the next set of paged results. */\n nextLink?: string;\n}\n\nexport interface Label {\n /**\n * The name of the label.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeys operation. */\nexport interface GeneratedClientGetKeysHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkKeys operation. */\nexport interface GeneratedClientCheckKeysHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeyValues operation. */\nexport interface GeneratedClientGetKeyValuesHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkKeyValues operation. */\nexport interface GeneratedClientCheckKeyValuesHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeyValue operation. */\nexport interface GeneratedClientGetKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n /** A UTC datetime that specifies the last time the resource was modified. */\n lastModified?: string;\n}\n\n/** Defines headers for GeneratedClient_putKeyValue operation. */\nexport interface GeneratedClientPutKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_deleteKeyValue operation. */\nexport interface GeneratedClientDeleteKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_checkKeyValue operation. */\nexport interface GeneratedClientCheckKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n /** A UTC datetime that specifies the last time the resource was modified. */\n lastModified?: string;\n}\n\n/** Defines headers for GeneratedClient_getLabels operation. */\nexport interface GeneratedClientGetLabelsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkLabels operation. */\nexport interface GeneratedClientCheckLabelsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_putLock operation. */\nexport interface GeneratedClientPutLockHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_deleteLock operation. */\nexport interface GeneratedClientDeleteLockHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_getRevisions operation. */\nexport interface GeneratedClientGetRevisionsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkRevisions operation. */\nexport interface GeneratedClientCheckRevisionsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeysNext operation. */\nexport interface GeneratedClientGetKeysNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeyValuesNext operation. */\nexport interface GeneratedClientGetKeyValuesNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getLabelsNext operation. */\nexport interface GeneratedClientGetLabelsNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getRevisionsNext operation. */\nexport interface GeneratedClientGetRevisionsNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines values for SettingFields. */\nexport type SettingFields =\n | \"key\"\n | \"label\"\n | \"content_type\"\n | \"value\"\n | \"last_modified\"\n | \"tags\"\n | \"locked\"\n | \"etag\";\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeysOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned keys. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n}\n\n/** Contains response data for the getKeys operation. */\nexport type GeneratedClientGetKeysResponse = GeneratedClientGetKeysHeaders &\n KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeysHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckKeysOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned keys. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n}\n\n/** Contains response data for the checkKeys operation. */\nexport type GeneratedClientCheckKeysResponse = GeneratedClientCheckKeysHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckKeysHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeyValuesOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getKeyValues operation. */\nexport type GeneratedClientGetKeyValuesResponse = GeneratedClientGetKeyValuesHeaders &\n KeyValueListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyValueListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeyValuesHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckKeyValuesOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the checkKeyValues operation. */\nexport type GeneratedClientCheckKeyValuesResponse = GeneratedClientCheckKeyValuesHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckKeyValuesHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeyValueOptionalParams\n extends coreHttp.OperationOptions {\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** The label of the key-value to retrieve. */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the getKeyValue operation. */\nexport type GeneratedClientGetKeyValueResponse = GeneratedClientGetKeyValueHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeyValueHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientPutKeyValueOptionalParams\n extends coreHttp.OperationOptions {\n /** The label of the key-value to create. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n /** The key-value to create. */\n entity?: ConfigurationSetting;\n}\n\n/** Contains response data for the putKeyValue operation. */\nexport type GeneratedClientPutKeyValueResponse = GeneratedClientPutKeyValueHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientPutKeyValueHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientDeleteKeyValueOptionalParams\n extends coreHttp.OperationOptions {\n /** The label of the key-value to delete. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n}\n\n/** Contains response data for the deleteKeyValue operation. */\nexport type GeneratedClientDeleteKeyValueResponse = GeneratedClientDeleteKeyValueHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientDeleteKeyValueHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckKeyValueOptionalParams\n extends coreHttp.OperationOptions {\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** The label of the key-value to retrieve. */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the checkKeyValue operation. */\nexport type GeneratedClientCheckKeyValueResponse = GeneratedClientCheckKeyValueHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckKeyValueHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientGetLabelsOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned labels. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: string[];\n}\n\n/** Contains response data for the getLabels operation. */\nexport type GeneratedClientGetLabelsResponse = GeneratedClientGetLabelsHeaders &\n LabelListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: LabelListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetLabelsHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckLabelsOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned labels. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: string[];\n}\n\n/** Contains response data for the checkLabels operation. */\nexport type GeneratedClientCheckLabelsResponse = GeneratedClientCheckLabelsHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckLabelsHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientPutLockOptionalParams\n extends coreHttp.OperationOptions {\n /** The label, if any, of the key-value to lock. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the putLock operation. */\nexport type GeneratedClientPutLockResponse = GeneratedClientPutLockHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientPutLockHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientDeleteLockOptionalParams\n extends coreHttp.OperationOptions {\n /** The label, if any, of the key-value to unlock. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the deleteLock operation. */\nexport type GeneratedClientDeleteLockResponse = GeneratedClientDeleteLockHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientDeleteLockHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientGetRevisionsOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getRevisions operation. */\nexport type GeneratedClientGetRevisionsResponse = GeneratedClientGetRevisionsHeaders &\n KeyValueListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyValueListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetRevisionsHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckRevisionsOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the checkRevisions operation. */\nexport type GeneratedClientCheckRevisionsResponse = GeneratedClientCheckRevisionsHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckRevisionsHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeysNextOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned keys. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n}\n\n/** Contains response data for the getKeysNext operation. */\nexport type GeneratedClientGetKeysNextResponse = GeneratedClientGetKeysNextHeaders &\n KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeysNextHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeyValuesNextOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getKeyValuesNext operation. */\nexport type GeneratedClientGetKeyValuesNextResponse = GeneratedClientGetKeyValuesNextHeaders &\n KeyValueListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyValueListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeyValuesNextHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientGetLabelsNextOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned labels. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: string[];\n}\n\n/** Contains response data for the getLabelsNext operation. */\nexport type GeneratedClientGetLabelsNextResponse = GeneratedClientGetLabelsNextHeaders &\n LabelListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: LabelListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetLabelsNextHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientGetRevisionsNextOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getRevisionsNext operation. */\nexport type GeneratedClientGetRevisionsNextResponse = GeneratedClientGetRevisionsNextHeaders &\n KeyValueListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyValueListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetRevisionsNextHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreHttp.ServiceClientOptions {\n /** Used to guarantee real-time consistency between requests. */\n syncToken?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** The result of a list request. */\nexport interface KeyListResult {\n /** The collection value. */\n items?: Key[];\n /** The URI that can be used to request the next set of paged results. */\n nextLink?: string;\n}\n\nexport interface Key {\n /**\n * The name of the key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n}\n\n/** Azure App Configuration error object. */\nexport interface ErrorModel {\n /** The type of the error. */\n type?: string;\n /** A brief summary of the error. */\n title?: string;\n /** The name of the parameter that resulted in the error. */\n name?: string;\n /** A detailed description of the error. */\n detail?: string;\n /** The HTTP status code that the error maps to. */\n status?: number;\n}\n\n/** The result of a list request. */\nexport interface KeyValueListResult {\n /** The collection value. */\n items?: ConfigurationSetting[];\n /** The URI that can be used to request the next set of paged results. */\n nextLink?: string;\n}\n\nexport interface ConfigurationSetting {\n /** The unique name of the key-value. */\n key: string;\n /** The label of the key-value. */\n label?: string;\n /** The content type of the key-value. */\n contentType?: string;\n /** The value of the key-value. */\n value?: string;\n /** The time the key-value was last modified. */\n lastModified?: Date;\n /** Dictionary of <string> */\n tags?: { [propertyName: string]: string };\n /** Indicates whether or not this key-value is readonly. */\n isReadOnly?: boolean;\n /** The entity-tag of the key-value. */\n etag?: string;\n}\n\n/** The result of a list request. */\nexport interface LabelListResult {\n /** The collection value. */\n items?: Label[];\n /** The URI that can be used to request the next set of paged results. */\n nextLink?: string;\n}\n\nexport interface Label {\n /**\n * The name of the label.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeys operation. */\nexport interface GeneratedClientGetKeysHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkKeys operation. */\nexport interface GeneratedClientCheckKeysHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeyValues operation. */\nexport interface GeneratedClientGetKeyValuesHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkKeyValues operation. */\nexport interface GeneratedClientCheckKeyValuesHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeyValue operation. */\nexport interface GeneratedClientGetKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n /** A UTC datetime that specifies the last time the resource was modified. */\n lastModified?: string;\n}\n\n/** Defines headers for GeneratedClient_putKeyValue operation. */\nexport interface GeneratedClientPutKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_deleteKeyValue operation. */\nexport interface GeneratedClientDeleteKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_checkKeyValue operation. */\nexport interface GeneratedClientCheckKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n /** A UTC datetime that specifies the last time the resource was modified. */\n lastModified?: string;\n}\n\n/** Defines headers for GeneratedClient_getLabels operation. */\nexport interface GeneratedClientGetLabelsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkLabels operation. */\nexport interface GeneratedClientCheckLabelsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_putLock operation. */\nexport interface GeneratedClientPutLockHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_deleteLock operation. */\nexport interface GeneratedClientDeleteLockHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_getRevisions operation. */\nexport interface GeneratedClientGetRevisionsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkRevisions operation. */\nexport interface GeneratedClientCheckRevisionsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeysNext operation. */\nexport interface GeneratedClientGetKeysNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeyValuesNext operation. */\nexport interface GeneratedClientGetKeyValuesNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getLabelsNext operation. */\nexport interface GeneratedClientGetLabelsNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getRevisionsNext operation. */\nexport interface GeneratedClientGetRevisionsNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines values for SettingFields. */\nexport type SettingFields =\n | \"key\"\n | \"label\"\n | \"content_type\"\n | \"value\"\n | \"last_modified\"\n | \"tags\"\n | \"locked\"\n | \"etag\";\n\n/** Optional parameters. */\nexport interface GetKeysOptionalParams extends coreClient.OperationOptions {\n /** A filter for the name of the returned keys. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n}\n\n/** Contains response data for the getKeys operation. */\nexport type GetKeysResponse = GeneratedClientGetKeysHeaders & KeyListResult;\n\n/** Optional parameters. */\nexport interface CheckKeysOptionalParams extends coreClient.OperationOptions {\n /** A filter for the name of the returned keys. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n}\n\n/** Contains response data for the checkKeys operation. */\nexport type CheckKeysResponse = GeneratedClientCheckKeysHeaders;\n\n/** Optional parameters. */\nexport interface GetKeyValuesOptionalParams\n extends coreClient.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getKeyValues operation. */\nexport type GetKeyValuesResponse = GeneratedClientGetKeyValuesHeaders &\n KeyValueListResult;\n\n/** Optional parameters. */\nexport interface CheckKeyValuesOptionalParams\n extends coreClient.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the checkKeyValues operation. */\nexport type CheckKeyValuesResponse = GeneratedClientCheckKeyValuesHeaders;\n\n/** Optional parameters. */\nexport interface GetKeyValueOptionalParams extends coreClient.OperationOptions {\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** The label of the key-value to retrieve. */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the getKeyValue operation. */\nexport type GetKeyValueResponse = GeneratedClientGetKeyValueHeaders &\n ConfigurationSetting;\n\n/** Optional parameters. */\nexport interface PutKeyValueOptionalParams extends coreClient.OperationOptions {\n /** The label of the key-value to create. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n /** The key-value to create. */\n entity?: ConfigurationSetting;\n}\n\n/** Contains response data for the putKeyValue operation. */\nexport type PutKeyValueResponse = GeneratedClientPutKeyValueHeaders &\n ConfigurationSetting;\n\n/** Optional parameters. */\nexport interface DeleteKeyValueOptionalParams\n extends coreClient.OperationOptions {\n /** The label of the key-value to delete. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n}\n\n/** Contains response data for the deleteKeyValue operation. */\nexport type DeleteKeyValueResponse = GeneratedClientDeleteKeyValueHeaders &\n ConfigurationSetting;\n\n/** Optional parameters. */\nexport interface CheckKeyValueOptionalParams\n extends coreClient.OperationOptions {\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** The label of the key-value to retrieve. */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the checkKeyValue operation. */\nexport type CheckKeyValueResponse = GeneratedClientCheckKeyValueHeaders;\n\n/** Optional parameters. */\nexport interface GetLabelsOptionalParams extends coreClient.OperationOptions {\n /** A filter for the name of the returned labels. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: string[];\n}\n\n/** Contains response data for the getLabels operation. */\nexport type GetLabelsResponse = GeneratedClientGetLabelsHeaders &\n LabelListResult;\n\n/** Optional parameters. */\nexport interface CheckLabelsOptionalParams extends coreClient.OperationOptions {\n /** A filter for the name of the returned labels. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: string[];\n}\n\n/** Contains response data for the checkLabels operation. */\nexport type CheckLabelsResponse = GeneratedClientCheckLabelsHeaders;\n\n/** Optional parameters. */\nexport interface PutLockOptionalParams extends coreClient.OperationOptions {\n /** The label, if any, of the key-value to lock. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the putLock operation. */\nexport type PutLockResponse = GeneratedClientPutLockHeaders &\n ConfigurationSetting;\n\n/** Optional parameters. */\nexport interface DeleteLockOptionalParams extends coreClient.OperationOptions {\n /** The label, if any, of the key-value to unlock. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the deleteLock operation. */\nexport type DeleteLockResponse = GeneratedClientDeleteLockHeaders &\n ConfigurationSetting;\n\n/** Optional parameters. */\nexport interface GetRevisionsOptionalParams\n extends coreClient.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getRevisions operation. */\nexport type GetRevisionsResponse = GeneratedClientGetRevisionsHeaders &\n KeyValueListResult;\n\n/** Optional parameters. */\nexport interface CheckRevisionsOptionalParams\n extends coreClient.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the checkRevisions operation. */\nexport type CheckRevisionsResponse = GeneratedClientCheckRevisionsHeaders;\n\n/** Optional parameters. */\nexport interface GetKeysNextOptionalParams extends coreClient.OperationOptions {\n /** A filter for the name of the returned keys. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n}\n\n/** Contains response data for the getKeysNext operation. */\nexport type GetKeysNextResponse = GeneratedClientGetKeysNextHeaders &\n KeyListResult;\n\n/** Optional parameters. */\nexport interface GetKeyValuesNextOptionalParams\n extends coreClient.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getKeyValuesNext operation. */\nexport type GetKeyValuesNextResponse = GeneratedClientGetKeyValuesNextHeaders &\n KeyValueListResult;\n\n/** Optional parameters. */\nexport interface GetLabelsNextOptionalParams\n extends coreClient.OperationOptions {\n /** A filter for the name of the returned labels. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: string[];\n}\n\n/** Contains response data for the getLabelsNext operation. */\nexport type GetLabelsNextResponse = GeneratedClientGetLabelsNextHeaders &\n LabelListResult;\n\n/** Optional parameters. */\nexport interface GetRevisionsNextOptionalParams\n extends coreClient.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getRevisionsNext operation. */\nexport type GetRevisionsNextResponse = GeneratedClientGetRevisionsNextHeaders &\n KeyValueListResult;\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Used to guarantee real-time consistency between requests. */\n syncToken?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|