@azure/arm-features 3.1.1-alpha.20250124.1 → 3.1.1-alpha.20250128.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.
Files changed (281) hide show
  1. package/{dist-esm/src → dist/browser}/featureClient.d.ts +2 -2
  2. package/dist/browser/featureClient.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/featureClient.js +19 -21
  4. package/dist/browser/featureClient.js.map +1 -0
  5. package/dist/browser/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  7. package/{dist-esm/src → dist/browser}/index.js +4 -4
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/models/index.js.map +1 -0
  10. package/dist/browser/models/mappers.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  12. package/dist/browser/models/parameters.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/features.d.ts +3 -3
  14. package/dist/browser/operations/features.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/features.js +3 -3
  16. package/dist/browser/operations/features.js.map +1 -0
  17. package/dist/browser/operations/index.d.ts +3 -0
  18. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  19. package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
  20. package/dist/browser/operations/index.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/subscriptionFeatureRegistrations.d.ts +3 -3
  22. package/dist/browser/operations/subscriptionFeatureRegistrations.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/subscriptionFeatureRegistrations.js +3 -3
  24. package/dist/browser/operations/subscriptionFeatureRegistrations.js.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operationsInterfaces/features.d.ts +1 -1
  26. package/dist/browser/operationsInterfaces/features.d.ts.map +1 -0
  27. package/dist/browser/operationsInterfaces/features.js.map +1 -0
  28. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  29. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  30. package/dist/browser/operationsInterfaces/index.js +10 -0
  31. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operationsInterfaces/subscriptionFeatureRegistrations.d.ts +1 -1
  33. package/dist/browser/operationsInterfaces/subscriptionFeatureRegistrations.d.ts.map +1 -0
  34. package/dist/browser/operationsInterfaces/subscriptionFeatureRegistrations.js.map +1 -0
  35. package/dist/browser/package.json +3 -0
  36. package/dist/browser/pagingHelper.js.map +1 -0
  37. package/dist/commonjs/featureClient.d.ts +40 -0
  38. package/dist/commonjs/featureClient.d.ts.map +1 -0
  39. package/dist/commonjs/featureClient.js +217 -0
  40. package/dist/commonjs/featureClient.js.map +1 -0
  41. package/dist/commonjs/index.d.ts +5 -0
  42. package/dist/commonjs/index.d.ts.map +1 -0
  43. package/dist/commonjs/index.js +19 -0
  44. package/dist/commonjs/index.js.map +1 -0
  45. package/dist/commonjs/models/index.d.ts +323 -0
  46. package/dist/commonjs/models/index.d.ts.map +1 -0
  47. package/dist/commonjs/models/index.js +39 -0
  48. package/dist/commonjs/models/index.js.map +1 -0
  49. package/dist/commonjs/models/mappers.d.ts +15 -0
  50. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  51. package/dist/commonjs/models/mappers.js +427 -0
  52. package/dist/commonjs/models/mappers.js.map +1 -0
  53. package/dist/commonjs/models/parameters.d.ts +13 -0
  54. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  55. package/dist/commonjs/models/parameters.js +122 -0
  56. package/dist/commonjs/models/parameters.js.map +1 -0
  57. package/dist/commonjs/operations/features.d.ts +76 -0
  58. package/dist/commonjs/operations/features.d.ts.map +1 -0
  59. package/dist/commonjs/operations/features.js +354 -0
  60. package/dist/commonjs/operations/features.js.map +1 -0
  61. package/dist/commonjs/operations/index.d.ts +3 -0
  62. package/dist/commonjs/operations/index.d.ts.map +1 -0
  63. package/dist/commonjs/operations/index.js +13 -0
  64. package/dist/commonjs/operations/index.js.map +1 -0
  65. package/dist/commonjs/operations/subscriptionFeatureRegistrations.d.ts +74 -0
  66. package/dist/commonjs/operations/subscriptionFeatureRegistrations.d.ts.map +1 -0
  67. package/dist/commonjs/operations/subscriptionFeatureRegistrations.js +353 -0
  68. package/dist/commonjs/operations/subscriptionFeatureRegistrations.js.map +1 -0
  69. package/dist/commonjs/operationsInterfaces/features.d.ts +39 -0
  70. package/dist/commonjs/operationsInterfaces/features.d.ts.map +1 -0
  71. package/{dist-esm/src/operationsInterfaces/index.js → dist/commonjs/operationsInterfaces/features.js} +3 -3
  72. package/dist/commonjs/operationsInterfaces/features.js.map +1 -0
  73. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  74. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  75. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  76. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  77. package/dist/commonjs/operationsInterfaces/subscriptionFeatureRegistrations.d.ts +38 -0
  78. package/dist/commonjs/operationsInterfaces/subscriptionFeatureRegistrations.d.ts.map +1 -0
  79. package/dist/commonjs/operationsInterfaces/subscriptionFeatureRegistrations.js +10 -0
  80. package/dist/commonjs/operationsInterfaces/subscriptionFeatureRegistrations.js.map +1 -0
  81. package/dist/commonjs/package.json +3 -0
  82. package/dist/commonjs/pagingHelper.d.ts +13 -0
  83. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  84. package/dist/commonjs/pagingHelper.js +36 -0
  85. package/dist/commonjs/pagingHelper.js.map +1 -0
  86. package/dist/esm/featureClient.d.ts +40 -0
  87. package/dist/esm/featureClient.d.ts.map +1 -0
  88. package/dist/esm/featureClient.js +213 -0
  89. package/dist/esm/featureClient.js.map +1 -0
  90. package/dist/esm/index.d.ts +5 -0
  91. package/dist/esm/index.d.ts.map +1 -0
  92. package/{src/index.ts → dist/esm/index.js} +5 -5
  93. package/dist/esm/index.js.map +1 -0
  94. package/dist/esm/models/index.d.ts +323 -0
  95. package/dist/esm/models/index.d.ts.map +1 -0
  96. package/dist/esm/models/index.js +36 -0
  97. package/dist/esm/models/index.js.map +1 -0
  98. package/dist/esm/models/mappers.d.ts +15 -0
  99. package/dist/esm/models/mappers.d.ts.map +1 -0
  100. package/dist/esm/models/mappers.js +424 -0
  101. package/dist/esm/models/mappers.js.map +1 -0
  102. package/dist/esm/models/parameters.d.ts +13 -0
  103. package/dist/esm/models/parameters.d.ts.map +1 -0
  104. package/dist/esm/models/parameters.js +119 -0
  105. package/dist/esm/models/parameters.js.map +1 -0
  106. package/dist/esm/operations/features.d.ts +76 -0
  107. package/dist/esm/operations/features.d.ts.map +1 -0
  108. package/dist/esm/operations/features.js +350 -0
  109. package/dist/esm/operations/features.js.map +1 -0
  110. package/dist/esm/operations/index.d.ts +3 -0
  111. package/dist/esm/operations/index.d.ts.map +1 -0
  112. package/dist/esm/operations/index.js +10 -0
  113. package/dist/esm/operations/index.js.map +1 -0
  114. package/dist/esm/operations/subscriptionFeatureRegistrations.d.ts +74 -0
  115. package/dist/esm/operations/subscriptionFeatureRegistrations.d.ts.map +1 -0
  116. package/dist/esm/operations/subscriptionFeatureRegistrations.js +349 -0
  117. package/dist/esm/operations/subscriptionFeatureRegistrations.js.map +1 -0
  118. package/dist/esm/operationsInterfaces/features.d.ts +39 -0
  119. package/dist/esm/operationsInterfaces/features.d.ts.map +1 -0
  120. package/{src/operations/index.ts → dist/esm/operationsInterfaces/features.js} +2 -3
  121. package/dist/esm/operationsInterfaces/features.js.map +1 -0
  122. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  123. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  124. package/dist/esm/operationsInterfaces/index.js +10 -0
  125. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  126. package/dist/esm/operationsInterfaces/subscriptionFeatureRegistrations.d.ts +38 -0
  127. package/dist/esm/operationsInterfaces/subscriptionFeatureRegistrations.d.ts.map +1 -0
  128. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/subscriptionFeatureRegistrations.js} +2 -3
  129. package/dist/esm/operationsInterfaces/subscriptionFeatureRegistrations.js.map +1 -0
  130. package/dist/esm/package.json +3 -0
  131. package/dist/esm/pagingHelper.d.ts +13 -0
  132. package/dist/esm/pagingHelper.d.ts.map +1 -0
  133. package/dist/esm/pagingHelper.js +32 -0
  134. package/dist/esm/pagingHelper.js.map +1 -0
  135. package/dist/react-native/featureClient.d.ts +40 -0
  136. package/dist/react-native/featureClient.d.ts.map +1 -0
  137. package/dist/react-native/featureClient.js +213 -0
  138. package/dist/react-native/featureClient.js.map +1 -0
  139. package/dist/react-native/index.d.ts +5 -0
  140. package/dist/react-native/index.d.ts.map +1 -0
  141. package/dist/react-native/index.js +13 -0
  142. package/dist/react-native/index.js.map +1 -0
  143. package/dist/react-native/models/index.d.ts +323 -0
  144. package/dist/react-native/models/index.d.ts.map +1 -0
  145. package/dist/react-native/models/index.js +36 -0
  146. package/dist/react-native/models/index.js.map +1 -0
  147. package/dist/react-native/models/mappers.d.ts +15 -0
  148. package/dist/react-native/models/mappers.d.ts.map +1 -0
  149. package/dist/react-native/models/mappers.js +424 -0
  150. package/dist/react-native/models/mappers.js.map +1 -0
  151. package/dist/react-native/models/parameters.d.ts +13 -0
  152. package/dist/react-native/models/parameters.d.ts.map +1 -0
  153. package/dist/react-native/models/parameters.js +119 -0
  154. package/dist/react-native/models/parameters.js.map +1 -0
  155. package/dist/react-native/operations/features.d.ts +76 -0
  156. package/dist/react-native/operations/features.d.ts.map +1 -0
  157. package/dist/react-native/operations/features.js +350 -0
  158. package/dist/react-native/operations/features.js.map +1 -0
  159. package/dist/react-native/operations/index.d.ts +3 -0
  160. package/dist/react-native/operations/index.d.ts.map +1 -0
  161. package/dist/react-native/operations/index.js +10 -0
  162. package/dist/react-native/operations/index.js.map +1 -0
  163. package/dist/react-native/operations/subscriptionFeatureRegistrations.d.ts +74 -0
  164. package/dist/react-native/operations/subscriptionFeatureRegistrations.d.ts.map +1 -0
  165. package/dist/react-native/operations/subscriptionFeatureRegistrations.js +349 -0
  166. package/dist/react-native/operations/subscriptionFeatureRegistrations.js.map +1 -0
  167. package/dist/react-native/operationsInterfaces/features.d.ts +39 -0
  168. package/dist/react-native/operationsInterfaces/features.d.ts.map +1 -0
  169. package/dist/react-native/operationsInterfaces/features.js +9 -0
  170. package/dist/react-native/operationsInterfaces/features.js.map +1 -0
  171. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  172. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  173. package/dist/react-native/operationsInterfaces/index.js +10 -0
  174. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  175. package/dist/react-native/operationsInterfaces/subscriptionFeatureRegistrations.d.ts +38 -0
  176. package/dist/react-native/operationsInterfaces/subscriptionFeatureRegistrations.d.ts.map +1 -0
  177. package/dist/react-native/operationsInterfaces/subscriptionFeatureRegistrations.js +9 -0
  178. package/dist/react-native/operationsInterfaces/subscriptionFeatureRegistrations.js.map +1 -0
  179. package/dist/react-native/package.json +3 -0
  180. package/dist/react-native/pagingHelper.d.ts +13 -0
  181. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  182. package/dist/react-native/pagingHelper.js +32 -0
  183. package/dist/react-native/pagingHelper.js.map +1 -0
  184. package/package.json +64 -34
  185. package/dist/index.js +0 -1555
  186. package/dist/index.js.map +0 -1
  187. package/dist/index.min.js +0 -1
  188. package/dist/index.min.js.map +0 -1
  189. package/dist-esm/samples-dev/featuresGetSample.d.ts +0 -2
  190. package/dist-esm/samples-dev/featuresGetSample.d.ts.map +0 -1
  191. package/dist-esm/samples-dev/featuresGetSample.js +0 -29
  192. package/dist-esm/samples-dev/featuresGetSample.js.map +0 -1
  193. package/dist-esm/samples-dev/featuresListAllSample.d.ts +0 -2
  194. package/dist-esm/samples-dev/featuresListAllSample.d.ts.map +0 -1
  195. package/dist-esm/samples-dev/featuresListAllSample.js +0 -43
  196. package/dist-esm/samples-dev/featuresListAllSample.js.map +0 -1
  197. package/dist-esm/samples-dev/featuresListSample.d.ts +0 -2
  198. package/dist-esm/samples-dev/featuresListSample.d.ts.map +0 -1
  199. package/dist-esm/samples-dev/featuresListSample.js +0 -44
  200. package/dist-esm/samples-dev/featuresListSample.js.map +0 -1
  201. package/dist-esm/samples-dev/featuresRegisterSample.d.ts +0 -2
  202. package/dist-esm/samples-dev/featuresRegisterSample.d.ts.map +0 -1
  203. package/dist-esm/samples-dev/featuresRegisterSample.js +0 -29
  204. package/dist-esm/samples-dev/featuresRegisterSample.js.map +0 -1
  205. package/dist-esm/samples-dev/featuresUnregisterSample.d.ts +0 -2
  206. package/dist-esm/samples-dev/featuresUnregisterSample.d.ts.map +0 -1
  207. package/dist-esm/samples-dev/featuresUnregisterSample.js +0 -29
  208. package/dist-esm/samples-dev/featuresUnregisterSample.js.map +0 -1
  209. package/dist-esm/samples-dev/listOperationsSample.d.ts +0 -2
  210. package/dist-esm/samples-dev/listOperationsSample.d.ts.map +0 -1
  211. package/dist-esm/samples-dev/listOperationsSample.js +0 -43
  212. package/dist-esm/samples-dev/listOperationsSample.js.map +0 -1
  213. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsCreateOrUpdateSample.d.ts +0 -2
  214. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsCreateOrUpdateSample.d.ts.map +0 -1
  215. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsCreateOrUpdateSample.js +0 -28
  216. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsCreateOrUpdateSample.js.map +0 -1
  217. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsDeleteSample.d.ts +0 -2
  218. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsDeleteSample.d.ts.map +0 -1
  219. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsDeleteSample.js +0 -29
  220. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsDeleteSample.js.map +0 -1
  221. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsGetSample.d.ts +0 -2
  222. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsGetSample.d.ts.map +0 -1
  223. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsGetSample.js +0 -29
  224. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsGetSample.js.map +0 -1
  225. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListAllBySubscriptionSample.d.ts +0 -2
  226. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListAllBySubscriptionSample.d.ts.map +0 -1
  227. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListAllBySubscriptionSample.js +0 -43
  228. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListAllBySubscriptionSample.js.map +0 -1
  229. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListBySubscriptionSample.d.ts +0 -2
  230. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListBySubscriptionSample.d.ts.map +0 -1
  231. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListBySubscriptionSample.js +0 -44
  232. package/dist-esm/samples-dev/subscriptionFeatureRegistrationsListBySubscriptionSample.js.map +0 -1
  233. package/dist-esm/src/featureClient.d.ts.map +0 -1
  234. package/dist-esm/src/featureClient.js.map +0 -1
  235. package/dist-esm/src/index.d.ts +0 -5
  236. package/dist-esm/src/index.js.map +0 -1
  237. package/dist-esm/src/models/index.js.map +0 -1
  238. package/dist-esm/src/models/mappers.js.map +0 -1
  239. package/dist-esm/src/models/parameters.js.map +0 -1
  240. package/dist-esm/src/operations/features.d.ts.map +0 -1
  241. package/dist-esm/src/operations/features.js.map +0 -1
  242. package/dist-esm/src/operations/index.d.ts +0 -3
  243. package/dist-esm/src/operations/index.js.map +0 -1
  244. package/dist-esm/src/operations/subscriptionFeatureRegistrations.d.ts.map +0 -1
  245. package/dist-esm/src/operations/subscriptionFeatureRegistrations.js.map +0 -1
  246. package/dist-esm/src/operationsInterfaces/features.d.ts.map +0 -1
  247. package/dist-esm/src/operationsInterfaces/features.js.map +0 -1
  248. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  249. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  250. package/dist-esm/src/operationsInterfaces/subscriptionFeatureRegistrations.d.ts.map +0 -1
  251. package/dist-esm/src/operationsInterfaces/subscriptionFeatureRegistrations.js.map +0 -1
  252. package/dist-esm/src/pagingHelper.js.map +0 -1
  253. package/dist-esm/test/features_example.spec.d.ts +0 -4
  254. package/dist-esm/test/features_example.spec.d.ts.map +0 -1
  255. package/dist-esm/test/features_example.spec.js +0 -121
  256. package/dist-esm/test/features_example.spec.js.map +0 -1
  257. package/src/featureClient.ts +0 -276
  258. package/src/models/index.ts +0 -379
  259. package/src/models/mappers.ts +0 -441
  260. package/src/models/parameters.ts +0 -135
  261. package/src/operations/features.ts +0 -426
  262. package/src/operations/subscriptionFeatureRegistrations.ts +0 -434
  263. package/src/operationsInterfaces/features.ts +0 -75
  264. package/src/operationsInterfaces/subscriptionFeatureRegistrations.ts +0 -73
  265. package/src/pagingHelper.ts +0 -39
  266. package/tsconfig.json +0 -33
  267. package/types/arm-features.d.ts +0 -492
  268. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  269. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  270. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  271. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  272. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  273. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  274. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  275. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  276. /package/{dist-esm/src → dist/browser}/operationsInterfaces/features.js +0 -0
  277. /package/{dist-esm/src → dist/browser}/operationsInterfaces/subscriptionFeatureRegistrations.js +0 -0
  278. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  279. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  280. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  281. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -1,492 +0,0 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
-
5
- /** Authorization Profile */
6
- export declare interface AuthorizationProfile {
7
- /**
8
- * The requested time
9
- * NOTE: This property will not be serialized. It can only be populated by the server.
10
- */
11
- readonly requestedTime?: Date;
12
- /**
13
- * The requester
14
- * NOTE: This property will not be serialized. It can only be populated by the server.
15
- */
16
- readonly requester?: string;
17
- /**
18
- * The requester object id
19
- * NOTE: This property will not be serialized. It can only be populated by the server.
20
- */
21
- readonly requesterObjectId?: string;
22
- /**
23
- * The approved time
24
- * NOTE: This property will not be serialized. It can only be populated by the server.
25
- */
26
- readonly approvedTime?: Date;
27
- /**
28
- * The approver
29
- * NOTE: This property will not be serialized. It can only be populated by the server.
30
- */
31
- readonly approver?: string;
32
- }
33
-
34
- /** Error definition. */
35
- export declare interface ErrorDefinition {
36
- /**
37
- * Service specific error code which serves as the substatus for the HTTP error code.
38
- * NOTE: This property will not be serialized. It can only be populated by the server.
39
- */
40
- readonly code?: string;
41
- /**
42
- * Description of the error.
43
- * NOTE: This property will not be serialized. It can only be populated by the server.
44
- */
45
- readonly message?: string;
46
- /** Internal error details. */
47
- details?: ErrorDefinition[];
48
- }
49
-
50
- /** Error response indicates that the service is not able to process the incoming request. */
51
- export declare interface ErrorResponse {
52
- /** The error details. */
53
- error?: ErrorDefinition;
54
- }
55
-
56
- export declare class FeatureClient extends coreClient.ServiceClient {
57
- $host: string;
58
- apiVersion: string;
59
- subscriptionId: string;
60
- /**
61
- * Initializes a new instance of the FeatureClient class.
62
- * @param credentials Subscription credentials which uniquely identify client subscription.
63
- * @param subscriptionId The Azure subscription ID.
64
- * @param options The parameter options
65
- */
66
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: FeatureClientOptionalParams);
67
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
68
- private addCustomApiVersionPolicy;
69
- /**
70
- * Lists all of the available Microsoft.Features REST API operations.
71
- * @param options The options parameters.
72
- */
73
- listOperations(options?: ListOperationsOptionalParams): PagedAsyncIterableIterator<Operation>;
74
- private listOperationsPagingPage;
75
- private listOperationsPagingAll;
76
- /**
77
- * Lists all of the available Microsoft.Features REST API operations.
78
- * @param options The options parameters.
79
- */
80
- private _listOperations;
81
- /**
82
- * ListOperationsNext
83
- * @param nextLink The nextLink from the previous successful call to the ListOperations method.
84
- * @param options The options parameters.
85
- */
86
- private _listOperationsNext;
87
- features: Features;
88
- subscriptionFeatureRegistrations: SubscriptionFeatureRegistrations;
89
- }
90
-
91
- /** Optional parameters. */
92
- export declare interface FeatureClientOptionalParams extends coreClient.ServiceClientOptions {
93
- /** server parameter */
94
- $host?: string;
95
- /** Api Version */
96
- apiVersion?: string;
97
- /** Overrides client endpoint. */
98
- endpoint?: string;
99
- }
100
-
101
- /** List of previewed features. */
102
- export declare interface FeatureOperationsListResult {
103
- /** The array of features. */
104
- value?: FeatureResult[];
105
- /** The URL to use for getting the next set of results. */
106
- nextLink?: string;
107
- }
108
-
109
- /** Information about feature. */
110
- export declare interface FeatureProperties {
111
- /** The registration state of the feature for the subscription. */
112
- state?: string;
113
- }
114
-
115
- /** Previewed feature information. */
116
- export declare interface FeatureResult {
117
- /** The name of the feature. */
118
- name?: string;
119
- /** Properties of the previewed feature. */
120
- properties?: FeatureProperties;
121
- /** The resource ID of the feature. */
122
- id?: string;
123
- /** The resource type of the feature. */
124
- type?: string;
125
- }
126
-
127
- /** Interface representing a Features. */
128
- export declare interface Features {
129
- /**
130
- * Gets all the preview features that are available through AFEC for the subscription.
131
- * @param options The options parameters.
132
- */
133
- listAll(options?: FeaturesListAllOptionalParams): PagedAsyncIterableIterator<FeatureResult>;
134
- /**
135
- * Gets all the preview features in a provider namespace that are available through AFEC for the
136
- * subscription.
137
- * @param resourceProviderNamespace The namespace of the resource provider for getting features.
138
- * @param options The options parameters.
139
- */
140
- list(resourceProviderNamespace: string, options?: FeaturesListOptionalParams): PagedAsyncIterableIterator<FeatureResult>;
141
- /**
142
- * Gets the preview feature with the specified name.
143
- * @param resourceProviderNamespace The resource provider namespace for the feature.
144
- * @param featureName The name of the feature to get.
145
- * @param options The options parameters.
146
- */
147
- get(resourceProviderNamespace: string, featureName: string, options?: FeaturesGetOptionalParams): Promise<FeaturesGetResponse>;
148
- /**
149
- * Registers the preview feature for the subscription.
150
- * @param resourceProviderNamespace The namespace of the resource provider.
151
- * @param featureName The name of the feature to register.
152
- * @param options The options parameters.
153
- */
154
- register(resourceProviderNamespace: string, featureName: string, options?: FeaturesRegisterOptionalParams): Promise<FeaturesRegisterResponse>;
155
- /**
156
- * Unregisters the preview feature for the subscription.
157
- * @param resourceProviderNamespace The namespace of the resource provider.
158
- * @param featureName The name of the feature to unregister.
159
- * @param options The options parameters.
160
- */
161
- unregister(resourceProviderNamespace: string, featureName: string, options?: FeaturesUnregisterOptionalParams): Promise<FeaturesUnregisterResponse>;
162
- }
163
-
164
- /** Optional parameters. */
165
- export declare interface FeaturesGetOptionalParams extends coreClient.OperationOptions {
166
- }
167
-
168
- /** Contains response data for the get operation. */
169
- export declare type FeaturesGetResponse = FeatureResult;
170
-
171
- /** Optional parameters. */
172
- export declare interface FeaturesListAllNextOptionalParams extends coreClient.OperationOptions {
173
- }
174
-
175
- /** Contains response data for the listAllNext operation. */
176
- export declare type FeaturesListAllNextResponse = FeatureOperationsListResult;
177
-
178
- /** Optional parameters. */
179
- export declare interface FeaturesListAllOptionalParams extends coreClient.OperationOptions {
180
- }
181
-
182
- /** Contains response data for the listAll operation. */
183
- export declare type FeaturesListAllResponse = FeatureOperationsListResult;
184
-
185
- /** Optional parameters. */
186
- export declare interface FeaturesListNextOptionalParams extends coreClient.OperationOptions {
187
- }
188
-
189
- /** Contains response data for the listNext operation. */
190
- export declare type FeaturesListNextResponse = FeatureOperationsListResult;
191
-
192
- /** Optional parameters. */
193
- export declare interface FeaturesListOptionalParams extends coreClient.OperationOptions {
194
- }
195
-
196
- /** Contains response data for the list operation. */
197
- export declare type FeaturesListResponse = FeatureOperationsListResult;
198
-
199
- /** Optional parameters. */
200
- export declare interface FeaturesRegisterOptionalParams extends coreClient.OperationOptions {
201
- }
202
-
203
- /** Contains response data for the register operation. */
204
- export declare type FeaturesRegisterResponse = FeatureResult;
205
-
206
- /** Optional parameters. */
207
- export declare interface FeaturesUnregisterOptionalParams extends coreClient.OperationOptions {
208
- }
209
-
210
- /** Contains response data for the unregister operation. */
211
- export declare type FeaturesUnregisterResponse = FeatureResult;
212
-
213
- /**
214
- * Given a result page from a pageable operation, returns a
215
- * continuation token that can be used to begin paging from
216
- * that point later.
217
- * @param page A result object from calling .byPage() on a paged operation.
218
- * @returns The continuation token that can be passed into byPage().
219
- */
220
- export declare function getContinuationToken(page: unknown): string | undefined;
221
-
222
- /** Known values of {@link SubscriptionFeatureRegistrationApprovalType} that the service accepts. */
223
- export declare enum KnownSubscriptionFeatureRegistrationApprovalType {
224
- /** NotSpecified */
225
- NotSpecified = "NotSpecified",
226
- /** ApprovalRequired */
227
- ApprovalRequired = "ApprovalRequired",
228
- /** AutoApproval */
229
- AutoApproval = "AutoApproval"
230
- }
231
-
232
- /** Known values of {@link SubscriptionFeatureRegistrationState} that the service accepts. */
233
- export declare enum KnownSubscriptionFeatureRegistrationState {
234
- /** NotSpecified */
235
- NotSpecified = "NotSpecified",
236
- /** NotRegistered */
237
- NotRegistered = "NotRegistered",
238
- /** Pending */
239
- Pending = "Pending",
240
- /** Registering */
241
- Registering = "Registering",
242
- /** Registered */
243
- Registered = "Registered",
244
- /** Unregistering */
245
- Unregistering = "Unregistering",
246
- /** Unregistered */
247
- Unregistered = "Unregistered"
248
- }
249
-
250
- /** Optional parameters. */
251
- export declare interface ListOperationsNextOptionalParams extends coreClient.OperationOptions {
252
- }
253
-
254
- /** Contains response data for the listOperationsNext operation. */
255
- export declare type ListOperationsNextResponse = OperationListResult;
256
-
257
- /** Optional parameters. */
258
- export declare interface ListOperationsOptionalParams extends coreClient.OperationOptions {
259
- }
260
-
261
- /** Contains response data for the listOperations operation. */
262
- export declare type ListOperationsResponse = OperationListResult;
263
-
264
- /** Microsoft.Features operation */
265
- export declare interface Operation {
266
- /** Operation name: {provider}/{resource}/{operation} */
267
- name?: string;
268
- /** The object that represents the operation. */
269
- display?: OperationDisplay;
270
- }
271
-
272
- /** The object that represents the operation. */
273
- export declare interface OperationDisplay {
274
- /** Service provider: Microsoft.Features */
275
- provider?: string;
276
- /** Resource on which the operation is performed: Profile, endpoint, etc. */
277
- resource?: string;
278
- /** Operation type: Read, write, delete, etc. */
279
- operation?: string;
280
- }
281
-
282
- /** Result of the request to list Microsoft.Features operations. It contains a list of operations and a URL link to get the next set of results. */
283
- export declare interface OperationListResult {
284
- /** List of Microsoft.Features operations. */
285
- value?: Operation[];
286
- /** URL to get the next set of operation list results if there are any. */
287
- nextLink?: string;
288
- }
289
-
290
- /** An Azure proxy resource. */
291
- export declare interface ProxyResource {
292
- /**
293
- * Azure resource Id.
294
- * NOTE: This property will not be serialized. It can only be populated by the server.
295
- */
296
- readonly id?: string;
297
- /**
298
- * Azure resource name.
299
- * NOTE: This property will not be serialized. It can only be populated by the server.
300
- */
301
- readonly name?: string;
302
- /**
303
- * Azure resource type.
304
- * NOTE: This property will not be serialized. It can only be populated by the server.
305
- */
306
- readonly type?: string;
307
- }
308
-
309
- /** Subscription feature registration details */
310
- export declare interface SubscriptionFeatureRegistration extends ProxyResource {
311
- properties?: SubscriptionFeatureRegistrationProperties;
312
- }
313
-
314
- /**
315
- * Defines values for SubscriptionFeatureRegistrationApprovalType. \
316
- * {@link KnownSubscriptionFeatureRegistrationApprovalType} can be used interchangeably with SubscriptionFeatureRegistrationApprovalType,
317
- * this enum contains the known values that the service supports.
318
- * ### Known values supported by the service
319
- * **NotSpecified** \
320
- * **ApprovalRequired** \
321
- * **AutoApproval**
322
- */
323
- export declare type SubscriptionFeatureRegistrationApprovalType = string;
324
-
325
- /** The list of subscription feature registrations. */
326
- export declare interface SubscriptionFeatureRegistrationList {
327
- /** The link used to get the next page of subscription feature registrations list. */
328
- nextLink?: string;
329
- /** The list of subscription feature registrations. */
330
- value?: SubscriptionFeatureRegistration[];
331
- }
332
-
333
- export declare interface SubscriptionFeatureRegistrationProperties {
334
- /**
335
- * The tenantId.
336
- * NOTE: This property will not be serialized. It can only be populated by the server.
337
- */
338
- readonly tenantId?: string;
339
- /**
340
- * The subscriptionId.
341
- * NOTE: This property will not be serialized. It can only be populated by the server.
342
- */
343
- readonly subscriptionId?: string;
344
- /**
345
- * The featureName.
346
- * NOTE: This property will not be serialized. It can only be populated by the server.
347
- */
348
- readonly featureName?: string;
349
- /**
350
- * The featureDisplayName.
351
- * NOTE: This property will not be serialized. It can only be populated by the server.
352
- */
353
- readonly displayName?: string;
354
- /**
355
- * The providerNamespace.
356
- * NOTE: This property will not be serialized. It can only be populated by the server.
357
- */
358
- readonly providerNamespace?: string;
359
- /** The state. */
360
- state?: SubscriptionFeatureRegistrationState;
361
- /** Authorization Profile */
362
- authorizationProfile?: AuthorizationProfile;
363
- /** Key-value pairs for meta data. */
364
- metadata?: {
365
- [propertyName: string]: string;
366
- };
367
- /**
368
- * The feature release date.
369
- * NOTE: This property will not be serialized. It can only be populated by the server.
370
- */
371
- readonly releaseDate?: Date;
372
- /**
373
- * The feature registration date.
374
- * NOTE: This property will not be serialized. It can only be populated by the server.
375
- */
376
- readonly registrationDate?: Date;
377
- /**
378
- * The feature documentation link.
379
- * NOTE: This property will not be serialized. It can only be populated by the server.
380
- */
381
- readonly documentationLink?: string;
382
- /**
383
- * The feature approval type.
384
- * NOTE: This property will not be serialized. It can only be populated by the server.
385
- */
386
- readonly approvalType?: SubscriptionFeatureRegistrationApprovalType;
387
- /** Indicates whether feature should be displayed in Portal. */
388
- shouldFeatureDisplayInPortal?: boolean;
389
- /** The feature description. */
390
- description?: string;
391
- }
392
-
393
- /** Interface representing a SubscriptionFeatureRegistrations. */
394
- export declare interface SubscriptionFeatureRegistrations {
395
- /**
396
- * Returns subscription feature registrations for given subscription and provider namespace.
397
- * @param providerNamespace The provider namespace.
398
- * @param options The options parameters.
399
- */
400
- listBySubscription(providerNamespace: string, options?: SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SubscriptionFeatureRegistration>;
401
- /**
402
- * Returns subscription feature registrations for given subscription.
403
- * @param options The options parameters.
404
- */
405
- listAllBySubscription(options?: SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams): PagedAsyncIterableIterator<SubscriptionFeatureRegistration>;
406
- /**
407
- * Returns a feature registration
408
- * @param providerNamespace The provider namespace.
409
- * @param featureName The feature name.
410
- * @param options The options parameters.
411
- */
412
- get(providerNamespace: string, featureName: string, options?: SubscriptionFeatureRegistrationsGetOptionalParams): Promise<SubscriptionFeatureRegistrationsGetResponse>;
413
- /**
414
- * Create or update a feature registration.
415
- * @param providerNamespace The provider namespace.
416
- * @param featureName The feature name.
417
- * @param options The options parameters.
418
- */
419
- createOrUpdate(providerNamespace: string, featureName: string, options?: SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams): Promise<SubscriptionFeatureRegistrationsCreateOrUpdateResponse>;
420
- /**
421
- * Deletes a feature registration
422
- * @param providerNamespace The provider namespace.
423
- * @param featureName The feature name.
424
- * @param options The options parameters.
425
- */
426
- delete(providerNamespace: string, featureName: string, options?: SubscriptionFeatureRegistrationsDeleteOptionalParams): Promise<void>;
427
- }
428
-
429
- /** Optional parameters. */
430
- export declare interface SubscriptionFeatureRegistrationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
431
- /** Subscription Feature Registration Type details. */
432
- subscriptionFeatureRegistrationType?: SubscriptionFeatureRegistration;
433
- }
434
-
435
- /** Contains response data for the createOrUpdate operation. */
436
- export declare type SubscriptionFeatureRegistrationsCreateOrUpdateResponse = SubscriptionFeatureRegistration;
437
-
438
- /** Optional parameters. */
439
- export declare interface SubscriptionFeatureRegistrationsDeleteOptionalParams extends coreClient.OperationOptions {
440
- }
441
-
442
- /** Optional parameters. */
443
- export declare interface SubscriptionFeatureRegistrationsGetOptionalParams extends coreClient.OperationOptions {
444
- }
445
-
446
- /** Contains response data for the get operation. */
447
- export declare type SubscriptionFeatureRegistrationsGetResponse = SubscriptionFeatureRegistration;
448
-
449
- /** Optional parameters. */
450
- export declare interface SubscriptionFeatureRegistrationsListAllBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
451
- }
452
-
453
- /** Contains response data for the listAllBySubscriptionNext operation. */
454
- export declare type SubscriptionFeatureRegistrationsListAllBySubscriptionNextResponse = SubscriptionFeatureRegistrationList;
455
-
456
- /** Optional parameters. */
457
- export declare interface SubscriptionFeatureRegistrationsListAllBySubscriptionOptionalParams extends coreClient.OperationOptions {
458
- }
459
-
460
- /** Contains response data for the listAllBySubscription operation. */
461
- export declare type SubscriptionFeatureRegistrationsListAllBySubscriptionResponse = SubscriptionFeatureRegistrationList;
462
-
463
- /** Optional parameters. */
464
- export declare interface SubscriptionFeatureRegistrationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
465
- }
466
-
467
- /** Contains response data for the listBySubscriptionNext operation. */
468
- export declare type SubscriptionFeatureRegistrationsListBySubscriptionNextResponse = SubscriptionFeatureRegistrationList;
469
-
470
- /** Optional parameters. */
471
- export declare interface SubscriptionFeatureRegistrationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
472
- }
473
-
474
- /** Contains response data for the listBySubscription operation. */
475
- export declare type SubscriptionFeatureRegistrationsListBySubscriptionResponse = SubscriptionFeatureRegistrationList;
476
-
477
- /**
478
- * Defines values for SubscriptionFeatureRegistrationState. \
479
- * {@link KnownSubscriptionFeatureRegistrationState} can be used interchangeably with SubscriptionFeatureRegistrationState,
480
- * this enum contains the known values that the service supports.
481
- * ### Known values supported by the service
482
- * **NotSpecified** \
483
- * **NotRegistered** \
484
- * **Pending** \
485
- * **Registering** \
486
- * **Registered** \
487
- * **Unregistering** \
488
- * **Unregistered**
489
- */
490
- export declare type SubscriptionFeatureRegistrationState = string;
491
-
492
- export { }
File without changes
File without changes
File without changes