@azure/arm-kubernetesconfiguration-extensions 1.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.
Files changed (218) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +115 -0
  4. package/dist/browser/extensionsClient.d.ts +21 -0
  5. package/dist/browser/extensionsClient.d.ts.map +1 -0
  6. package/dist/browser/extensionsClient.js +97 -0
  7. package/dist/browser/extensionsClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/dist/browser/index.js +13 -0
  11. package/dist/browser/index.js.map +1 -0
  12. package/dist/browser/lroImpl.d.ts +11 -0
  13. package/dist/browser/lroImpl.d.ts.map +1 -0
  14. package/dist/browser/lroImpl.js +21 -0
  15. package/dist/browser/lroImpl.js.map +1 -0
  16. package/dist/browser/models/index.d.ts +398 -0
  17. package/dist/browser/models/index.d.ts.map +1 -0
  18. package/dist/browser/models/index.js +46 -0
  19. package/dist/browser/models/index.js.map +1 -0
  20. package/dist/browser/models/mappers.d.ts +19 -0
  21. package/dist/browser/models/mappers.d.ts.map +1 -0
  22. package/dist/browser/models/mappers.js +612 -0
  23. package/dist/browser/models/mappers.js.map +1 -0
  24. package/dist/browser/models/parameters.d.ts +17 -0
  25. package/dist/browser/models/parameters.d.ts.map +1 -0
  26. package/dist/browser/models/parameters.js +164 -0
  27. package/dist/browser/models/parameters.js.map +1 -0
  28. package/dist/browser/operations/extensions.d.ts +141 -0
  29. package/dist/browser/operations/extensions.d.ts.map +1 -0
  30. package/dist/browser/operations/extensions.js +536 -0
  31. package/dist/browser/operations/extensions.js.map +1 -0
  32. package/dist/browser/operations/index.d.ts +3 -0
  33. package/dist/browser/operations/index.d.ts.map +1 -0
  34. package/dist/browser/operations/index.js +10 -0
  35. package/dist/browser/operations/index.js.map +1 -0
  36. package/dist/browser/operations/operationStatus.d.ts +26 -0
  37. package/dist/browser/operations/operationStatus.d.ts.map +1 -0
  38. package/dist/browser/operations/operationStatus.js +71 -0
  39. package/dist/browser/operations/operationStatus.js.map +1 -0
  40. package/dist/browser/operationsInterfaces/extensions.d.ts +108 -0
  41. package/dist/browser/operationsInterfaces/extensions.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/extensions.js +9 -0
  43. package/dist/browser/operationsInterfaces/extensions.js.map +1 -0
  44. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  45. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  46. package/dist/browser/operationsInterfaces/index.js +10 -0
  47. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  48. package/dist/browser/operationsInterfaces/operationStatus.d.ts +18 -0
  49. package/dist/browser/operationsInterfaces/operationStatus.d.ts.map +1 -0
  50. package/dist/browser/operationsInterfaces/operationStatus.js +9 -0
  51. package/dist/browser/operationsInterfaces/operationStatus.js.map +1 -0
  52. package/dist/browser/package.json +3 -0
  53. package/dist/browser/pagingHelper.d.ts +13 -0
  54. package/dist/browser/pagingHelper.d.ts.map +1 -0
  55. package/dist/browser/pagingHelper.js +32 -0
  56. package/dist/browser/pagingHelper.js.map +1 -0
  57. package/dist/commonjs/extensionsClient.d.ts +21 -0
  58. package/dist/commonjs/extensionsClient.d.ts.map +1 -0
  59. package/dist/commonjs/extensionsClient.js +102 -0
  60. package/dist/commonjs/extensionsClient.js.map +1 -0
  61. package/dist/commonjs/index.d.ts +5 -0
  62. package/dist/commonjs/index.d.ts.map +1 -0
  63. package/dist/commonjs/index.js +19 -0
  64. package/dist/commonjs/index.js.map +1 -0
  65. package/dist/commonjs/lroImpl.d.ts +11 -0
  66. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  67. package/dist/commonjs/lroImpl.js +24 -0
  68. package/dist/commonjs/lroImpl.js.map +1 -0
  69. package/dist/commonjs/models/index.d.ts +398 -0
  70. package/dist/commonjs/models/index.d.ts.map +1 -0
  71. package/dist/commonjs/models/index.js +49 -0
  72. package/dist/commonjs/models/index.js.map +1 -0
  73. package/dist/commonjs/models/mappers.d.ts +19 -0
  74. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  75. package/dist/commonjs/models/mappers.js +615 -0
  76. package/dist/commonjs/models/mappers.js.map +1 -0
  77. package/dist/commonjs/models/parameters.d.ts +17 -0
  78. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  79. package/dist/commonjs/models/parameters.js +167 -0
  80. package/dist/commonjs/models/parameters.js.map +1 -0
  81. package/dist/commonjs/operations/extensions.d.ts +141 -0
  82. package/dist/commonjs/operations/extensions.d.ts.map +1 -0
  83. package/dist/commonjs/operations/extensions.js +540 -0
  84. package/dist/commonjs/operations/extensions.js.map +1 -0
  85. package/dist/commonjs/operations/index.d.ts +3 -0
  86. package/dist/commonjs/operations/index.d.ts.map +1 -0
  87. package/dist/commonjs/operations/index.js +13 -0
  88. package/dist/commonjs/operations/index.js.map +1 -0
  89. package/dist/commonjs/operations/operationStatus.d.ts +26 -0
  90. package/dist/commonjs/operations/operationStatus.d.ts.map +1 -0
  91. package/dist/commonjs/operations/operationStatus.js +76 -0
  92. package/dist/commonjs/operations/operationStatus.js.map +1 -0
  93. package/dist/commonjs/operationsInterfaces/extensions.d.ts +108 -0
  94. package/dist/commonjs/operationsInterfaces/extensions.d.ts.map +1 -0
  95. package/dist/commonjs/operationsInterfaces/extensions.js +10 -0
  96. package/dist/commonjs/operationsInterfaces/extensions.js.map +1 -0
  97. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  98. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  99. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  100. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  101. package/dist/commonjs/operationsInterfaces/operationStatus.d.ts +18 -0
  102. package/dist/commonjs/operationsInterfaces/operationStatus.d.ts.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/operationStatus.js +10 -0
  104. package/dist/commonjs/operationsInterfaces/operationStatus.js.map +1 -0
  105. package/dist/commonjs/package.json +3 -0
  106. package/dist/commonjs/pagingHelper.d.ts +13 -0
  107. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  108. package/dist/commonjs/pagingHelper.js +36 -0
  109. package/dist/commonjs/pagingHelper.js.map +1 -0
  110. package/dist/commonjs/tsdoc-metadata.json +11 -0
  111. package/dist/esm/extensionsClient.d.ts +21 -0
  112. package/dist/esm/extensionsClient.d.ts.map +1 -0
  113. package/dist/esm/extensionsClient.js +97 -0
  114. package/dist/esm/extensionsClient.js.map +1 -0
  115. package/dist/esm/index.d.ts +5 -0
  116. package/dist/esm/index.d.ts.map +1 -0
  117. package/dist/esm/index.js +13 -0
  118. package/dist/esm/index.js.map +1 -0
  119. package/dist/esm/lroImpl.d.ts +11 -0
  120. package/dist/esm/lroImpl.d.ts.map +1 -0
  121. package/dist/esm/lroImpl.js +21 -0
  122. package/dist/esm/lroImpl.js.map +1 -0
  123. package/dist/esm/models/index.d.ts +398 -0
  124. package/dist/esm/models/index.d.ts.map +1 -0
  125. package/dist/esm/models/index.js +46 -0
  126. package/dist/esm/models/index.js.map +1 -0
  127. package/dist/esm/models/mappers.d.ts +19 -0
  128. package/dist/esm/models/mappers.d.ts.map +1 -0
  129. package/dist/esm/models/mappers.js +612 -0
  130. package/dist/esm/models/mappers.js.map +1 -0
  131. package/dist/esm/models/parameters.d.ts +17 -0
  132. package/dist/esm/models/parameters.d.ts.map +1 -0
  133. package/dist/esm/models/parameters.js +164 -0
  134. package/dist/esm/models/parameters.js.map +1 -0
  135. package/dist/esm/operations/extensions.d.ts +141 -0
  136. package/dist/esm/operations/extensions.d.ts.map +1 -0
  137. package/dist/esm/operations/extensions.js +536 -0
  138. package/dist/esm/operations/extensions.js.map +1 -0
  139. package/dist/esm/operations/index.d.ts +3 -0
  140. package/dist/esm/operations/index.d.ts.map +1 -0
  141. package/dist/esm/operations/index.js +10 -0
  142. package/dist/esm/operations/index.js.map +1 -0
  143. package/dist/esm/operations/operationStatus.d.ts +26 -0
  144. package/dist/esm/operations/operationStatus.d.ts.map +1 -0
  145. package/dist/esm/operations/operationStatus.js +71 -0
  146. package/dist/esm/operations/operationStatus.js.map +1 -0
  147. package/dist/esm/operationsInterfaces/extensions.d.ts +108 -0
  148. package/dist/esm/operationsInterfaces/extensions.d.ts.map +1 -0
  149. package/dist/esm/operationsInterfaces/extensions.js +9 -0
  150. package/dist/esm/operationsInterfaces/extensions.js.map +1 -0
  151. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  152. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  153. package/dist/esm/operationsInterfaces/index.js +10 -0
  154. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  155. package/dist/esm/operationsInterfaces/operationStatus.d.ts +18 -0
  156. package/dist/esm/operationsInterfaces/operationStatus.d.ts.map +1 -0
  157. package/dist/esm/operationsInterfaces/operationStatus.js +9 -0
  158. package/dist/esm/operationsInterfaces/operationStatus.js.map +1 -0
  159. package/dist/esm/package.json +3 -0
  160. package/dist/esm/pagingHelper.d.ts +13 -0
  161. package/dist/esm/pagingHelper.d.ts.map +1 -0
  162. package/dist/esm/pagingHelper.js +32 -0
  163. package/dist/esm/pagingHelper.js.map +1 -0
  164. package/dist/react-native/extensionsClient.d.ts +21 -0
  165. package/dist/react-native/extensionsClient.d.ts.map +1 -0
  166. package/dist/react-native/extensionsClient.js +97 -0
  167. package/dist/react-native/extensionsClient.js.map +1 -0
  168. package/dist/react-native/index.d.ts +5 -0
  169. package/dist/react-native/index.d.ts.map +1 -0
  170. package/dist/react-native/index.js +13 -0
  171. package/dist/react-native/index.js.map +1 -0
  172. package/dist/react-native/lroImpl.d.ts +11 -0
  173. package/dist/react-native/lroImpl.d.ts.map +1 -0
  174. package/dist/react-native/lroImpl.js +21 -0
  175. package/dist/react-native/lroImpl.js.map +1 -0
  176. package/dist/react-native/models/index.d.ts +398 -0
  177. package/dist/react-native/models/index.d.ts.map +1 -0
  178. package/dist/react-native/models/index.js +46 -0
  179. package/dist/react-native/models/index.js.map +1 -0
  180. package/dist/react-native/models/mappers.d.ts +19 -0
  181. package/dist/react-native/models/mappers.d.ts.map +1 -0
  182. package/dist/react-native/models/mappers.js +612 -0
  183. package/dist/react-native/models/mappers.js.map +1 -0
  184. package/dist/react-native/models/parameters.d.ts +17 -0
  185. package/dist/react-native/models/parameters.d.ts.map +1 -0
  186. package/dist/react-native/models/parameters.js +164 -0
  187. package/dist/react-native/models/parameters.js.map +1 -0
  188. package/dist/react-native/operations/extensions.d.ts +141 -0
  189. package/dist/react-native/operations/extensions.d.ts.map +1 -0
  190. package/dist/react-native/operations/extensions.js +536 -0
  191. package/dist/react-native/operations/extensions.js.map +1 -0
  192. package/dist/react-native/operations/index.d.ts +3 -0
  193. package/dist/react-native/operations/index.d.ts.map +1 -0
  194. package/dist/react-native/operations/index.js +10 -0
  195. package/dist/react-native/operations/index.js.map +1 -0
  196. package/dist/react-native/operations/operationStatus.d.ts +26 -0
  197. package/dist/react-native/operations/operationStatus.d.ts.map +1 -0
  198. package/dist/react-native/operations/operationStatus.js +71 -0
  199. package/dist/react-native/operations/operationStatus.js.map +1 -0
  200. package/dist/react-native/operationsInterfaces/extensions.d.ts +108 -0
  201. package/dist/react-native/operationsInterfaces/extensions.d.ts.map +1 -0
  202. package/dist/react-native/operationsInterfaces/extensions.js +9 -0
  203. package/dist/react-native/operationsInterfaces/extensions.js.map +1 -0
  204. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  205. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  206. package/dist/react-native/operationsInterfaces/index.js +10 -0
  207. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  208. package/dist/react-native/operationsInterfaces/operationStatus.d.ts +18 -0
  209. package/dist/react-native/operationsInterfaces/operationStatus.d.ts.map +1 -0
  210. package/dist/react-native/operationsInterfaces/operationStatus.js +9 -0
  211. package/dist/react-native/operationsInterfaces/operationStatus.js.map +1 -0
  212. package/dist/react-native/package.json +3 -0
  213. package/dist/react-native/pagingHelper.d.ts +13 -0
  214. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  215. package/dist/react-native/pagingHelper.js +32 -0
  216. package/dist/react-native/pagingHelper.js.map +1 -0
  217. package/package.json +133 -0
  218. package/review/arm-kubernetesconfiguration-extensions.api.md +294 -0
@@ -0,0 +1,398 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Scope of the extension. It can be either Cluster or Namespace; but not both. */
3
+ export interface Scope {
4
+ /** Specifies that the scope of the extension is Cluster */
5
+ cluster?: ScopeCluster;
6
+ /** Specifies that the scope of the extension is Namespace */
7
+ namespace?: ScopeNamespace;
8
+ }
9
+ /** Specifies that the scope of the extension is Cluster */
10
+ export interface ScopeCluster {
11
+ /** Namespace where the extension Release must be placed, for a Cluster scoped extension. If this namespace does not exist, it will be created */
12
+ releaseNamespace?: string;
13
+ }
14
+ /** Specifies that the scope of the extension is Namespace */
15
+ export interface ScopeNamespace {
16
+ /** Namespace where the extension will be created for an Namespace scoped extension. If this namespace does not exist, it will be created */
17
+ targetNamespace?: string;
18
+ }
19
+ /** Status from the extension. */
20
+ export interface ExtensionStatus {
21
+ /** Status code provided by the Extension */
22
+ code?: string;
23
+ /** Short description of status of the extension. */
24
+ displayStatus?: string;
25
+ /** Level of the status. */
26
+ level?: LevelType;
27
+ /** Detailed message of the status from the Extension. */
28
+ message?: string;
29
+ /** DateLiteral (per ISO8601) noting the time of installation status. */
30
+ time?: string;
31
+ }
32
+ /** The error detail. */
33
+ export interface ErrorDetail {
34
+ /**
35
+ * The error code.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
37
+ */
38
+ readonly code?: string;
39
+ /**
40
+ * The error message.
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
42
+ */
43
+ readonly message?: string;
44
+ /**
45
+ * The error target.
46
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
+ */
48
+ readonly target?: string;
49
+ /**
50
+ * The error details.
51
+ * NOTE: This property will not be serialized. It can only be populated by the server.
52
+ */
53
+ readonly details?: ErrorDetail[];
54
+ /**
55
+ * The error additional info.
56
+ * NOTE: This property will not be serialized. It can only be populated by the server.
57
+ */
58
+ readonly additionalInfo?: ErrorAdditionalInfo[];
59
+ }
60
+ /** The resource management error additional info. */
61
+ export interface ErrorAdditionalInfo {
62
+ /**
63
+ * The additional info type.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly type?: string;
67
+ /**
68
+ * The additional info.
69
+ * NOTE: This property will not be serialized. It can only be populated by the server.
70
+ */
71
+ readonly info?: Record<string, unknown>;
72
+ }
73
+ /** Identity of the Extension resource in an AKS cluster */
74
+ export interface ExtensionPropertiesAksAssignedIdentity {
75
+ /**
76
+ * The principal ID of resource identity.
77
+ * NOTE: This property will not be serialized. It can only be populated by the server.
78
+ */
79
+ readonly principalId?: string;
80
+ /**
81
+ * The tenant ID of resource.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
83
+ */
84
+ readonly tenantId?: string;
85
+ /** The identity type. */
86
+ type?: AKSIdentityType;
87
+ }
88
+ /** Identity for the resource. */
89
+ export interface Identity {
90
+ /**
91
+ * The principal ID of resource identity.
92
+ * NOTE: This property will not be serialized. It can only be populated by the server.
93
+ */
94
+ readonly principalId?: string;
95
+ /**
96
+ * The tenant ID of resource.
97
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
+ */
99
+ readonly tenantId?: string;
100
+ /** The identity type. */
101
+ type?: "SystemAssigned";
102
+ }
103
+ /** Metadata pertaining to creation and last modification of the resource. */
104
+ export interface SystemData {
105
+ /** The identity that created the resource. */
106
+ createdBy?: string;
107
+ /** The type of identity that created the resource. */
108
+ createdByType?: CreatedByType;
109
+ /** The timestamp of resource creation (UTC). */
110
+ createdAt?: Date;
111
+ /** The identity that last modified the resource. */
112
+ lastModifiedBy?: string;
113
+ /** The type of identity that last modified the resource. */
114
+ lastModifiedByType?: CreatedByType;
115
+ /** The timestamp of resource last modification (UTC) */
116
+ lastModifiedAt?: Date;
117
+ }
118
+ /** Plan for the resource. */
119
+ export interface Plan {
120
+ /** A user defined name of the 3rd Party Artifact that is being procured. */
121
+ name: string;
122
+ /** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */
123
+ publisher: string;
124
+ /** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */
125
+ product: string;
126
+ /** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */
127
+ promotionCode?: string;
128
+ /** The version of the desired product/artifact. */
129
+ version?: string;
130
+ }
131
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
132
+ export interface Resource {
133
+ /**
134
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
135
+ * NOTE: This property will not be serialized. It can only be populated by the server.
136
+ */
137
+ readonly id?: string;
138
+ /**
139
+ * The name of the resource
140
+ * NOTE: This property will not be serialized. It can only be populated by the server.
141
+ */
142
+ readonly name?: string;
143
+ /**
144
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
145
+ * NOTE: This property will not be serialized. It can only be populated by the server.
146
+ */
147
+ readonly type?: string;
148
+ }
149
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
150
+ export interface ErrorResponse {
151
+ /** The error object. */
152
+ error?: ErrorDetail;
153
+ }
154
+ /** The Extension Patch Request object. */
155
+ export interface PatchExtension {
156
+ /** Flag to note if this extension participates in auto upgrade of minor version, or not. */
157
+ autoUpgradeMinorVersion?: boolean;
158
+ /** ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'. */
159
+ releaseTrain?: string;
160
+ /** Version of the extension for this extension, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'. */
161
+ version?: string;
162
+ /** Configuration settings, as name-value pairs for configuring this extension. */
163
+ configurationSettings?: {
164
+ [propertyName: string]: string;
165
+ };
166
+ /** Configuration settings that are sensitive, as name-value pairs for configuring this extension. */
167
+ configurationProtectedSettings?: {
168
+ [propertyName: string]: string;
169
+ };
170
+ }
171
+ /** Result of the request to list Extensions. It contains a list of Extension objects and a URL link to get the next set of results. */
172
+ export interface ExtensionsList {
173
+ /**
174
+ * List of Extensions within a Kubernetes cluster.
175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
176
+ */
177
+ readonly value?: Extension[];
178
+ /**
179
+ * URL to get the next set of extension objects, if any.
180
+ * NOTE: This property will not be serialized. It can only be populated by the server.
181
+ */
182
+ readonly nextLink?: string;
183
+ }
184
+ /** The current status of an async operation. */
185
+ export interface OperationStatusResult {
186
+ /** Fully qualified ID for the async operation. */
187
+ id?: string;
188
+ /** Name of the async operation. */
189
+ name?: string;
190
+ /** Operation status. */
191
+ status: string;
192
+ /** Additional information, if available. */
193
+ properties?: {
194
+ [propertyName: string]: string;
195
+ };
196
+ /**
197
+ * If present, details of the operation error.
198
+ * NOTE: This property will not be serialized. It can only be populated by the server.
199
+ */
200
+ readonly error?: ErrorDetail;
201
+ }
202
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
203
+ export interface ProxyResource extends Resource {
204
+ }
205
+ /** The Extension object. */
206
+ export interface Extension extends ProxyResource {
207
+ /** Identity of the Extension resource */
208
+ identity?: Identity;
209
+ /**
210
+ * Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
211
+ * NOTE: This property will not be serialized. It can only be populated by the server.
212
+ */
213
+ readonly systemData?: SystemData;
214
+ /** The plan information. */
215
+ plan?: Plan;
216
+ /** Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher. */
217
+ extensionType?: string;
218
+ /** Flag to note if this extension participates in auto upgrade of minor version, or not. */
219
+ autoUpgradeMinorVersion?: boolean;
220
+ /** ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'. */
221
+ releaseTrain?: string;
222
+ /** User-specified version of the extension for this extension to 'pin'. To use 'version', autoUpgradeMinorVersion must be 'false'. */
223
+ version?: string;
224
+ /** Scope at which the extension is installed. */
225
+ scope?: Scope;
226
+ /** Configuration settings, as name-value pairs for configuring this extension. */
227
+ configurationSettings?: {
228
+ [propertyName: string]: string;
229
+ };
230
+ /** Configuration settings that are sensitive, as name-value pairs for configuring this extension. */
231
+ configurationProtectedSettings?: {
232
+ [propertyName: string]: string;
233
+ };
234
+ /**
235
+ * Currently installed version of the extension.
236
+ * NOTE: This property will not be serialized. It can only be populated by the server.
237
+ */
238
+ readonly currentVersion?: string;
239
+ /**
240
+ * Status of installation of this extension.
241
+ * NOTE: This property will not be serialized. It can only be populated by the server.
242
+ */
243
+ readonly provisioningState?: ProvisioningState;
244
+ /** Status from this extension. */
245
+ statuses?: ExtensionStatus[];
246
+ /**
247
+ * Error information from the Agent - e.g. errors during installation.
248
+ * NOTE: This property will not be serialized. It can only be populated by the server.
249
+ */
250
+ readonly errorInfo?: ErrorDetail;
251
+ /**
252
+ * Custom Location settings properties.
253
+ * NOTE: This property will not be serialized. It can only be populated by the server.
254
+ */
255
+ readonly customLocationSettings?: {
256
+ [propertyName: string]: string;
257
+ };
258
+ /**
259
+ * Uri of the Helm package
260
+ * NOTE: This property will not be serialized. It can only be populated by the server.
261
+ */
262
+ readonly packageUri?: string;
263
+ /** Identity of the Extension resource in an AKS cluster */
264
+ aksAssignedIdentity?: ExtensionPropertiesAksAssignedIdentity;
265
+ /**
266
+ * Flag to note if this extension is a system extension
267
+ * NOTE: This property will not be serialized. It can only be populated by the server.
268
+ */
269
+ readonly isSystemExtension?: boolean;
270
+ }
271
+ /** Known values of {@link ProvisioningState} that the service accepts. */
272
+ export declare enum KnownProvisioningState {
273
+ /** Succeeded */
274
+ Succeeded = "Succeeded",
275
+ /** Failed */
276
+ Failed = "Failed",
277
+ /** Canceled */
278
+ Canceled = "Canceled",
279
+ /** Creating */
280
+ Creating = "Creating",
281
+ /** Updating */
282
+ Updating = "Updating",
283
+ /** Deleting */
284
+ Deleting = "Deleting"
285
+ }
286
+ /**
287
+ * Defines values for ProvisioningState. \
288
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
289
+ * this enum contains the known values that the service supports.
290
+ * ### Known values supported by the service
291
+ * **Succeeded** \
292
+ * **Failed** \
293
+ * **Canceled** \
294
+ * **Creating** \
295
+ * **Updating** \
296
+ * **Deleting**
297
+ */
298
+ export type ProvisioningState = string;
299
+ /** Known values of {@link LevelType} that the service accepts. */
300
+ export declare enum KnownLevelType {
301
+ /** Error */
302
+ Error = "Error",
303
+ /** Warning */
304
+ Warning = "Warning",
305
+ /** Information */
306
+ Information = "Information"
307
+ }
308
+ /**
309
+ * Defines values for LevelType. \
310
+ * {@link KnownLevelType} can be used interchangeably with LevelType,
311
+ * this enum contains the known values that the service supports.
312
+ * ### Known values supported by the service
313
+ * **Error** \
314
+ * **Warning** \
315
+ * **Information**
316
+ */
317
+ export type LevelType = string;
318
+ /** Known values of {@link CreatedByType} that the service accepts. */
319
+ export declare enum KnownCreatedByType {
320
+ /** User */
321
+ User = "User",
322
+ /** Application */
323
+ Application = "Application",
324
+ /** ManagedIdentity */
325
+ ManagedIdentity = "ManagedIdentity",
326
+ /** Key */
327
+ Key = "Key"
328
+ }
329
+ /**
330
+ * Defines values for CreatedByType. \
331
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
332
+ * this enum contains the known values that the service supports.
333
+ * ### Known values supported by the service
334
+ * **User** \
335
+ * **Application** \
336
+ * **ManagedIdentity** \
337
+ * **Key**
338
+ */
339
+ export type CreatedByType = string;
340
+ /** Defines values for AKSIdentityType. */
341
+ export type AKSIdentityType = "SystemAssigned" | "UserAssigned";
342
+ /** Optional parameters. */
343
+ export interface ExtensionsCreateOptionalParams extends coreClient.OperationOptions {
344
+ /** Delay to wait until next poll, in milliseconds. */
345
+ updateIntervalInMs?: number;
346
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
347
+ resumeFrom?: string;
348
+ }
349
+ /** Contains response data for the create operation. */
350
+ export type ExtensionsCreateResponse = Extension;
351
+ /** Optional parameters. */
352
+ export interface ExtensionsGetOptionalParams extends coreClient.OperationOptions {
353
+ }
354
+ /** Contains response data for the get operation. */
355
+ export type ExtensionsGetResponse = Extension;
356
+ /** Optional parameters. */
357
+ export interface ExtensionsDeleteOptionalParams extends coreClient.OperationOptions {
358
+ /** Delete the extension resource in Azure - not the normal asynchronous delete. */
359
+ forceDelete?: boolean;
360
+ /** Delay to wait until next poll, in milliseconds. */
361
+ updateIntervalInMs?: number;
362
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
363
+ resumeFrom?: string;
364
+ }
365
+ /** Optional parameters. */
366
+ export interface ExtensionsUpdateOptionalParams extends coreClient.OperationOptions {
367
+ /** Delay to wait until next poll, in milliseconds. */
368
+ updateIntervalInMs?: number;
369
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
370
+ resumeFrom?: string;
371
+ }
372
+ /** Contains response data for the update operation. */
373
+ export type ExtensionsUpdateResponse = Extension;
374
+ /** Optional parameters. */
375
+ export interface ExtensionsListOptionalParams extends coreClient.OperationOptions {
376
+ }
377
+ /** Contains response data for the list operation. */
378
+ export type ExtensionsListResponse = ExtensionsList;
379
+ /** Optional parameters. */
380
+ export interface ExtensionsListNextOptionalParams extends coreClient.OperationOptions {
381
+ }
382
+ /** Contains response data for the listNext operation. */
383
+ export type ExtensionsListNextResponse = ExtensionsList;
384
+ /** Optional parameters. */
385
+ export interface OperationStatusGetOptionalParams extends coreClient.OperationOptions {
386
+ }
387
+ /** Contains response data for the get operation. */
388
+ export type OperationStatusGetResponse = OperationStatusResult;
389
+ /** Optional parameters. */
390
+ export interface ExtensionsClientOptionalParams extends coreClient.ServiceClientOptions {
391
+ /** server parameter */
392
+ $host?: string;
393
+ /** Api Version */
394
+ apiVersion?: string;
395
+ /** Overrides client endpoint. */
396
+ endpoint?: string;
397
+ }
398
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,mFAAmF;AACnF,MAAM,WAAW,KAAK;IACpB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;AAED,2DAA2D;AAC3D,MAAM,WAAW,YAAY;IAC3B,kJAAkJ;IAClJ,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,6DAA6D;AAC7D,MAAM,WAAW,cAAc;IAC7B,6IAA6I;IAC7I,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,iCAAiC;AACjC,MAAM,WAAW,eAAe;IAC9B,4CAA4C;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAwB;AACxB,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACjC;;;OAGG;IACH,QAAQ,CAAC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AAC;CACnB"}
@@ -0,0 +1,46 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ /** Known values of {@link ProvisioningState} that the service accepts. */
9
+ export var KnownProvisioningState;
10
+ (function (KnownProvisioningState) {
11
+ /** Succeeded */
12
+ KnownProvisioningState["Succeeded"] = "Succeeded";
13
+ /** Failed */
14
+ KnownProvisioningState["Failed"] = "Failed";
15
+ /** Canceled */
16
+ KnownProvisioningState["Canceled"] = "Canceled";
17
+ /** Creating */
18
+ KnownProvisioningState["Creating"] = "Creating";
19
+ /** Updating */
20
+ KnownProvisioningState["Updating"] = "Updating";
21
+ /** Deleting */
22
+ KnownProvisioningState["Deleting"] = "Deleting";
23
+ })(KnownProvisioningState || (KnownProvisioningState = {}));
24
+ /** Known values of {@link LevelType} that the service accepts. */
25
+ export var KnownLevelType;
26
+ (function (KnownLevelType) {
27
+ /** Error */
28
+ KnownLevelType["Error"] = "Error";
29
+ /** Warning */
30
+ KnownLevelType["Warning"] = "Warning";
31
+ /** Information */
32
+ KnownLevelType["Information"] = "Information";
33
+ })(KnownLevelType || (KnownLevelType = {}));
34
+ /** Known values of {@link CreatedByType} that the service accepts. */
35
+ export var KnownCreatedByType;
36
+ (function (KnownCreatedByType) {
37
+ /** User */
38
+ KnownCreatedByType["User"] = "User";
39
+ /** Application */
40
+ KnownCreatedByType["Application"] = "Application";
41
+ /** ManagedIdentity */
42
+ KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
43
+ /** Key */
44
+ KnownCreatedByType["Key"] = "Key";
45
+ })(KnownCreatedByType || (KnownCreatedByType = {}));
46
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAqRH,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBAaX;AAbD,WAAY,sBAAsB;IAChC,gBAAgB;IAChB,iDAAuB,CAAA;IACvB,aAAa;IACb,2CAAiB,CAAA;IACjB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;IACrB,eAAe;IACf,+CAAqB,CAAA;AACvB,CAAC,EAbW,sBAAsB,KAAtB,sBAAsB,QAajC;AAgBD,kEAAkE;AAClE,MAAM,CAAN,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,YAAY;IACZ,iCAAe,CAAA;IACf,cAAc;IACd,qCAAmB,CAAA;IACnB,kBAAkB;IAClB,6CAA2B,CAAA;AAC7B,CAAC,EAPW,cAAc,KAAd,cAAc,QAOzB;AAaD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B","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/** Scope of the extension. It can be either Cluster or Namespace; but not both. */\nexport interface Scope {\n /** Specifies that the scope of the extension is Cluster */\n cluster?: ScopeCluster;\n /** Specifies that the scope of the extension is Namespace */\n namespace?: ScopeNamespace;\n}\n\n/** Specifies that the scope of the extension is Cluster */\nexport interface ScopeCluster {\n /** Namespace where the extension Release must be placed, for a Cluster scoped extension. If this namespace does not exist, it will be created */\n releaseNamespace?: string;\n}\n\n/** Specifies that the scope of the extension is Namespace */\nexport interface ScopeNamespace {\n /** Namespace where the extension will be created for an Namespace scoped extension. If this namespace does not exist, it will be created */\n targetNamespace?: string;\n}\n\n/** Status from the extension. */\nexport interface ExtensionStatus {\n /** Status code provided by the Extension */\n code?: string;\n /** Short description of status of the extension. */\n displayStatus?: string;\n /** Level of the status. */\n level?: LevelType;\n /** Detailed message of the status from the Extension. */\n message?: string;\n /** DateLiteral (per ISO8601) noting the time of installation status. */\n time?: string;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Identity of the Extension resource in an AKS cluster */\nexport interface ExtensionPropertiesAksAssignedIdentity {\n /**\n * The principal ID of resource identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The identity type. */\n type?: AKSIdentityType;\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /**\n * The principal ID of resource identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The identity type. */\n type?: \"SystemAssigned\";\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Plan for the resource. */\nexport interface Plan {\n /** A user defined name of the 3rd Party Artifact that is being procured. */\n name: string;\n /** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */\n publisher: string;\n /** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */\n product: string;\n /** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */\n promotionCode?: string;\n /** The version of the desired product/artifact. */\n version?: string;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The Extension Patch Request object. */\nexport interface PatchExtension {\n /** Flag to note if this extension participates in auto upgrade of minor version, or not. */\n autoUpgradeMinorVersion?: boolean;\n /** ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'. */\n releaseTrain?: string;\n /** Version of the extension for this extension, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'. */\n version?: string;\n /** Configuration settings, as name-value pairs for configuring this extension. */\n configurationSettings?: { [propertyName: string]: string };\n /** Configuration settings that are sensitive, as name-value pairs for configuring this extension. */\n configurationProtectedSettings?: { [propertyName: string]: string };\n}\n\n/** Result of the request to list Extensions. It contains a list of Extension objects and a URL link to get the next set of results. */\nexport interface ExtensionsList {\n /**\n * List of Extensions within a Kubernetes cluster.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Extension[];\n /**\n * URL to get the next set of extension objects, if any.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** The current status of an async operation. */\nexport interface OperationStatusResult {\n /** Fully qualified ID for the async operation. */\n id?: string;\n /** Name of the async operation. */\n name?: string;\n /** Operation status. */\n status: string;\n /** Additional information, if available. */\n properties?: { [propertyName: string]: string };\n /**\n * If present, details of the operation error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly error?: ErrorDetail;\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\n/** The Extension object. */\nexport interface Extension extends ProxyResource {\n /** Identity of the Extension resource */\n identity?: Identity;\n /**\n * Top level metadata https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** The plan information. */\n plan?: Plan;\n /** Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher. */\n extensionType?: string;\n /** Flag to note if this extension participates in auto upgrade of minor version, or not. */\n autoUpgradeMinorVersion?: boolean;\n /** ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'. */\n releaseTrain?: string;\n /** User-specified version of the extension for this extension to 'pin'. To use 'version', autoUpgradeMinorVersion must be 'false'. */\n version?: string;\n /** Scope at which the extension is installed. */\n scope?: Scope;\n /** Configuration settings, as name-value pairs for configuring this extension. */\n configurationSettings?: { [propertyName: string]: string };\n /** Configuration settings that are sensitive, as name-value pairs for configuring this extension. */\n configurationProtectedSettings?: { [propertyName: string]: string };\n /**\n * Currently installed version of the extension.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly currentVersion?: string;\n /**\n * Status of installation of this extension.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n /** Status from this extension. */\n statuses?: ExtensionStatus[];\n /**\n * Error information from the Agent - e.g. errors during installation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly errorInfo?: ErrorDetail;\n /**\n * Custom Location settings properties.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly customLocationSettings?: { [propertyName: string]: string };\n /**\n * Uri of the Helm package\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly packageUri?: string;\n /** Identity of the Extension resource in an AKS cluster */\n aksAssignedIdentity?: ExtensionPropertiesAksAssignedIdentity;\n /**\n * Flag to note if this extension is a system extension\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isSystemExtension?: boolean;\n}\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Creating */\n Creating = \"Creating\",\n /** Updating */\n Updating = \"Updating\",\n /** Deleting */\n Deleting = \"Deleting\",\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled** \\\n * **Creating** \\\n * **Updating** \\\n * **Deleting**\n */\nexport type ProvisioningState = string;\n\n/** Known values of {@link LevelType} that the service accepts. */\nexport enum KnownLevelType {\n /** Error */\n Error = \"Error\",\n /** Warning */\n Warning = \"Warning\",\n /** Information */\n Information = \"Information\",\n}\n\n/**\n * Defines values for LevelType. \\\n * {@link KnownLevelType} can be used interchangeably with LevelType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Error** \\\n * **Warning** \\\n * **Information**\n */\nexport type LevelType = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\",\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n/** Defines values for AKSIdentityType. */\nexport type AKSIdentityType = \"SystemAssigned\" | \"UserAssigned\";\n\n/** Optional parameters. */\nexport interface ExtensionsCreateOptionalParams extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the create operation. */\nexport type ExtensionsCreateResponse = Extension;\n\n/** Optional parameters. */\nexport interface ExtensionsGetOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ExtensionsGetResponse = Extension;\n\n/** Optional parameters. */\nexport interface ExtensionsDeleteOptionalParams extends coreClient.OperationOptions {\n /** Delete the extension resource in Azure - not the normal asynchronous delete. */\n forceDelete?: boolean;\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ExtensionsUpdateOptionalParams extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the update operation. */\nexport type ExtensionsUpdateResponse = Extension;\n\n/** Optional parameters. */\nexport interface ExtensionsListOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type ExtensionsListResponse = ExtensionsList;\n\n/** Optional parameters. */\nexport interface ExtensionsListNextOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type ExtensionsListNextResponse = ExtensionsList;\n\n/** Optional parameters. */\nexport interface OperationStatusGetOptionalParams extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type OperationStatusGetResponse = OperationStatusResult;\n\n/** Optional parameters. */\nexport interface ExtensionsClientOptionalParams extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -0,0 +1,19 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ export declare const Scope: coreClient.CompositeMapper;
3
+ export declare const ScopeCluster: coreClient.CompositeMapper;
4
+ export declare const ScopeNamespace: coreClient.CompositeMapper;
5
+ export declare const ExtensionStatus: coreClient.CompositeMapper;
6
+ export declare const ErrorDetail: coreClient.CompositeMapper;
7
+ export declare const ErrorAdditionalInfo: coreClient.CompositeMapper;
8
+ export declare const ExtensionPropertiesAksAssignedIdentity: coreClient.CompositeMapper;
9
+ export declare const Identity: coreClient.CompositeMapper;
10
+ export declare const SystemData: coreClient.CompositeMapper;
11
+ export declare const Plan: coreClient.CompositeMapper;
12
+ export declare const Resource: coreClient.CompositeMapper;
13
+ export declare const ErrorResponse: coreClient.CompositeMapper;
14
+ export declare const PatchExtension: coreClient.CompositeMapper;
15
+ export declare const ExtensionsList: coreClient.CompositeMapper;
16
+ export declare const OperationStatusResult: coreClient.CompositeMapper;
17
+ export declare const ProxyResource: coreClient.CompositeMapper;
18
+ export declare const Extension: coreClient.CompositeMapper;
19
+ //# sourceMappingURL=mappers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,KAAK,EAAE,UAAU,CAAC,eAqB9B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,eAarC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,eAavC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,UAAU,CAAC,eAsCxC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,eAsDpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAsB5C,CAAC;AAEF,eAAO,MAAM,sCAAsC,EAAE,UAAU,CAAC,eA4B/D,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,UAAU,CAAC,eA6BjC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eA2CnC,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,UAAU,CAAC,eAwC7B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,UAAU,CAAC,eA4BjC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eActC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,eA4CvC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,eA2BvC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,UAAU,CAAC,eAyC9C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eAQtC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eAkJlC,CAAC"}