@azure/arm-appconfiguration 1.2.0 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +72 -75
- package/dist/index.js +3105 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/appConfigurationManagementClient.d.ts +22 -0
- package/dist-esm/src/appConfigurationManagementClient.d.ts.map +1 -0
- package/dist-esm/src/appConfigurationManagementClient.js +55 -0
- package/dist-esm/src/appConfigurationManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +826 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +59 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +38 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +588 -313
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +20 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +162 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/configurationStores.d.ts +139 -0
- package/dist-esm/src/operations/configurationStores.d.ts.map +1 -0
- package/dist-esm/src/operations/configurationStores.js +655 -0
- package/dist-esm/src/operations/configurationStores.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/keyValues.d.ts +76 -0
- package/dist-esm/src/operations/keyValues.d.ts.map +1 -0
- package/dist-esm/src/operations/keyValues.js +284 -0
- package/dist-esm/src/operations/keyValues.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +39 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +147 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +84 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +350 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +47 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +170 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationStores.d.ts +86 -0
- package/dist-esm/src/operationsInterfaces/configurationStores.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationStores.js +9 -0
- package/dist-esm/src/operationsInterfaces/configurationStores.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/keyValues.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/keyValues.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/keyValues.js +9 -0
- package/dist-esm/src/operationsInterfaces/keyValues.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -31
- package/review/arm-appconfiguration.api.md +665 -0
- package/rollup.config.js +181 -30
- package/src/appConfigurationManagementClient.ts +82 -35
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +680 -893
- package/src/models/mappers.ts +657 -367
- package/src/models/parameters.ts +126 -44
- package/src/operations/configurationStores.ts +657 -495
- package/src/operations/index.ts +4 -5
- package/src/operations/keyValues.ts +396 -0
- package/src/operations/operations.ts +113 -123
- package/src/operations/privateEndpointConnections.ts +350 -186
- package/src/operations/privateLinkResources.ts +162 -126
- package/src/operationsInterfaces/configurationStores.ts +168 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/keyValues.ts +91 -0
- package/src/operationsInterfaces/operations.ts +38 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +111 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/tsconfig.json +3 -3
- package/types/arm-appconfiguration.d.ts +1171 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-appconfiguration.js +0 -2213
- package/dist/arm-appconfiguration.js.map +0 -1
- package/dist/arm-appconfiguration.min.js +0 -1
- package/dist/arm-appconfiguration.min.js.map +0 -1
- package/esm/appConfigurationManagementClient.d.ts +0 -21
- package/esm/appConfigurationManagementClient.d.ts.map +0 -1
- package/esm/appConfigurationManagementClient.js +0 -36
- package/esm/appConfigurationManagementClient.js.map +0 -1
- package/esm/appConfigurationManagementClientContext.d.ts +0 -16
- package/esm/appConfigurationManagementClientContext.d.ts.map +0 -1
- package/esm/appConfigurationManagementClientContext.js +0 -56
- package/esm/appConfigurationManagementClientContext.js.map +0 -1
- package/esm/models/configurationStoresMappers.d.ts +0 -2
- package/esm/models/configurationStoresMappers.d.ts.map +0 -1
- package/esm/models/configurationStoresMappers.js +0 -9
- package/esm/models/configurationStoresMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1073
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -31
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -108
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/operations/configurationStores.d.ts +0 -243
- package/esm/operations/configurationStores.d.ts.map +0 -1
- package/esm/operations/configurationStores.js +0 -466
- package/esm/operations/configurationStores.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -67
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -111
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -117
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -236
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -76
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -117
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/src/appConfigurationManagementClientContext.ts +0 -62
- package/src/models/configurationStoresMappers.ts +0 -30
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/privateEndpointConnectionsMappers.ts +0 -24
- package/src/models/privateLinkResourcesMappers.ts +0 -13
package/src/models/parameters.ts
CHANGED
|
@@ -1,110 +1,192 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
9
|
+
import {
|
|
10
|
+
OperationParameter,
|
|
11
|
+
OperationURLParameter,
|
|
12
|
+
OperationQueryParameter
|
|
13
|
+
} from "@azure/core-client";
|
|
14
|
+
import {
|
|
15
|
+
ConfigurationStore as ConfigurationStoreMapper,
|
|
16
|
+
ConfigurationStoreUpdateParameters as ConfigurationStoreUpdateParametersMapper,
|
|
17
|
+
RegenerateKeyParameters as RegenerateKeyParametersMapper,
|
|
18
|
+
CheckNameAvailabilityParameters as CheckNameAvailabilityParametersMapper,
|
|
19
|
+
PrivateEndpointConnection as PrivateEndpointConnectionMapper,
|
|
20
|
+
KeyValue as KeyValueMapper
|
|
21
|
+
} from "../models/mappers";
|
|
12
22
|
|
|
13
|
-
export const
|
|
14
|
-
parameterPath: "
|
|
23
|
+
export const accept: OperationParameter = {
|
|
24
|
+
parameterPath: "accept",
|
|
15
25
|
mapper: {
|
|
16
|
-
|
|
17
|
-
|
|
26
|
+
defaultValue: "application/json",
|
|
27
|
+
isConstant: true,
|
|
28
|
+
serializedName: "Accept",
|
|
18
29
|
type: {
|
|
19
30
|
name: "String"
|
|
20
31
|
}
|
|
21
32
|
}
|
|
22
33
|
};
|
|
23
|
-
|
|
24
|
-
|
|
34
|
+
|
|
35
|
+
export const $host: OperationURLParameter = {
|
|
36
|
+
parameterPath: "$host",
|
|
25
37
|
mapper: {
|
|
38
|
+
serializedName: "$host",
|
|
26
39
|
required: true,
|
|
40
|
+
type: {
|
|
41
|
+
name: "String"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
skipEncoding: true
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export const subscriptionId: OperationURLParameter = {
|
|
48
|
+
parameterPath: "subscriptionId",
|
|
49
|
+
mapper: {
|
|
50
|
+
serializedName: "subscriptionId",
|
|
51
|
+
required: true,
|
|
52
|
+
type: {
|
|
53
|
+
name: "String"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const apiVersion: OperationQueryParameter = {
|
|
59
|
+
parameterPath: "apiVersion",
|
|
60
|
+
mapper: {
|
|
61
|
+
defaultValue: "2021-03-01-preview",
|
|
62
|
+
isConstant: true,
|
|
27
63
|
serializedName: "api-version",
|
|
28
64
|
type: {
|
|
29
65
|
name: "String"
|
|
30
66
|
}
|
|
31
67
|
}
|
|
32
68
|
};
|
|
33
|
-
|
|
34
|
-
|
|
69
|
+
|
|
70
|
+
export const skipToken: OperationQueryParameter = {
|
|
71
|
+
parameterPath: ["options", "skipToken"],
|
|
72
|
+
mapper: {
|
|
73
|
+
serializedName: "$skipToken",
|
|
74
|
+
type: {
|
|
75
|
+
name: "String"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export const resourceGroupName: OperationURLParameter = {
|
|
81
|
+
parameterPath: "resourceGroupName",
|
|
35
82
|
mapper: {
|
|
83
|
+
serializedName: "resourceGroupName",
|
|
36
84
|
required: true,
|
|
37
|
-
|
|
85
|
+
type: {
|
|
86
|
+
name: "String"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export const configStoreName: OperationURLParameter = {
|
|
92
|
+
parameterPath: "configStoreName",
|
|
93
|
+
mapper: {
|
|
38
94
|
constraints: {
|
|
95
|
+
Pattern: new RegExp("^[a-zA-Z0-9_-]*$"),
|
|
39
96
|
MaxLength: 50,
|
|
40
|
-
MinLength: 5
|
|
41
|
-
Pattern: /^[a-zA-Z0-9_-]*$/
|
|
97
|
+
MinLength: 5
|
|
42
98
|
},
|
|
99
|
+
serializedName: "configStoreName",
|
|
100
|
+
required: true,
|
|
43
101
|
type: {
|
|
44
102
|
name: "String"
|
|
45
103
|
}
|
|
46
104
|
}
|
|
47
105
|
};
|
|
48
|
-
|
|
49
|
-
|
|
106
|
+
|
|
107
|
+
export const contentType: OperationParameter = {
|
|
108
|
+
parameterPath: ["options", "contentType"],
|
|
50
109
|
mapper: {
|
|
51
|
-
|
|
52
|
-
|
|
110
|
+
defaultValue: "application/json",
|
|
111
|
+
isConstant: true,
|
|
112
|
+
serializedName: "Content-Type",
|
|
53
113
|
type: {
|
|
54
114
|
name: "String"
|
|
55
115
|
}
|
|
56
116
|
}
|
|
57
117
|
};
|
|
58
|
-
|
|
59
|
-
|
|
118
|
+
|
|
119
|
+
export const configStoreCreationParameters: OperationParameter = {
|
|
120
|
+
parameterPath: "configStoreCreationParameters",
|
|
121
|
+
mapper: ConfigurationStoreMapper
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export const configStoreUpdateParameters: OperationParameter = {
|
|
125
|
+
parameterPath: "configStoreUpdateParameters",
|
|
126
|
+
mapper: ConfigurationStoreUpdateParametersMapper
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
export const regenerateKeyParameters: OperationParameter = {
|
|
130
|
+
parameterPath: "regenerateKeyParameters",
|
|
131
|
+
mapper: RegenerateKeyParametersMapper
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export const nextLink: OperationURLParameter = {
|
|
135
|
+
parameterPath: "nextLink",
|
|
60
136
|
mapper: {
|
|
61
|
-
required: true,
|
|
62
137
|
serializedName: "nextLink",
|
|
138
|
+
required: true,
|
|
63
139
|
type: {
|
|
64
140
|
name: "String"
|
|
65
141
|
}
|
|
66
142
|
},
|
|
67
143
|
skipEncoding: true
|
|
68
144
|
};
|
|
69
|
-
|
|
145
|
+
|
|
146
|
+
export const checkNameAvailabilityParameters: OperationParameter = {
|
|
147
|
+
parameterPath: "checkNameAvailabilityParameters",
|
|
148
|
+
mapper: CheckNameAvailabilityParametersMapper
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export const privateEndpointConnectionName: OperationURLParameter = {
|
|
70
152
|
parameterPath: "privateEndpointConnectionName",
|
|
71
153
|
mapper: {
|
|
72
|
-
required: true,
|
|
73
154
|
serializedName: "privateEndpointConnectionName",
|
|
74
|
-
type: {
|
|
75
|
-
name: "String"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
export const resourceGroupName: msRest.OperationURLParameter = {
|
|
80
|
-
parameterPath: "resourceGroupName",
|
|
81
|
-
mapper: {
|
|
82
155
|
required: true,
|
|
83
|
-
serializedName: "resourceGroupName",
|
|
84
156
|
type: {
|
|
85
157
|
name: "String"
|
|
86
158
|
}
|
|
87
159
|
}
|
|
88
160
|
};
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
161
|
+
|
|
162
|
+
export const privateEndpointConnection: OperationParameter = {
|
|
163
|
+
parameterPath: "privateEndpointConnection",
|
|
164
|
+
mapper: PrivateEndpointConnectionMapper
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
export const groupName: OperationURLParameter = {
|
|
168
|
+
parameterPath: "groupName",
|
|
94
169
|
mapper: {
|
|
95
|
-
serializedName: "
|
|
170
|
+
serializedName: "groupName",
|
|
171
|
+
required: true,
|
|
96
172
|
type: {
|
|
97
173
|
name: "String"
|
|
98
174
|
}
|
|
99
175
|
}
|
|
100
176
|
};
|
|
101
|
-
|
|
102
|
-
|
|
177
|
+
|
|
178
|
+
export const keyValueName: OperationURLParameter = {
|
|
179
|
+
parameterPath: "keyValueName",
|
|
103
180
|
mapper: {
|
|
181
|
+
serializedName: "keyValueName",
|
|
104
182
|
required: true,
|
|
105
|
-
serializedName: "subscriptionId",
|
|
106
183
|
type: {
|
|
107
184
|
name: "String"
|
|
108
185
|
}
|
|
109
186
|
}
|
|
110
187
|
};
|
|
188
|
+
|
|
189
|
+
export const keyValueParameters: OperationParameter = {
|
|
190
|
+
parameterPath: ["options", "keyValueParameters"],
|
|
191
|
+
mapper: KeyValueMapper
|
|
192
|
+
};
|