@azure/arm-servicefabricmesh 0.1.0 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +75 -73
  4. package/dist/index.js +5478 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/models/index.d.ts +1366 -0
  13. package/dist-esm/src/models/index.d.ts.map +1 -0
  14. package/dist-esm/src/models/index.js +121 -0
  15. package/dist-esm/src/models/index.js.map +1 -0
  16. package/dist-esm/src/models/mappers.d.ts +105 -0
  17. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  18. package/{esm → dist-esm/src}/models/mappers.js +1264 -1320
  19. package/dist-esm/src/models/mappers.js.map +1 -0
  20. package/dist-esm/src/models/parameters.d.ts +25 -0
  21. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/parameters.js +104 -62
  23. package/dist-esm/src/models/parameters.js.map +1 -0
  24. package/dist-esm/src/operations/application.d.ts +82 -0
  25. package/dist-esm/src/operations/application.d.ts.map +1 -0
  26. package/dist-esm/src/operations/application.js +340 -0
  27. package/dist-esm/src/operations/application.js.map +1 -0
  28. package/dist-esm/src/operations/codePackage.d.ts +23 -0
  29. package/dist-esm/src/operations/codePackage.d.ts.map +1 -0
  30. package/dist-esm/src/operations/codePackage.js +66 -0
  31. package/dist-esm/src/operations/codePackage.js.map +1 -0
  32. package/dist-esm/src/operations/gateway.d.ts +83 -0
  33. package/dist-esm/src/operations/gateway.d.ts.map +1 -0
  34. package/dist-esm/src/operations/gateway.js +341 -0
  35. package/dist-esm/src/operations/gateway.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +3 -5
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/network.d.ts +82 -0
  41. package/dist-esm/src/operations/network.d.ts.map +1 -0
  42. package/dist-esm/src/operations/network.js +340 -0
  43. package/dist-esm/src/operations/network.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/secret.d.ts +81 -0
  49. package/dist-esm/src/operations/secret.d.ts.map +1 -0
  50. package/dist-esm/src/operations/secret.js +339 -0
  51. package/dist-esm/src/operations/secret.js.map +1 -0
  52. package/dist-esm/src/operations/secretValueOperations.d.ts +81 -0
  53. package/dist-esm/src/operations/secretValueOperations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/secretValueOperations.js +303 -0
  55. package/dist-esm/src/operations/secretValueOperations.js.map +1 -0
  56. package/dist-esm/src/operations/service.d.ts +49 -0
  57. package/dist-esm/src/operations/service.d.ts.map +1 -0
  58. package/dist-esm/src/operations/service.js +177 -0
  59. package/dist-esm/src/operations/service.js.map +1 -0
  60. package/dist-esm/src/operations/serviceReplica.d.ts +53 -0
  61. package/dist-esm/src/operations/serviceReplica.d.ts.map +1 -0
  62. package/dist-esm/src/operations/serviceReplica.js +196 -0
  63. package/dist-esm/src/operations/serviceReplica.js.map +1 -0
  64. package/dist-esm/src/operations/volume.d.ts +81 -0
  65. package/dist-esm/src/operations/volume.d.ts.map +1 -0
  66. package/dist-esm/src/operations/volume.js +339 -0
  67. package/dist-esm/src/operations/volume.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/application.d.ts +44 -0
  69. package/dist-esm/src/operationsInterfaces/application.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/application.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/application.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/codePackage.d.ts +15 -0
  73. package/dist-esm/src/operationsInterfaces/codePackage.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/codePackage.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/codePackage.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/gateway.d.ts +45 -0
  77. package/dist-esm/src/operationsInterfaces/gateway.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/gateway.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/gateway.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
  81. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/index.js +18 -0
  83. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/network.d.ts +44 -0
  85. package/dist-esm/src/operationsInterfaces/network.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/network.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/network.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  89. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/secret.d.ts +43 -0
  93. package/dist-esm/src/operationsInterfaces/secret.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/secret.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/secret.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts +55 -0
  97. package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/secretValueOperations.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/secretValueOperations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/service.d.ts +23 -0
  101. package/dist-esm/src/operationsInterfaces/service.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/service.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/service.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts +25 -0
  105. package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/serviceReplica.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/serviceReplica.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/volume.d.ts +43 -0
  109. package/dist-esm/src/operationsInterfaces/volume.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/volume.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/volume.js.map +1 -0
  112. package/dist-esm/src/serviceFabricMeshManagementClient.d.ts +27 -0
  113. package/dist-esm/src/serviceFabricMeshManagementClient.d.ts.map +1 -0
  114. package/dist-esm/src/serviceFabricMeshManagementClient.js +60 -0
  115. package/dist-esm/src/serviceFabricMeshManagementClient.js.map +1 -0
  116. package/dist-esm/test/sampleTest.d.ts +2 -0
  117. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  118. package/dist-esm/test/sampleTest.js +40 -0
  119. package/dist-esm/test/sampleTest.js.map +1 -0
  120. package/package.json +87 -26
  121. package/review/arm-servicefabricmesh.api.md +1210 -0
  122. package/rollup.config.js +184 -27
  123. package/src/index.ts +12 -0
  124. package/src/models/index.ts +1603 -0
  125. package/{lib → src}/models/mappers.ts +1315 -1344
  126. package/src/models/parameters.ts +250 -0
  127. package/src/operations/application.ts +418 -0
  128. package/src/operations/codePackage.ts +88 -0
  129. package/src/operations/gateway.ts +419 -0
  130. package/{lib → src}/operations/index.ts +3 -5
  131. package/src/operations/network.ts +418 -0
  132. package/src/operations/operations.ts +137 -0
  133. package/src/operations/secret.ts +417 -0
  134. package/src/operations/secretValueOperations.ts +403 -0
  135. package/src/operations/service.ts +241 -0
  136. package/src/operations/serviceReplica.ts +271 -0
  137. package/src/operations/volume.ts +417 -0
  138. package/src/operationsInterfaces/application.ts +80 -0
  139. package/src/operationsInterfaces/codePackage.ts +33 -0
  140. package/src/operationsInterfaces/gateway.ts +81 -0
  141. package/src/operationsInterfaces/index.ts +18 -0
  142. package/src/operationsInterfaces/network.ts +80 -0
  143. package/src/operationsInterfaces/operations.ts +22 -0
  144. package/src/operationsInterfaces/secret.ts +79 -0
  145. package/src/operationsInterfaces/secretValueOperations.ts +99 -0
  146. package/src/operationsInterfaces/service.ts +46 -0
  147. package/src/operationsInterfaces/serviceReplica.ts +50 -0
  148. package/src/operationsInterfaces/volume.ts +79 -0
  149. package/src/serviceFabricMeshManagementClient.ts +115 -0
  150. package/tsconfig.json +20 -7
  151. package/types/arm-servicefabricmesh.d.ts +1940 -0
  152. package/types/tsdoc-metadata.json +11 -0
  153. package/dist/arm-servicefabricmesh.js +0 -5353
  154. package/dist/arm-servicefabricmesh.js.map +0 -1
  155. package/dist/arm-servicefabricmesh.min.js +0 -1
  156. package/dist/arm-servicefabricmesh.min.js.map +0 -1
  157. package/esm/models/applicationMappers.d.ts +0 -2
  158. package/esm/models/applicationMappers.d.ts.map +0 -1
  159. package/esm/models/applicationMappers.js +0 -11
  160. package/esm/models/applicationMappers.js.map +0 -1
  161. package/esm/models/codePackageMappers.d.ts +0 -2
  162. package/esm/models/codePackageMappers.d.ts.map +0 -1
  163. package/esm/models/codePackageMappers.js +0 -11
  164. package/esm/models/codePackageMappers.js.map +0 -1
  165. package/esm/models/gatewayMappers.d.ts +0 -2
  166. package/esm/models/gatewayMappers.d.ts.map +0 -1
  167. package/esm/models/gatewayMappers.js +0 -11
  168. package/esm/models/gatewayMappers.js.map +0 -1
  169. package/esm/models/index.d.ts +0 -2938
  170. package/esm/models/index.d.ts.map +0 -1
  171. package/esm/models/index.js +0 -10
  172. package/esm/models/index.js.map +0 -1
  173. package/esm/models/mappers.d.ts +0 -102
  174. package/esm/models/mappers.d.ts.map +0 -1
  175. package/esm/models/mappers.js.map +0 -1
  176. package/esm/models/networkMappers.d.ts +0 -2
  177. package/esm/models/networkMappers.d.ts.map +0 -1
  178. package/esm/models/networkMappers.js +0 -11
  179. package/esm/models/networkMappers.js.map +0 -1
  180. package/esm/models/operationsMappers.d.ts +0 -2
  181. package/esm/models/operationsMappers.d.ts.map +0 -1
  182. package/esm/models/operationsMappers.js +0 -11
  183. package/esm/models/operationsMappers.js.map +0 -1
  184. package/esm/models/parameters.d.ts +0 -17
  185. package/esm/models/parameters.d.ts.map +0 -1
  186. package/esm/models/parameters.js.map +0 -1
  187. package/esm/models/secretMappers.d.ts +0 -2
  188. package/esm/models/secretMappers.d.ts.map +0 -1
  189. package/esm/models/secretMappers.js +0 -11
  190. package/esm/models/secretMappers.js.map +0 -1
  191. package/esm/models/secretValueOperationsMappers.d.ts +0 -2
  192. package/esm/models/secretValueOperationsMappers.d.ts.map +0 -1
  193. package/esm/models/secretValueOperationsMappers.js +0 -11
  194. package/esm/models/secretValueOperationsMappers.js.map +0 -1
  195. package/esm/models/serviceMappers.d.ts +0 -2
  196. package/esm/models/serviceMappers.d.ts.map +0 -1
  197. package/esm/models/serviceMappers.js +0 -11
  198. package/esm/models/serviceMappers.js.map +0 -1
  199. package/esm/models/serviceReplicaMappers.d.ts +0 -2
  200. package/esm/models/serviceReplicaMappers.d.ts.map +0 -1
  201. package/esm/models/serviceReplicaMappers.js +0 -11
  202. package/esm/models/serviceReplicaMappers.js.map +0 -1
  203. package/esm/models/volumeMappers.d.ts +0 -2
  204. package/esm/models/volumeMappers.d.ts.map +0 -1
  205. package/esm/models/volumeMappers.js +0 -11
  206. package/esm/models/volumeMappers.js.map +0 -1
  207. package/esm/operations/application.d.ts +0 -162
  208. package/esm/operations/application.d.ts.map +0 -1
  209. package/esm/operations/application.js +0 -238
  210. package/esm/operations/application.js.map +0 -1
  211. package/esm/operations/codePackage.d.ts +0 -44
  212. package/esm/operations/codePackage.d.ts.map +0 -1
  213. package/esm/operations/codePackage.js +0 -65
  214. package/esm/operations/codePackage.js.map +0 -1
  215. package/esm/operations/gateway.d.ts +0 -163
  216. package/esm/operations/gateway.d.ts.map +0 -1
  217. package/esm/operations/gateway.js +0 -238
  218. package/esm/operations/gateway.js.map +0 -1
  219. package/esm/operations/index.d.ts.map +0 -1
  220. package/esm/operations/index.js.map +0 -1
  221. package/esm/operations/network.d.ts +0 -162
  222. package/esm/operations/network.d.ts.map +0 -1
  223. package/esm/operations/network.js +0 -238
  224. package/esm/operations/network.js.map +0 -1
  225. package/esm/operations/operations.d.ts +0 -48
  226. package/esm/operations/operations.d.ts.map +0 -1
  227. package/esm/operations/operations.js +0 -77
  228. package/esm/operations/operations.js.map +0 -1
  229. package/esm/operations/secret.d.ts +0 -162
  230. package/esm/operations/secret.d.ts.map +0 -1
  231. package/esm/operations/secret.js +0 -238
  232. package/esm/operations/secret.js.map +0 -1
  233. package/esm/operations/secretValueOperations.d.ts +0 -175
  234. package/esm/operations/secretValueOperations.d.ts.map +0 -1
  235. package/esm/operations/secretValueOperations.js +0 -226
  236. package/esm/operations/secretValueOperations.js.map +0 -1
  237. package/esm/operations/service.d.ts +0 -82
  238. package/esm/operations/service.d.ts.map +0 -1
  239. package/esm/operations/service.js +0 -117
  240. package/esm/operations/service.js.map +0 -1
  241. package/esm/operations/serviceReplica.d.ts +0 -88
  242. package/esm/operations/serviceReplica.d.ts.map +0 -1
  243. package/esm/operations/serviceReplica.js +0 -121
  244. package/esm/operations/serviceReplica.js.map +0 -1
  245. package/esm/operations/volume.d.ts +0 -162
  246. package/esm/operations/volume.d.ts.map +0 -1
  247. package/esm/operations/volume.js +0 -238
  248. package/esm/operations/volume.js.map +0 -1
  249. package/esm/serviceFabricMeshManagementClient.d.ts +0 -27
  250. package/esm/serviceFabricMeshManagementClient.d.ts.map +0 -1
  251. package/esm/serviceFabricMeshManagementClient.js +0 -42
  252. package/esm/serviceFabricMeshManagementClient.js.map +0 -1
  253. package/esm/serviceFabricMeshManagementClientContext.d.ts +0 -16
  254. package/esm/serviceFabricMeshManagementClientContext.d.ts.map +0 -1
  255. package/esm/serviceFabricMeshManagementClientContext.js +0 -56
  256. package/esm/serviceFabricMeshManagementClientContext.js.map +0 -1
  257. package/lib/models/applicationMappers.ts +0 -76
  258. package/lib/models/codePackageMappers.ts +0 -18
  259. package/lib/models/gatewayMappers.ts +0 -76
  260. package/lib/models/index.ts +0 -3097
  261. package/lib/models/networkMappers.ts +0 -76
  262. package/lib/models/operationsMappers.ts +0 -20
  263. package/lib/models/parameters.ts +0 -175
  264. package/lib/models/secretMappers.ts +0 -76
  265. package/lib/models/secretValueOperationsMappers.ts +0 -77
  266. package/lib/models/serviceMappers.ts +0 -76
  267. package/lib/models/serviceReplicaMappers.ts +0 -40
  268. package/lib/models/volumeMappers.ts +0 -76
  269. package/lib/operations/application.ts +0 -427
  270. package/lib/operations/codePackage.ts +0 -104
  271. package/lib/operations/gateway.ts +0 -428
  272. package/lib/operations/network.ts +0 -427
  273. package/lib/operations/operations.ts +0 -125
  274. package/lib/operations/secret.ts +0 -427
  275. package/lib/operations/secretValueOperations.ts +0 -423
  276. package/lib/operations/service.ts +0 -204
  277. package/lib/operations/serviceReplica.ts +0 -214
  278. package/lib/operations/volume.ts +0 -427
  279. package/lib/serviceFabricMeshManagementClient.ts +0 -60
  280. package/lib/serviceFabricMeshManagementClientContext.ts +0 -62
@@ -1,3097 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
12
- import * as msRest from "@azure/ms-rest-js";
13
-
14
- export { BaseResource, CloudError };
15
-
16
-
17
- /**
18
- * @interface
19
- * An interface representing AvailableOperationDisplay.
20
- * An operation available at the listed Azure resource provider.
21
- *
22
- */
23
- export interface AvailableOperationDisplay {
24
- /**
25
- * @member {string} [provider] Name of the operation provider.
26
- */
27
- provider?: string;
28
- /**
29
- * @member {string} [resource] Name of the resource on which the operation is
30
- * available.
31
- */
32
- resource?: string;
33
- /**
34
- * @member {string} [operation] Name of the available operation.
35
- */
36
- operation?: string;
37
- /**
38
- * @member {string} [description] Description of the available operation.
39
- */
40
- description?: string;
41
- }
42
-
43
- /**
44
- * @interface
45
- * An interface representing ErrorDetailsModel.
46
- * Error model details information
47
- *
48
- */
49
- export interface ErrorDetailsModel {
50
- /**
51
- * @member {string} code
52
- */
53
- code: string;
54
- /**
55
- * @member {string} message Error message.
56
- */
57
- message: string;
58
- }
59
-
60
- /**
61
- * @interface
62
- * An interface representing ErrorErrorModel.
63
- * Error model information
64
- *
65
- */
66
- export interface ErrorErrorModel {
67
- /**
68
- * @member {string} code
69
- */
70
- code: string;
71
- /**
72
- * @member {string} [message] Error message.
73
- */
74
- message?: string;
75
- /**
76
- * @member {string} [innerError]
77
- */
78
- innerError?: string;
79
- /**
80
- * @member {ErrorDetailsModel[]} [details] List of error message details.
81
- */
82
- details?: ErrorDetailsModel[];
83
- }
84
-
85
- /**
86
- * @interface
87
- * An interface representing ErrorModel.
88
- * The error details.
89
- *
90
- */
91
- export interface ErrorModel {
92
- /**
93
- * @member {ErrorErrorModel} error Error model information
94
- */
95
- error: ErrorErrorModel;
96
- }
97
-
98
- /**
99
- * @interface
100
- * An interface representing OperationResult.
101
- * List of operations available at the listed Azure resource provider.
102
- *
103
- */
104
- export interface OperationResult {
105
- /**
106
- * @member {string} [name] The name of the operation.
107
- */
108
- name?: string;
109
- /**
110
- * @member {AvailableOperationDisplay} [display] The object that represents
111
- * the operation.
112
- */
113
- display?: AvailableOperationDisplay;
114
- /**
115
- * @member {string} [origin] Origin result
116
- */
117
- origin?: string;
118
- /**
119
- * @member {string} [nextLink] The URL to use for getting the next set of
120
- * results.
121
- */
122
- nextLink?: string;
123
- }
124
-
125
- /**
126
- * @interface
127
- * An interface representing ProvisionedResourceProperties.
128
- * Describes common properties of a provisioned resource.
129
- *
130
- */
131
- export interface ProvisionedResourceProperties {
132
- /**
133
- * @member {string} [provisioningState] State of the resource.
134
- * **NOTE: This property will not be serialized. It can only be populated by
135
- * the server.**
136
- */
137
- readonly provisioningState?: string;
138
- }
139
-
140
- /**
141
- * @interface
142
- * An interface representing Resource.
143
- * The resource model definition for Azure Resource Manager resource.
144
- *
145
- * @extends BaseResource
146
- */
147
- export interface Resource extends BaseResource {
148
- /**
149
- * @member {string} [id] Fully qualified identifier for the resource. Ex -
150
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
151
- * **NOTE: This property will not be serialized. It can only be populated by
152
- * the server.**
153
- */
154
- readonly id?: string;
155
- /**
156
- * @member {string} [name] The name of the resource
157
- * **NOTE: This property will not be serialized. It can only be populated by
158
- * the server.**
159
- */
160
- readonly name?: string;
161
- /**
162
- * @member {string} [type] The type of the resource. Ex-
163
- * Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
164
- * **NOTE: This property will not be serialized. It can only be populated by
165
- * the server.**
166
- */
167
- readonly type?: string;
168
- }
169
-
170
- /**
171
- * @interface
172
- * An interface representing ProxyResource.
173
- * The resource model definition for Azure Resource Manager proxy resource. It
174
- * will have everything other than required location and tags.
175
- *
176
- * @extends Resource
177
- */
178
- export interface ProxyResource extends Resource {
179
- }
180
-
181
- /**
182
- * @interface
183
- * An interface representing ManagedProxyResource.
184
- * The resource model definition for Azure Resource Manager proxy resource. It
185
- * will have everything other than required location and tags. This proxy
186
- * resource is explicitly created or updated by including it in the parent
187
- * resource.
188
- *
189
- * @extends BaseResource
190
- */
191
- export interface ManagedProxyResource extends BaseResource {
192
- /**
193
- * @member {string} [id] Fully qualified identifier for the resource. Ex -
194
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
195
- * **NOTE: This property will not be serialized. It can only be populated by
196
- * the server.**
197
- */
198
- readonly id?: string;
199
- /**
200
- * @member {string} [name] The name of the resource
201
- */
202
- name?: string;
203
- /**
204
- * @member {string} [type] The type of the resource. Ex-
205
- * Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
206
- * **NOTE: This property will not be serialized. It can only be populated by
207
- * the server.**
208
- */
209
- readonly type?: string;
210
- }
211
-
212
- /**
213
- * @interface
214
- * An interface representing TrackedResource.
215
- * The resource model definition for Azure Resource Manager tracked top-level
216
- * resource.
217
- *
218
- * @extends Resource
219
- */
220
- export interface TrackedResource extends Resource {
221
- /**
222
- * @member {{ [propertyName: string]: string }} [tags] Resource tags.
223
- */
224
- tags?: { [propertyName: string]: string };
225
- /**
226
- * @member {string} location The geo-location where the resource lives
227
- */
228
- location: string;
229
- }
230
-
231
- /**
232
- * Contains the possible cases for SecretResourcePropertiesBase.
233
- */
234
- export type SecretResourcePropertiesBaseUnion = SecretResourcePropertiesBase | SecretResourcePropertiesUnion;
235
-
236
- /**
237
- * @interface
238
- * An interface representing SecretResourcePropertiesBase.
239
- * This type describes the properties of a secret resource, including its kind.
240
- *
241
- */
242
- export interface SecretResourcePropertiesBase {
243
- /**
244
- * @member {string} kind Polymorphic Discriminator
245
- */
246
- kind: "SecretResourcePropertiesBase";
247
- /**
248
- * @member {string} [provisioningState] State of the resource.
249
- * **NOTE: This property will not be serialized. It can only be populated by
250
- * the server.**
251
- */
252
- readonly provisioningState?: string;
253
- }
254
-
255
- /**
256
- * Contains the possible cases for SecretResourceProperties.
257
- */
258
- export type SecretResourcePropertiesUnion = SecretResourceProperties | InlinedValueSecretResourceProperties;
259
-
260
- /**
261
- * @interface
262
- * An interface representing SecretResourceProperties.
263
- * Describes the properties of a secret resource.
264
- *
265
- */
266
- export interface SecretResourceProperties {
267
- /**
268
- * @member {string} kind Polymorphic Discriminator
269
- */
270
- kind: "SecretResourceProperties";
271
- /**
272
- * @member {string} [provisioningState] State of the resource.
273
- * **NOTE: This property will not be serialized. It can only be populated by
274
- * the server.**
275
- */
276
- readonly provisioningState?: string;
277
- /**
278
- * @member {string} [description] User readable description of the secret.
279
- */
280
- description?: string;
281
- /**
282
- * @member {ResourceStatus} [status] Status of the resource. Possible values
283
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
284
- * **NOTE: This property will not be serialized. It can only be populated by
285
- * the server.**
286
- */
287
- readonly status?: ResourceStatus;
288
- /**
289
- * @member {string} [statusDetails] Gives additional information about the
290
- * current status of the secret.
291
- * **NOTE: This property will not be serialized. It can only be populated by
292
- * the server.**
293
- */
294
- readonly statusDetails?: string;
295
- /**
296
- * @member {string} [contentType] The type of the content stored in the
297
- * secret value. The value of this property is opaque to Service Fabric. Once
298
- * set, the value of this property cannot be changed.
299
- */
300
- contentType?: string;
301
- }
302
-
303
- /**
304
- * @interface
305
- * An interface representing InlinedValueSecretResourceProperties.
306
- * Describes the properties of a secret resource whose value is provided
307
- * explicitly as plaintext. The secret resource may have multiple values, each
308
- * being uniquely versioned. The secret value of each version is stored
309
- * encrypted, and delivered as plaintext into the context of applications
310
- * referencing it.
311
- *
312
- */
313
- export interface InlinedValueSecretResourceProperties {
314
- /**
315
- * @member {string} kind Polymorphic Discriminator
316
- */
317
- kind: "inlinedValue";
318
- /**
319
- * @member {string} [provisioningState] State of the resource.
320
- * **NOTE: This property will not be serialized. It can only be populated by
321
- * the server.**
322
- */
323
- readonly provisioningState?: string;
324
- /**
325
- * @member {string} [description] User readable description of the secret.
326
- */
327
- description?: string;
328
- /**
329
- * @member {ResourceStatus} [status] Status of the resource. Possible values
330
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
331
- * **NOTE: This property will not be serialized. It can only be populated by
332
- * the server.**
333
- */
334
- readonly status?: ResourceStatus;
335
- /**
336
- * @member {string} [statusDetails] Gives additional information about the
337
- * current status of the secret.
338
- * **NOTE: This property will not be serialized. It can only be populated by
339
- * the server.**
340
- */
341
- readonly statusDetails?: string;
342
- /**
343
- * @member {string} [contentType] The type of the content stored in the
344
- * secret value. The value of this property is opaque to Service Fabric. Once
345
- * set, the value of this property cannot be changed.
346
- */
347
- contentType?: string;
348
- }
349
-
350
- /**
351
- * @interface
352
- * An interface representing SecretResourceDescription.
353
- * This type describes a secret resource.
354
- *
355
- * @extends TrackedResource
356
- */
357
- export interface SecretResourceDescription extends TrackedResource {
358
- /**
359
- * @member {SecretResourcePropertiesUnion} properties Describes the
360
- * properties of a secret resource.
361
- */
362
- properties: SecretResourcePropertiesUnion;
363
- }
364
-
365
- /**
366
- * @interface
367
- * An interface representing SecretValue.
368
- * This type represents the unencrypted value of the secret.
369
- *
370
- */
371
- export interface SecretValue {
372
- /**
373
- * @member {string} [value] The actual value of the secret.
374
- */
375
- value?: string;
376
- }
377
-
378
- /**
379
- * @interface
380
- * An interface representing SecretValueProperties.
381
- * This type describes properties of secret value resource.
382
- *
383
- */
384
- export interface SecretValueProperties {
385
- /**
386
- * @member {string} [value] The actual value of the secret.
387
- */
388
- value?: string;
389
- }
390
-
391
- /**
392
- * @interface
393
- * An interface representing SecretValueResourceDescription.
394
- * This type describes a value of a secret resource. The name of this resource
395
- * is the version identifier corresponding to this secret value.
396
- *
397
- * @extends TrackedResource
398
- */
399
- export interface SecretValueResourceDescription extends TrackedResource {
400
- /**
401
- * @member {string} [provisioningState] State of the resource.
402
- * **NOTE: This property will not be serialized. It can only be populated by
403
- * the server.**
404
- */
405
- readonly provisioningState?: string;
406
- /**
407
- * @member {string} [value] The actual value of the secret.
408
- */
409
- value?: string;
410
- }
411
-
412
- /**
413
- * @interface
414
- * An interface representing VolumeProviderParametersAzureFile.
415
- * This type describes a volume provided by an Azure Files file share.
416
- *
417
- */
418
- export interface VolumeProviderParametersAzureFile {
419
- /**
420
- * @member {string} accountName Name of the Azure storage account for the
421
- * File Share.
422
- */
423
- accountName: string;
424
- /**
425
- * @member {string} [accountKey] Access key of the Azure storage account for
426
- * the File Share.
427
- */
428
- accountKey?: string;
429
- /**
430
- * @member {string} shareName Name of the Azure Files file share that
431
- * provides storage for the volume.
432
- */
433
- shareName: string;
434
- }
435
-
436
- /**
437
- * @interface
438
- * An interface representing VolumeProperties.
439
- * Describes properties of a volume resource.
440
- *
441
- */
442
- export interface VolumeProperties {
443
- /**
444
- * @member {string} [description] User readable description of the volume.
445
- */
446
- description?: string;
447
- /**
448
- * @member {ResourceStatus} [status] Status of the volume. Possible values
449
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
450
- * **NOTE: This property will not be serialized. It can only be populated by
451
- * the server.**
452
- */
453
- readonly status?: ResourceStatus;
454
- /**
455
- * @member {string} [statusDetails] Gives additional information about the
456
- * current status of the volume.
457
- * **NOTE: This property will not be serialized. It can only be populated by
458
- * the server.**
459
- */
460
- readonly statusDetails?: string;
461
- /**
462
- * @member {VolumeProviderParametersAzureFile} [azureFileParameters] This
463
- * type describes a volume provided by an Azure Files file share.
464
- */
465
- azureFileParameters?: VolumeProviderParametersAzureFile;
466
- }
467
-
468
- /**
469
- * @interface
470
- * An interface representing VolumeReference.
471
- * Describes a reference to a volume resource.
472
- *
473
- */
474
- export interface VolumeReference {
475
- /**
476
- * @member {string} name Name of the volume being referenced.
477
- */
478
- name: string;
479
- /**
480
- * @member {boolean} [readOnly] The flag indicating whether the volume is
481
- * read only. Default is 'false'.
482
- */
483
- readOnly?: boolean;
484
- /**
485
- * @member {string} destinationPath The path within the container at which
486
- * the volume should be mounted. Only valid path characters are allowed.
487
- */
488
- destinationPath: string;
489
- }
490
-
491
- /**
492
- * Contains the possible cases for ApplicationScopedVolumeCreationParameters.
493
- */
494
- export type ApplicationScopedVolumeCreationParametersUnion = ApplicationScopedVolumeCreationParameters | ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk;
495
-
496
- /**
497
- * @interface
498
- * An interface representing ApplicationScopedVolumeCreationParameters.
499
- * Describes parameters for creating application-scoped volumes.
500
- *
501
- */
502
- export interface ApplicationScopedVolumeCreationParameters {
503
- /**
504
- * @member {string} kind Polymorphic Discriminator
505
- */
506
- kind: "ApplicationScopedVolumeCreationParameters";
507
- /**
508
- * @member {string} [description] User readable description of the volume.
509
- */
510
- description?: string;
511
- }
512
-
513
- /**
514
- * @interface
515
- * An interface representing ApplicationScopedVolume.
516
- * Describes a volume whose lifetime is scoped to the application's lifetime.
517
- *
518
- * @extends VolumeReference
519
- */
520
- export interface ApplicationScopedVolume extends VolumeReference {
521
- /**
522
- * @member {ApplicationScopedVolumeCreationParametersUnion}
523
- * creationParameters Describes parameters for creating application-scoped
524
- * volumes.
525
- */
526
- creationParameters: ApplicationScopedVolumeCreationParametersUnion;
527
- }
528
-
529
- /**
530
- * @interface
531
- * An interface representing ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk.
532
- * Describes parameters for creating application-scoped volumes provided by
533
- * Service Fabric Volume Disks
534
- *
535
- */
536
- export interface ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk {
537
- /**
538
- * @member {string} kind Polymorphic Discriminator
539
- */
540
- kind: "ServiceFabricVolumeDisk";
541
- /**
542
- * @member {string} [description] User readable description of the volume.
543
- */
544
- description?: string;
545
- /**
546
- * @member {SizeTypes} sizeDisk Volume size. Possible values include:
547
- * 'Small', 'Medium', 'Large'
548
- */
549
- sizeDisk: SizeTypes;
550
- }
551
-
552
- /**
553
- * @interface
554
- * An interface representing VolumeResourceDescription.
555
- * This type describes a volume resource.
556
- *
557
- * @extends TrackedResource
558
- */
559
- export interface VolumeResourceDescription extends TrackedResource {
560
- /**
561
- * @member {string} [provisioningState] State of the resource.
562
- * **NOTE: This property will not be serialized. It can only be populated by
563
- * the server.**
564
- */
565
- readonly provisioningState?: string;
566
- /**
567
- * @member {string} [description] User readable description of the volume.
568
- */
569
- description?: string;
570
- /**
571
- * @member {ResourceStatus} [status] Status of the volume. Possible values
572
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
573
- * **NOTE: This property will not be serialized. It can only be populated by
574
- * the server.**
575
- */
576
- readonly status?: ResourceStatus;
577
- /**
578
- * @member {string} [statusDetails] Gives additional information about the
579
- * current status of the volume.
580
- * **NOTE: This property will not be serialized. It can only be populated by
581
- * the server.**
582
- */
583
- readonly statusDetails?: string;
584
- /**
585
- * @member {VolumeProviderParametersAzureFile} [azureFileParameters] This
586
- * type describes a volume provided by an Azure Files file share.
587
- */
588
- azureFileParameters?: VolumeProviderParametersAzureFile;
589
- }
590
-
591
- /**
592
- * Contains the possible cases for NetworkResourcePropertiesBase.
593
- */
594
- export type NetworkResourcePropertiesBaseUnion = NetworkResourcePropertiesBase | NetworkResourcePropertiesUnion;
595
-
596
- /**
597
- * @interface
598
- * An interface representing NetworkResourcePropertiesBase.
599
- * This type describes the properties of a network resource, including its
600
- * kind.
601
- *
602
- */
603
- export interface NetworkResourcePropertiesBase {
604
- /**
605
- * @member {string} kind Polymorphic Discriminator
606
- */
607
- kind: "NetworkResourcePropertiesBase";
608
- /**
609
- * @member {string} [provisioningState] State of the resource.
610
- * **NOTE: This property will not be serialized. It can only be populated by
611
- * the server.**
612
- */
613
- readonly provisioningState?: string;
614
- }
615
-
616
- /**
617
- * Contains the possible cases for NetworkResourceProperties.
618
- */
619
- export type NetworkResourcePropertiesUnion = NetworkResourceProperties | LocalNetworkResourceProperties;
620
-
621
- /**
622
- * @interface
623
- * An interface representing NetworkResourceProperties.
624
- * Describes properties of a network resource.
625
- *
626
- */
627
- export interface NetworkResourceProperties {
628
- /**
629
- * @member {string} kind Polymorphic Discriminator
630
- */
631
- kind: "NetworkResourceProperties";
632
- /**
633
- * @member {string} [provisioningState] State of the resource.
634
- * **NOTE: This property will not be serialized. It can only be populated by
635
- * the server.**
636
- */
637
- readonly provisioningState?: string;
638
- /**
639
- * @member {string} [description] User readable description of the network.
640
- */
641
- description?: string;
642
- /**
643
- * @member {ResourceStatus} [status] Status of the network. Possible values
644
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
645
- * **NOTE: This property will not be serialized. It can only be populated by
646
- * the server.**
647
- */
648
- readonly status?: ResourceStatus;
649
- /**
650
- * @member {string} [statusDetails] Gives additional information about the
651
- * current status of the network.
652
- * **NOTE: This property will not be serialized. It can only be populated by
653
- * the server.**
654
- */
655
- readonly statusDetails?: string;
656
- }
657
-
658
- /**
659
- * @interface
660
- * An interface representing LocalNetworkResourceProperties.
661
- * Information about a Service Fabric container network local to a single
662
- * Service Fabric cluster.
663
- *
664
- */
665
- export interface LocalNetworkResourceProperties {
666
- /**
667
- * @member {string} kind Polymorphic Discriminator
668
- */
669
- kind: "Local";
670
- /**
671
- * @member {string} [provisioningState] State of the resource.
672
- * **NOTE: This property will not be serialized. It can only be populated by
673
- * the server.**
674
- */
675
- readonly provisioningState?: string;
676
- /**
677
- * @member {string} [description] User readable description of the network.
678
- */
679
- description?: string;
680
- /**
681
- * @member {ResourceStatus} [status] Status of the network. Possible values
682
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
683
- * **NOTE: This property will not be serialized. It can only be populated by
684
- * the server.**
685
- */
686
- readonly status?: ResourceStatus;
687
- /**
688
- * @member {string} [statusDetails] Gives additional information about the
689
- * current status of the network.
690
- * **NOTE: This property will not be serialized. It can only be populated by
691
- * the server.**
692
- */
693
- readonly statusDetails?: string;
694
- /**
695
- * @member {string} [networkAddressPrefix] Address space for the local
696
- * container network.
697
- */
698
- networkAddressPrefix?: string;
699
- }
700
-
701
- /**
702
- * @interface
703
- * An interface representing EndpointRef.
704
- * Describes a reference to a service endpoint.
705
- *
706
- */
707
- export interface EndpointRef {
708
- /**
709
- * @member {string} [name] Name of the endpoint.
710
- */
711
- name?: string;
712
- }
713
-
714
- /**
715
- * @interface
716
- * An interface representing NetworkRef.
717
- * Describes a network reference in a service.
718
- *
719
- */
720
- export interface NetworkRef {
721
- /**
722
- * @member {string} [name] Name of the network
723
- */
724
- name?: string;
725
- /**
726
- * @member {EndpointRef[]} [endpointRefs] A list of endpoints that are
727
- * exposed on this network.
728
- */
729
- endpointRefs?: EndpointRef[];
730
- }
731
-
732
- /**
733
- * @interface
734
- * An interface representing NetworkResourceDescription.
735
- * This type describes a network resource.
736
- *
737
- * @extends TrackedResource
738
- */
739
- export interface NetworkResourceDescription extends TrackedResource {
740
- /**
741
- * @member {NetworkResourcePropertiesUnion} properties Describes properties
742
- * of a network resource.
743
- */
744
- properties: NetworkResourcePropertiesUnion;
745
- }
746
-
747
- /**
748
- * @interface
749
- * An interface representing GatewayDestination.
750
- * Describes destination endpoint for routing traffic.
751
- *
752
- */
753
- export interface GatewayDestination {
754
- /**
755
- * @member {string} applicationName Name of the service fabric Mesh
756
- * application.
757
- */
758
- applicationName: string;
759
- /**
760
- * @member {string} serviceName service that contains the endpoint.
761
- */
762
- serviceName: string;
763
- /**
764
- * @member {string} endpointName name of the endpoint in the service.
765
- */
766
- endpointName: string;
767
- }
768
-
769
- /**
770
- * @interface
771
- * An interface representing TcpConfig.
772
- * Describes the tcp configuration for external connectivity for this network.
773
- *
774
- */
775
- export interface TcpConfig {
776
- /**
777
- * @member {string} name tcp gateway config name.
778
- */
779
- name: string;
780
- /**
781
- * @member {number} port Specifies the port at which the service endpoint
782
- * below needs to be exposed.
783
- */
784
- port: number;
785
- /**
786
- * @member {GatewayDestination} destination Describes destination endpoint
787
- * for routing traffic.
788
- */
789
- destination: GatewayDestination;
790
- }
791
-
792
- /**
793
- * @interface
794
- * An interface representing HttpRouteMatchPath.
795
- * Path to match for routing.
796
- *
797
- */
798
- export interface HttpRouteMatchPath {
799
- /**
800
- * @member {string} value Uri path to match for request.
801
- */
802
- value: string;
803
- /**
804
- * @member {string} [rewrite] replacement string for matched part of the Uri.
805
- */
806
- rewrite?: string;
807
- }
808
-
809
- /**
810
- * @interface
811
- * An interface representing HttpRouteMatchHeader.
812
- * Describes header information for http route matching.
813
- *
814
- */
815
- export interface HttpRouteMatchHeader {
816
- /**
817
- * @member {string} name Name of header to match in request.
818
- */
819
- name: string;
820
- /**
821
- * @member {string} [value] Value of header to match in request.
822
- */
823
- value?: string;
824
- /**
825
- * @member {HeaderMatchType} [type] how to match header value. Possible
826
- * values include: 'exact'
827
- */
828
- type?: HeaderMatchType;
829
- }
830
-
831
- /**
832
- * @interface
833
- * An interface representing HttpRouteMatchRule.
834
- * Describes a rule for http route matching.
835
- *
836
- */
837
- export interface HttpRouteMatchRule {
838
- /**
839
- * @member {HttpRouteMatchPath} path Path to match for routing.
840
- */
841
- path: HttpRouteMatchPath;
842
- /**
843
- * @member {HttpRouteMatchHeader[]} [headers] headers and their values to
844
- * match in request.
845
- */
846
- headers?: HttpRouteMatchHeader[];
847
- }
848
-
849
- /**
850
- * @interface
851
- * An interface representing HttpRouteConfig.
852
- * Describes the hostname properties for http routing.
853
- *
854
- */
855
- export interface HttpRouteConfig {
856
- /**
857
- * @member {string} name http route name.
858
- */
859
- name: string;
860
- /**
861
- * @member {HttpRouteMatchRule} match Describes a rule for http route
862
- * matching.
863
- */
864
- match: HttpRouteMatchRule;
865
- /**
866
- * @member {GatewayDestination} destination Describes destination endpoint
867
- * for routing traffic.
868
- */
869
- destination: GatewayDestination;
870
- }
871
-
872
- /**
873
- * @interface
874
- * An interface representing HttpHostConfig.
875
- * Describes the hostname properties for http routing.
876
- *
877
- */
878
- export interface HttpHostConfig {
879
- /**
880
- * @member {string} name http hostname config name.
881
- */
882
- name: string;
883
- /**
884
- * @member {HttpRouteConfig[]} routes Route information to use for routing.
885
- * Routes are processed in the order they are specified. Specify routes that
886
- * are more specific before routes that can hamdle general cases.
887
- */
888
- routes: HttpRouteConfig[];
889
- }
890
-
891
- /**
892
- * @interface
893
- * An interface representing HttpConfig.
894
- * Describes the http configuration for external connectivity for this network.
895
- *
896
- */
897
- export interface HttpConfig {
898
- /**
899
- * @member {string} name http gateway config name.
900
- */
901
- name: string;
902
- /**
903
- * @member {number} port Specifies the port at which the service endpoint
904
- * below needs to be exposed.
905
- */
906
- port: number;
907
- /**
908
- * @member {HttpHostConfig[]} hosts description for routing.
909
- */
910
- hosts: HttpHostConfig[];
911
- }
912
-
913
- /**
914
- * @interface
915
- * An interface representing GatewayProperties.
916
- * Describes properties of a gateway resource.
917
- *
918
- */
919
- export interface GatewayProperties {
920
- /**
921
- * @member {string} [description] User readable description of the gateway.
922
- */
923
- description?: string;
924
- /**
925
- * @member {NetworkRef} sourceNetwork Network the gateway should listen on
926
- * for requests.
927
- */
928
- sourceNetwork: NetworkRef;
929
- /**
930
- * @member {NetworkRef} destinationNetwork Network that the Application is
931
- * using.
932
- */
933
- destinationNetwork: NetworkRef;
934
- /**
935
- * @member {TcpConfig[]} [tcp] Configuration for tcp connectivity for this
936
- * gateway.
937
- */
938
- tcp?: TcpConfig[];
939
- /**
940
- * @member {HttpConfig[]} [http] Configuration for http connectivity for this
941
- * gateway.
942
- */
943
- http?: HttpConfig[];
944
- /**
945
- * @member {ResourceStatus} [status] Status of the resource. Possible values
946
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
947
- * **NOTE: This property will not be serialized. It can only be populated by
948
- * the server.**
949
- */
950
- readonly status?: ResourceStatus;
951
- /**
952
- * @member {string} [statusDetails] Gives additional information about the
953
- * current status of the gateway.
954
- * **NOTE: This property will not be serialized. It can only be populated by
955
- * the server.**
956
- */
957
- readonly statusDetails?: string;
958
- /**
959
- * @member {string} [ipAddress] IP address of the gateway. This is populated
960
- * in the response and is ignored for incoming requests.
961
- * **NOTE: This property will not be serialized. It can only be populated by
962
- * the server.**
963
- */
964
- readonly ipAddress?: string;
965
- }
966
-
967
- /**
968
- * @interface
969
- * An interface representing GatewayResourceDescription.
970
- * This type describes a gateway resource.
971
- *
972
- * @extends TrackedResource
973
- */
974
- export interface GatewayResourceDescription extends TrackedResource {
975
- /**
976
- * @member {string} [provisioningState] State of the resource.
977
- * **NOTE: This property will not be serialized. It can only be populated by
978
- * the server.**
979
- */
980
- readonly provisioningState?: string;
981
- /**
982
- * @member {string} [description] User readable description of the gateway.
983
- */
984
- description?: string;
985
- /**
986
- * @member {NetworkRef} sourceNetwork Network the gateway should listen on
987
- * for requests.
988
- */
989
- sourceNetwork: NetworkRef;
990
- /**
991
- * @member {NetworkRef} destinationNetwork Network that the Application is
992
- * using.
993
- */
994
- destinationNetwork: NetworkRef;
995
- /**
996
- * @member {TcpConfig[]} [tcp] Configuration for tcp connectivity for this
997
- * gateway.
998
- */
999
- tcp?: TcpConfig[];
1000
- /**
1001
- * @member {HttpConfig[]} [http] Configuration for http connectivity for this
1002
- * gateway.
1003
- */
1004
- http?: HttpConfig[];
1005
- /**
1006
- * @member {ResourceStatus} [status] Status of the resource. Possible values
1007
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
1008
- * **NOTE: This property will not be serialized. It can only be populated by
1009
- * the server.**
1010
- */
1011
- readonly status?: ResourceStatus;
1012
- /**
1013
- * @member {string} [statusDetails] Gives additional information about the
1014
- * current status of the gateway.
1015
- * **NOTE: This property will not be serialized. It can only be populated by
1016
- * the server.**
1017
- */
1018
- readonly statusDetails?: string;
1019
- /**
1020
- * @member {string} [ipAddress] IP address of the gateway. This is populated
1021
- * in the response and is ignored for incoming requests.
1022
- * **NOTE: This property will not be serialized. It can only be populated by
1023
- * the server.**
1024
- */
1025
- readonly ipAddress?: string;
1026
- }
1027
-
1028
- /**
1029
- * @interface
1030
- * An interface representing ImageRegistryCredential.
1031
- * Image registry credential.
1032
- *
1033
- */
1034
- export interface ImageRegistryCredential {
1035
- /**
1036
- * @member {string} server Docker image registry server, without protocol
1037
- * such as `http` and `https`.
1038
- */
1039
- server: string;
1040
- /**
1041
- * @member {string} username The username for the private registry.
1042
- */
1043
- username: string;
1044
- /**
1045
- * @member {string} [password] The password for the private registry. The
1046
- * password is required for create or update operations, however it is not
1047
- * returned in the get or list operations.
1048
- */
1049
- password?: string;
1050
- }
1051
-
1052
- /**
1053
- * @interface
1054
- * An interface representing EnvironmentVariable.
1055
- * Describes an environment variable for the container.
1056
- *
1057
- */
1058
- export interface EnvironmentVariable {
1059
- /**
1060
- * @member {string} [name] The name of the environment variable.
1061
- */
1062
- name?: string;
1063
- /**
1064
- * @member {string} [value] The value of the environment variable.
1065
- */
1066
- value?: string;
1067
- }
1068
-
1069
- /**
1070
- * @interface
1071
- * An interface representing Setting.
1072
- * Describes a setting for the container. The setting file path can be fetched
1073
- * from environment variable "Fabric_SettingPath". The path for Windows
1074
- * container is "C:\\secrets". The path for Linux container is "/var/secrets".
1075
- *
1076
- */
1077
- export interface Setting {
1078
- /**
1079
- * @member {string} [name] The name of the setting.
1080
- */
1081
- name?: string;
1082
- /**
1083
- * @member {string} [value] The value of the setting.
1084
- */
1085
- value?: string;
1086
- }
1087
-
1088
- /**
1089
- * @interface
1090
- * An interface representing ContainerLabel.
1091
- * Describes a container label.
1092
- *
1093
- */
1094
- export interface ContainerLabel {
1095
- /**
1096
- * @member {string} name The name of the container label.
1097
- */
1098
- name: string;
1099
- /**
1100
- * @member {string} value The value of the container label.
1101
- */
1102
- value: string;
1103
- }
1104
-
1105
- /**
1106
- * @interface
1107
- * An interface representing EndpointProperties.
1108
- * Describes a container endpoint.
1109
- *
1110
- */
1111
- export interface EndpointProperties {
1112
- /**
1113
- * @member {string} name The name of the endpoint.
1114
- */
1115
- name: string;
1116
- /**
1117
- * @member {number} [port] Port used by the container.
1118
- */
1119
- port?: number;
1120
- }
1121
-
1122
- /**
1123
- * @interface
1124
- * An interface representing ResourceRequests.
1125
- * This type describes the requested resources for a given container. It
1126
- * describes the least amount of resources required for the container. A
1127
- * container can consume more than requested resources up to the specified
1128
- * limits before being restarted. Currently, the requested resources are
1129
- * treated as limits.
1130
- *
1131
- */
1132
- export interface ResourceRequests {
1133
- /**
1134
- * @member {number} memoryInGB The memory request in GB for this container.
1135
- */
1136
- memoryInGB: number;
1137
- /**
1138
- * @member {number} cpu Requested number of CPU cores. At present, only full
1139
- * cores are supported.
1140
- */
1141
- cpu: number;
1142
- }
1143
-
1144
- /**
1145
- * @interface
1146
- * An interface representing ResourceLimits.
1147
- * This type describes the resource limits for a given container. It describes
1148
- * the most amount of resources a container is allowed to use before being
1149
- * restarted.
1150
- *
1151
- */
1152
- export interface ResourceLimits {
1153
- /**
1154
- * @member {number} [memoryInGB] The memory limit in GB.
1155
- */
1156
- memoryInGB?: number;
1157
- /**
1158
- * @member {number} [cpu] CPU limits in cores. At present, only full cores
1159
- * are supported.
1160
- */
1161
- cpu?: number;
1162
- }
1163
-
1164
- /**
1165
- * @interface
1166
- * An interface representing ResourceRequirements.
1167
- * This type describes the resource requirements for a container or a service.
1168
- *
1169
- */
1170
- export interface ResourceRequirements {
1171
- /**
1172
- * @member {ResourceRequests} requests Describes the requested resources for
1173
- * a given container.
1174
- */
1175
- requests: ResourceRequests;
1176
- /**
1177
- * @member {ResourceLimits} [limits] Describes the maximum limits on the
1178
- * resources for a given container.
1179
- */
1180
- limits?: ResourceLimits;
1181
- }
1182
-
1183
- /**
1184
- * @interface
1185
- * An interface representing DiagnosticsRef.
1186
- * Reference to sinks in DiagnosticsDescription.
1187
- *
1188
- */
1189
- export interface DiagnosticsRef {
1190
- /**
1191
- * @member {boolean} [enabled] Status of whether or not sinks are enabled.
1192
- */
1193
- enabled?: boolean;
1194
- /**
1195
- * @member {string[]} [sinkRefs] List of sinks to be used if enabled.
1196
- * References the list of sinks in DiagnosticsDescription.
1197
- */
1198
- sinkRefs?: string[];
1199
- }
1200
-
1201
- /**
1202
- * @interface
1203
- * An interface representing ReliableCollectionsRef.
1204
- * Specifying this parameter adds support for reliable collections
1205
- *
1206
- */
1207
- export interface ReliableCollectionsRef {
1208
- /**
1209
- * @member {string} name Name of ReliableCollection resource. Right now it's
1210
- * not used and you can use any string.
1211
- */
1212
- name: string;
1213
- /**
1214
- * @member {boolean} [doNotPersistState] False (the default) if
1215
- * ReliableCollections state is persisted to disk as usual. True if you do
1216
- * not want to persist state, in which case replication is still enabled and
1217
- * you can use ReliableCollections as distributed cache.
1218
- */
1219
- doNotPersistState?: boolean;
1220
- }
1221
-
1222
- /**
1223
- * @interface
1224
- * An interface representing ContainerState.
1225
- * The container state.
1226
- *
1227
- */
1228
- export interface ContainerState {
1229
- /**
1230
- * @member {string} [state] The state of this container
1231
- */
1232
- state?: string;
1233
- /**
1234
- * @member {Date} [startTime] Date/time when the container state started.
1235
- */
1236
- startTime?: Date;
1237
- /**
1238
- * @member {string} [exitCode] The container exit code.
1239
- */
1240
- exitCode?: string;
1241
- /**
1242
- * @member {Date} [finishTime] Date/time when the container state finished.
1243
- */
1244
- finishTime?: Date;
1245
- /**
1246
- * @member {string} [detailStatus] Human-readable status of this state.
1247
- */
1248
- detailStatus?: string;
1249
- }
1250
-
1251
- /**
1252
- * @interface
1253
- * An interface representing ContainerEvent.
1254
- * A container event.
1255
- *
1256
- */
1257
- export interface ContainerEvent {
1258
- /**
1259
- * @member {string} [name] The name of the container event.
1260
- */
1261
- name?: string;
1262
- /**
1263
- * @member {number} [count] The count of the event.
1264
- */
1265
- count?: number;
1266
- /**
1267
- * @member {string} [firstTimestamp] Date/time of the first event.
1268
- */
1269
- firstTimestamp?: string;
1270
- /**
1271
- * @member {string} [lastTimestamp] Date/time of the last event.
1272
- */
1273
- lastTimestamp?: string;
1274
- /**
1275
- * @member {string} [message] The event message
1276
- */
1277
- message?: string;
1278
- /**
1279
- * @member {string} [type] The event type.
1280
- */
1281
- type?: string;
1282
- }
1283
-
1284
- /**
1285
- * @interface
1286
- * An interface representing ContainerInstanceView.
1287
- * Runtime information of a container instance.
1288
- *
1289
- */
1290
- export interface ContainerInstanceView {
1291
- /**
1292
- * @member {number} [restartCount] The number of times the container has been
1293
- * restarted.
1294
- */
1295
- restartCount?: number;
1296
- /**
1297
- * @member {ContainerState} [currentState] Current container instance state.
1298
- */
1299
- currentState?: ContainerState;
1300
- /**
1301
- * @member {ContainerState} [previousState] Previous container instance
1302
- * state.
1303
- */
1304
- previousState?: ContainerState;
1305
- /**
1306
- * @member {ContainerEvent[]} [events] The events of this container instance.
1307
- */
1308
- events?: ContainerEvent[];
1309
- }
1310
-
1311
- /**
1312
- * @interface
1313
- * An interface representing ContainerCodePackageProperties.
1314
- * Describes a container and its runtime properties.
1315
- *
1316
- */
1317
- export interface ContainerCodePackageProperties {
1318
- /**
1319
- * @member {string} name The name of the code package.
1320
- */
1321
- name: string;
1322
- /**
1323
- * @member {string} image The Container image to use.
1324
- */
1325
- image: string;
1326
- /**
1327
- * @member {ImageRegistryCredential} [imageRegistryCredential] Image registry
1328
- * credential.
1329
- */
1330
- imageRegistryCredential?: ImageRegistryCredential;
1331
- /**
1332
- * @member {string} [entrypoint] Override for the default entry point in the
1333
- * container.
1334
- */
1335
- entrypoint?: string;
1336
- /**
1337
- * @member {string[]} [commands] Command array to execute within the
1338
- * container in exec form.
1339
- */
1340
- commands?: string[];
1341
- /**
1342
- * @member {EnvironmentVariable[]} [environmentVariables] The environment
1343
- * variables to set in this container
1344
- */
1345
- environmentVariables?: EnvironmentVariable[];
1346
- /**
1347
- * @member {Setting[]} [settings] The settings to set in this container. The
1348
- * setting file path can be fetched from environment variable
1349
- * "Fabric_SettingPath". The path for Windows container is "C:\\secrets". The
1350
- * path for Linux container is "/var/secrets".
1351
- */
1352
- settings?: Setting[];
1353
- /**
1354
- * @member {ContainerLabel[]} [labels] The labels to set in this container.
1355
- */
1356
- labels?: ContainerLabel[];
1357
- /**
1358
- * @member {EndpointProperties[]} [endpoints] The endpoints exposed by this
1359
- * container.
1360
- */
1361
- endpoints?: EndpointProperties[];
1362
- /**
1363
- * @member {ResourceRequirements} resources The resources required by this
1364
- * container.
1365
- */
1366
- resources: ResourceRequirements;
1367
- /**
1368
- * @member {VolumeReference[]} [volumeRefs] Volumes to be attached to the
1369
- * container. The lifetime of these volumes is independent of the
1370
- * application's lifetime.
1371
- */
1372
- volumeRefs?: VolumeReference[];
1373
- /**
1374
- * @member {ApplicationScopedVolume[]} [volumes] Volumes to be attached to
1375
- * the container. The lifetime of these volumes is scoped to the
1376
- * application's lifetime.
1377
- */
1378
- volumes?: ApplicationScopedVolume[];
1379
- /**
1380
- * @member {DiagnosticsRef} [diagnostics] Reference to sinks in
1381
- * DiagnosticsDescription.
1382
- */
1383
- diagnostics?: DiagnosticsRef;
1384
- /**
1385
- * @member {ReliableCollectionsRef[]} [reliableCollectionsRefs] A list of
1386
- * ReliableCollection resources used by this particular code package. Please
1387
- * refer to ReliablecollectionsRef for more details.
1388
- */
1389
- reliableCollectionsRefs?: ReliableCollectionsRef[];
1390
- /**
1391
- * @member {ContainerInstanceView} [instanceView] Runtime information of a
1392
- * container instance.
1393
- * **NOTE: This property will not be serialized. It can only be populated by
1394
- * the server.**
1395
- */
1396
- readonly instanceView?: ContainerInstanceView;
1397
- }
1398
-
1399
- /**
1400
- * Contains the possible cases for AutoScalingTrigger.
1401
- */
1402
- export type AutoScalingTriggerUnion = AutoScalingTrigger | AverageLoadScalingTrigger;
1403
-
1404
- /**
1405
- * @interface
1406
- * An interface representing AutoScalingTrigger.
1407
- * Describes the trigger for performing auto scaling operation.
1408
- *
1409
- */
1410
- export interface AutoScalingTrigger {
1411
- /**
1412
- * @member {string} kind Polymorphic Discriminator
1413
- */
1414
- kind: "AutoScalingTrigger";
1415
- }
1416
-
1417
- /**
1418
- * Contains the possible cases for AutoScalingMechanism.
1419
- */
1420
- export type AutoScalingMechanismUnion = AutoScalingMechanism | AddRemoveReplicaScalingMechanism;
1421
-
1422
- /**
1423
- * @interface
1424
- * An interface representing AutoScalingMechanism.
1425
- * Describes the mechanism for performing auto scaling operation. Derived
1426
- * classes will describe the actual mechanism.
1427
- *
1428
- */
1429
- export interface AutoScalingMechanism {
1430
- /**
1431
- * @member {string} kind Polymorphic Discriminator
1432
- */
1433
- kind: "AutoScalingMechanism";
1434
- }
1435
-
1436
- /**
1437
- * @interface
1438
- * An interface representing AutoScalingPolicy.
1439
- * Describes the auto scaling policy
1440
- *
1441
- */
1442
- export interface AutoScalingPolicy {
1443
- /**
1444
- * @member {string} name The name of the auto scaling policy.
1445
- */
1446
- name: string;
1447
- /**
1448
- * @member {AutoScalingTriggerUnion} trigger Determines when auto scaling
1449
- * operation will be invoked.
1450
- */
1451
- trigger: AutoScalingTriggerUnion;
1452
- /**
1453
- * @member {AutoScalingMechanismUnion} mechanism The mechanism that is used
1454
- * to scale when auto scaling operation is invoked.
1455
- */
1456
- mechanism: AutoScalingMechanismUnion;
1457
- }
1458
-
1459
- /**
1460
- * @interface
1461
- * An interface representing ServiceResourceDescription.
1462
- * This type describes a service resource.
1463
- *
1464
- * @extends ManagedProxyResource
1465
- */
1466
- export interface ServiceResourceDescription extends ManagedProxyResource {
1467
- /**
1468
- * @member {string} [provisioningState] State of the resource.
1469
- * **NOTE: This property will not be serialized. It can only be populated by
1470
- * the server.**
1471
- */
1472
- readonly provisioningState?: string;
1473
- /**
1474
- * @member {OperatingSystemType} osType The operation system required by the
1475
- * code in service. Possible values include: 'Linux', 'Windows'
1476
- */
1477
- osType: OperatingSystemType;
1478
- /**
1479
- * @member {ContainerCodePackageProperties[]} codePackages Describes the set
1480
- * of code packages that forms the service. A code package describes the
1481
- * container and the properties for running it. All the code packages are
1482
- * started together on the same host and share the same context (network,
1483
- * process etc.).
1484
- */
1485
- codePackages: ContainerCodePackageProperties[];
1486
- /**
1487
- * @member {NetworkRef[]} [networkRefs] The names of the private networks
1488
- * that this service needs to be part of.
1489
- */
1490
- networkRefs?: NetworkRef[];
1491
- /**
1492
- * @member {DiagnosticsRef} [diagnostics] Reference to sinks in
1493
- * DiagnosticsDescription.
1494
- */
1495
- diagnostics?: DiagnosticsRef;
1496
- /**
1497
- * @member {string} [description] User readable description of the service.
1498
- */
1499
- description?: string;
1500
- /**
1501
- * @member {number} [replicaCount] The number of replicas of the service to
1502
- * create. Defaults to 1 if not specified.
1503
- */
1504
- replicaCount?: number;
1505
- /**
1506
- * @member {AutoScalingPolicy[]} [autoScalingPolicies] Auto scaling policies
1507
- */
1508
- autoScalingPolicies?: AutoScalingPolicy[];
1509
- /**
1510
- * @member {ResourceStatus} [status] Status of the service. Possible values
1511
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
1512
- * **NOTE: This property will not be serialized. It can only be populated by
1513
- * the server.**
1514
- */
1515
- readonly status?: ResourceStatus;
1516
- /**
1517
- * @member {string} [statusDetails] Gives additional information about the
1518
- * current status of the service.
1519
- * **NOTE: This property will not be serialized. It can only be populated by
1520
- * the server.**
1521
- */
1522
- readonly statusDetails?: string;
1523
- /**
1524
- * @member {HealthState} [healthState] Describes the health state of an
1525
- * application resource. Possible values include: 'Invalid', 'Ok', 'Warning',
1526
- * 'Error', 'Unknown'
1527
- * **NOTE: This property will not be serialized. It can only be populated by
1528
- * the server.**
1529
- */
1530
- readonly healthState?: HealthState;
1531
- /**
1532
- * @member {string} [unhealthyEvaluation] When the service's health state is
1533
- * not 'Ok', this additional details from service fabric Health Manager for
1534
- * the user to know why the service is marked unhealthy.
1535
- * **NOTE: This property will not be serialized. It can only be populated by
1536
- * the server.**
1537
- */
1538
- readonly unhealthyEvaluation?: string;
1539
- }
1540
-
1541
- /**
1542
- * Contains the possible cases for DiagnosticsSinkProperties.
1543
- */
1544
- export type DiagnosticsSinkPropertiesUnion = DiagnosticsSinkProperties | AzureInternalMonitoringPipelineSinkDescription;
1545
-
1546
- /**
1547
- * @interface
1548
- * An interface representing DiagnosticsSinkProperties.
1549
- * Properties of a DiagnosticsSink.
1550
- *
1551
- */
1552
- export interface DiagnosticsSinkProperties {
1553
- /**
1554
- * @member {string} kind Polymorphic Discriminator
1555
- */
1556
- kind: "DiagnosticsSinkProperties";
1557
- /**
1558
- * @member {string} [name] Name of the sink. This value is referenced by
1559
- * DiagnosticsReferenceDescription
1560
- */
1561
- name?: string;
1562
- /**
1563
- * @member {string} [description] A description of the sink.
1564
- */
1565
- description?: string;
1566
- }
1567
-
1568
- /**
1569
- * @interface
1570
- * An interface representing DiagnosticsDescription.
1571
- * Describes the diagnostics options available
1572
- *
1573
- */
1574
- export interface DiagnosticsDescription {
1575
- /**
1576
- * @member {DiagnosticsSinkPropertiesUnion[]} [sinks] List of supported sinks
1577
- * that can be referenced.
1578
- */
1579
- sinks?: DiagnosticsSinkPropertiesUnion[];
1580
- /**
1581
- * @member {boolean} [enabled] Status of whether or not sinks are enabled.
1582
- */
1583
- enabled?: boolean;
1584
- /**
1585
- * @member {string[]} [defaultSinkRefs] The sinks to be used if diagnostics
1586
- * is enabled. Sink choices can be overridden at the service and code package
1587
- * level.
1588
- */
1589
- defaultSinkRefs?: string[];
1590
- }
1591
-
1592
- /**
1593
- * @interface
1594
- * An interface representing ApplicationProperties.
1595
- * Describes properties of a application resource.
1596
- *
1597
- */
1598
- export interface ApplicationProperties {
1599
- /**
1600
- * @member {string} [description] User readable description of the
1601
- * application.
1602
- */
1603
- description?: string;
1604
- /**
1605
- * @member {ServiceResourceDescription[]} [services] Describes the services
1606
- * in the application. This property is used to create or modify services of
1607
- * the application. On get only the name of the service is returned. The
1608
- * service description can be obtained by querying for the service resource.
1609
- */
1610
- services?: ServiceResourceDescription[];
1611
- /**
1612
- * @member {DiagnosticsDescription} [diagnostics] Describes the diagnostics
1613
- * definition and usage for an application resource.
1614
- */
1615
- diagnostics?: DiagnosticsDescription;
1616
- /**
1617
- * @member {string} [debugParams] Internal - used by Visual Studio to setup
1618
- * the debugging session on the local development environment.
1619
- */
1620
- debugParams?: string;
1621
- /**
1622
- * @member {string[]} [serviceNames] Names of the services in the
1623
- * application.
1624
- * **NOTE: This property will not be serialized. It can only be populated by
1625
- * the server.**
1626
- */
1627
- readonly serviceNames?: string[];
1628
- /**
1629
- * @member {ResourceStatus} [status] Status of the application. Possible
1630
- * values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting',
1631
- * 'Failed'
1632
- * **NOTE: This property will not be serialized. It can only be populated by
1633
- * the server.**
1634
- */
1635
- readonly status?: ResourceStatus;
1636
- /**
1637
- * @member {string} [statusDetails] Gives additional information about the
1638
- * current status of the application.
1639
- * **NOTE: This property will not be serialized. It can only be populated by
1640
- * the server.**
1641
- */
1642
- readonly statusDetails?: string;
1643
- /**
1644
- * @member {HealthState} [healthState] Describes the health state of an
1645
- * application resource. Possible values include: 'Invalid', 'Ok', 'Warning',
1646
- * 'Error', 'Unknown'
1647
- * **NOTE: This property will not be serialized. It can only be populated by
1648
- * the server.**
1649
- */
1650
- readonly healthState?: HealthState;
1651
- /**
1652
- * @member {string} [unhealthyEvaluation] When the application's health state
1653
- * is not 'Ok', this additional details from service fabric Health Manager
1654
- * for the user to know why the application is marked unhealthy.
1655
- * **NOTE: This property will not be serialized. It can only be populated by
1656
- * the server.**
1657
- */
1658
- readonly unhealthyEvaluation?: string;
1659
- }
1660
-
1661
- /**
1662
- * @interface
1663
- * An interface representing AzureInternalMonitoringPipelineSinkDescription.
1664
- * Diagnostics settings for Geneva.
1665
- *
1666
- */
1667
- export interface AzureInternalMonitoringPipelineSinkDescription {
1668
- /**
1669
- * @member {string} kind Polymorphic Discriminator
1670
- */
1671
- kind: "AzureInternalMonitoringPipeline";
1672
- /**
1673
- * @member {string} [name] Name of the sink. This value is referenced by
1674
- * DiagnosticsReferenceDescription
1675
- */
1676
- name?: string;
1677
- /**
1678
- * @member {string} [description] A description of the sink.
1679
- */
1680
- description?: string;
1681
- /**
1682
- * @member {string} [accountName] Azure Internal monitoring pipeline account.
1683
- */
1684
- accountName?: string;
1685
- /**
1686
- * @member {string} [namespace] Azure Internal monitoring pipeline account
1687
- * namespace.
1688
- */
1689
- namespace?: string;
1690
- /**
1691
- * @member {string} [maConfigUrl] Azure Internal monitoring agent
1692
- * configuration.
1693
- */
1694
- maConfigUrl?: string;
1695
- /**
1696
- * @member {any} [fluentdConfigUrl] Azure Internal monitoring agent fluentd
1697
- * configuration.
1698
- */
1699
- fluentdConfigUrl?: any;
1700
- /**
1701
- * @member {string} [autoKeyConfigUrl] Azure Internal monitoring pipeline
1702
- * autokey associated with the certificate.
1703
- */
1704
- autoKeyConfigUrl?: string;
1705
- }
1706
-
1707
- /**
1708
- * @interface
1709
- * An interface representing ApplicationResourceDescription.
1710
- * This type describes an application resource.
1711
- *
1712
- * @extends TrackedResource
1713
- */
1714
- export interface ApplicationResourceDescription extends TrackedResource {
1715
- /**
1716
- * @member {string} [provisioningState] State of the resource.
1717
- * **NOTE: This property will not be serialized. It can only be populated by
1718
- * the server.**
1719
- */
1720
- readonly provisioningState?: string;
1721
- /**
1722
- * @member {string} [description] User readable description of the
1723
- * application.
1724
- */
1725
- description?: string;
1726
- /**
1727
- * @member {ServiceResourceDescription[]} [services] Describes the services
1728
- * in the application. This property is used to create or modify services of
1729
- * the application. On get only the name of the service is returned. The
1730
- * service description can be obtained by querying for the service resource.
1731
- */
1732
- services?: ServiceResourceDescription[];
1733
- /**
1734
- * @member {DiagnosticsDescription} [diagnostics] Describes the diagnostics
1735
- * definition and usage for an application resource.
1736
- */
1737
- diagnostics?: DiagnosticsDescription;
1738
- /**
1739
- * @member {string} [debugParams] Internal - used by Visual Studio to setup
1740
- * the debugging session on the local development environment.
1741
- */
1742
- debugParams?: string;
1743
- /**
1744
- * @member {string[]} [serviceNames] Names of the services in the
1745
- * application.
1746
- * **NOTE: This property will not be serialized. It can only be populated by
1747
- * the server.**
1748
- */
1749
- readonly serviceNames?: string[];
1750
- /**
1751
- * @member {ResourceStatus} [status] Status of the application. Possible
1752
- * values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting',
1753
- * 'Failed'
1754
- * **NOTE: This property will not be serialized. It can only be populated by
1755
- * the server.**
1756
- */
1757
- readonly status?: ResourceStatus;
1758
- /**
1759
- * @member {string} [statusDetails] Gives additional information about the
1760
- * current status of the application.
1761
- * **NOTE: This property will not be serialized. It can only be populated by
1762
- * the server.**
1763
- */
1764
- readonly statusDetails?: string;
1765
- /**
1766
- * @member {HealthState} [healthState] Describes the health state of an
1767
- * application resource. Possible values include: 'Invalid', 'Ok', 'Warning',
1768
- * 'Error', 'Unknown'
1769
- * **NOTE: This property will not be serialized. It can only be populated by
1770
- * the server.**
1771
- */
1772
- readonly healthState?: HealthState;
1773
- /**
1774
- * @member {string} [unhealthyEvaluation] When the application's health state
1775
- * is not 'Ok', this additional details from service fabric Health Manager
1776
- * for the user to know why the application is marked unhealthy.
1777
- * **NOTE: This property will not be serialized. It can only be populated by
1778
- * the server.**
1779
- */
1780
- readonly unhealthyEvaluation?: string;
1781
- }
1782
-
1783
- /**
1784
- * @interface
1785
- * An interface representing AddRemoveReplicaScalingMechanism.
1786
- * Describes the horizontal auto scaling mechanism that adds or removes
1787
- * replicas (containers or container groups).
1788
- *
1789
- */
1790
- export interface AddRemoveReplicaScalingMechanism {
1791
- /**
1792
- * @member {string} kind Polymorphic Discriminator
1793
- */
1794
- kind: "AddRemoveReplica";
1795
- /**
1796
- * @member {number} minCount Minimum number of containers (scale down won't
1797
- * be performed below this number).
1798
- */
1799
- minCount: number;
1800
- /**
1801
- * @member {number} maxCount Maximum number of containers (scale up won't be
1802
- * performed above this number).
1803
- */
1804
- maxCount: number;
1805
- /**
1806
- * @member {number} scaleIncrement Each time auto scaling is performed, this
1807
- * number of containers will be added or removed.
1808
- */
1809
- scaleIncrement: number;
1810
- }
1811
-
1812
- /**
1813
- * Contains the possible cases for AutoScalingMetric.
1814
- */
1815
- export type AutoScalingMetricUnion = AutoScalingMetric | AutoScalingResourceMetric;
1816
-
1817
- /**
1818
- * @interface
1819
- * An interface representing AutoScalingMetric.
1820
- * Describes the metric that is used for triggering auto scaling operation.
1821
- * Derived classes will describe resources or metrics.
1822
- *
1823
- */
1824
- export interface AutoScalingMetric {
1825
- /**
1826
- * @member {string} kind Polymorphic Discriminator
1827
- */
1828
- kind: "AutoScalingMetric";
1829
- }
1830
-
1831
- /**
1832
- * @interface
1833
- * An interface representing AutoScalingResourceMetric.
1834
- * Describes the resource that is used for triggering auto scaling.
1835
- *
1836
- */
1837
- export interface AutoScalingResourceMetric {
1838
- /**
1839
- * @member {string} kind Polymorphic Discriminator
1840
- */
1841
- kind: "Resource";
1842
- /**
1843
- * @member {AutoScalingResourceMetricName} name Name of the resource.
1844
- * Possible values include: 'cpu', 'memoryInGB'
1845
- */
1846
- name: AutoScalingResourceMetricName;
1847
- }
1848
-
1849
- /**
1850
- * @interface
1851
- * An interface representing ServiceProperties.
1852
- * Describes properties of a service resource.
1853
- *
1854
- */
1855
- export interface ServiceProperties {
1856
- /**
1857
- * @member {string} [description] User readable description of the service.
1858
- */
1859
- description?: string;
1860
- /**
1861
- * @member {number} [replicaCount] The number of replicas of the service to
1862
- * create. Defaults to 1 if not specified.
1863
- */
1864
- replicaCount?: number;
1865
- /**
1866
- * @member {AutoScalingPolicy[]} [autoScalingPolicies] Auto scaling policies
1867
- */
1868
- autoScalingPolicies?: AutoScalingPolicy[];
1869
- /**
1870
- * @member {ResourceStatus} [status] Status of the service. Possible values
1871
- * include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
1872
- * **NOTE: This property will not be serialized. It can only be populated by
1873
- * the server.**
1874
- */
1875
- readonly status?: ResourceStatus;
1876
- /**
1877
- * @member {string} [statusDetails] Gives additional information about the
1878
- * current status of the service.
1879
- * **NOTE: This property will not be serialized. It can only be populated by
1880
- * the server.**
1881
- */
1882
- readonly statusDetails?: string;
1883
- /**
1884
- * @member {HealthState} [healthState] Describes the health state of an
1885
- * application resource. Possible values include: 'Invalid', 'Ok', 'Warning',
1886
- * 'Error', 'Unknown'
1887
- * **NOTE: This property will not be serialized. It can only be populated by
1888
- * the server.**
1889
- */
1890
- readonly healthState?: HealthState;
1891
- /**
1892
- * @member {string} [unhealthyEvaluation] When the service's health state is
1893
- * not 'Ok', this additional details from service fabric Health Manager for
1894
- * the user to know why the service is marked unhealthy.
1895
- * **NOTE: This property will not be serialized. It can only be populated by
1896
- * the server.**
1897
- */
1898
- readonly unhealthyEvaluation?: string;
1899
- }
1900
-
1901
- /**
1902
- * @interface
1903
- * An interface representing ServiceReplicaProperties.
1904
- * Describes the properties of a service replica.
1905
- *
1906
- */
1907
- export interface ServiceReplicaProperties {
1908
- /**
1909
- * @member {OperatingSystemType} osType The operation system required by the
1910
- * code in service. Possible values include: 'Linux', 'Windows'
1911
- */
1912
- osType: OperatingSystemType;
1913
- /**
1914
- * @member {ContainerCodePackageProperties[]} codePackages Describes the set
1915
- * of code packages that forms the service. A code package describes the
1916
- * container and the properties for running it. All the code packages are
1917
- * started together on the same host and share the same context (network,
1918
- * process etc.).
1919
- */
1920
- codePackages: ContainerCodePackageProperties[];
1921
- /**
1922
- * @member {NetworkRef[]} [networkRefs] The names of the private networks
1923
- * that this service needs to be part of.
1924
- */
1925
- networkRefs?: NetworkRef[];
1926
- /**
1927
- * @member {DiagnosticsRef} [diagnostics] Reference to sinks in
1928
- * DiagnosticsDescription.
1929
- */
1930
- diagnostics?: DiagnosticsRef;
1931
- }
1932
-
1933
- /**
1934
- * @interface
1935
- * An interface representing ServiceReplicaDescription.
1936
- * Describes a replica of a service resource.
1937
- *
1938
- * @extends ServiceReplicaProperties
1939
- */
1940
- export interface ServiceReplicaDescription extends ServiceReplicaProperties {
1941
- /**
1942
- * @member {string} replicaName Name of the replica.
1943
- */
1944
- replicaName: string;
1945
- }
1946
-
1947
- /**
1948
- * @interface
1949
- * An interface representing AverageLoadScalingTrigger.
1950
- * Describes the average load trigger used for auto scaling.
1951
- *
1952
- */
1953
- export interface AverageLoadScalingTrigger {
1954
- /**
1955
- * @member {string} kind Polymorphic Discriminator
1956
- */
1957
- kind: "AverageLoad";
1958
- /**
1959
- * @member {AutoScalingMetricUnion} metric Description of the metric that is
1960
- * used for scaling.
1961
- */
1962
- metric: AutoScalingMetricUnion;
1963
- /**
1964
- * @member {number} lowerLoadThreshold Lower load threshold (if average load
1965
- * is below this threshold, service will scale down).
1966
- */
1967
- lowerLoadThreshold: number;
1968
- /**
1969
- * @member {number} upperLoadThreshold Upper load threshold (if average load
1970
- * is above this threshold, service will scale up).
1971
- */
1972
- upperLoadThreshold: number;
1973
- /**
1974
- * @member {number} scaleIntervalInSeconds Scale interval that indicates how
1975
- * often will this trigger be checked.
1976
- */
1977
- scaleIntervalInSeconds: number;
1978
- }
1979
-
1980
- /**
1981
- * @interface
1982
- * An interface representing ContainerLogs.
1983
- * Container logs.
1984
- *
1985
- */
1986
- export interface ContainerLogs {
1987
- /**
1988
- * @member {string} [content] Container logs.
1989
- */
1990
- content?: string;
1991
- }
1992
-
1993
- /**
1994
- * @interface
1995
- * An interface representing CodePackageGetContainerLogsOptionalParams.
1996
- * Optional Parameters.
1997
- *
1998
- * @extends RequestOptionsBase
1999
- */
2000
- export interface CodePackageGetContainerLogsOptionalParams extends msRest.RequestOptionsBase {
2001
- /**
2002
- * @member {number} [tail] Number of lines to show from the end of the logs.
2003
- * Default is 100.
2004
- */
2005
- tail?: number;
2006
- }
2007
-
2008
- /**
2009
- * @interface
2010
- * An interface representing ServiceFabricMeshManagementClientOptions.
2011
- * @extends AzureServiceClientOptions
2012
- */
2013
- export interface ServiceFabricMeshManagementClientOptions extends AzureServiceClientOptions {
2014
- /**
2015
- * @member {string} [baseUri]
2016
- */
2017
- baseUri?: string;
2018
- }
2019
-
2020
-
2021
- /**
2022
- * @interface
2023
- * An interface representing the OperationListResult.
2024
- * Describes the result of the request to list Service Fabric operations.
2025
- *
2026
- * @extends Array<OperationResult>
2027
- */
2028
- export interface OperationListResult extends Array<OperationResult> {
2029
- /**
2030
- * @member {string} [nextLink] URL to get the next set of operation list
2031
- * results if there are any.
2032
- * **NOTE: This property will not be serialized. It can only be populated by
2033
- * the server.**
2034
- */
2035
- readonly nextLink?: string;
2036
- }
2037
-
2038
- /**
2039
- * @interface
2040
- * An interface representing the SecretResourceDescriptionList.
2041
- * A pageable list of secret resources.
2042
- *
2043
- * @extends Array<SecretResourceDescription>
2044
- */
2045
- export interface SecretResourceDescriptionList extends Array<SecretResourceDescription> {
2046
- /**
2047
- * @member {string} [nextLink] URI to fetch the next page of the list.
2048
- */
2049
- nextLink?: string;
2050
- }
2051
-
2052
- /**
2053
- * @interface
2054
- * An interface representing the SecretValueResourceDescriptionList.
2055
- * A pageable list of values of a secret resource. The information does not
2056
- * include only the name of the value and not the actual unecrypted value.
2057
- *
2058
- * @extends Array<SecretValueResourceDescription>
2059
- */
2060
- export interface SecretValueResourceDescriptionList extends Array<SecretValueResourceDescription> {
2061
- /**
2062
- * @member {string} [nextLink] URI to fetch the next page of the list.
2063
- */
2064
- nextLink?: string;
2065
- }
2066
-
2067
- /**
2068
- * @interface
2069
- * An interface representing the VolumeResourceDescriptionList.
2070
- * A pageable list of volume resources.
2071
- *
2072
- * @extends Array<VolumeResourceDescription>
2073
- */
2074
- export interface VolumeResourceDescriptionList extends Array<VolumeResourceDescription> {
2075
- /**
2076
- * @member {string} [nextLink] URI to fetch the next page of the list.
2077
- */
2078
- nextLink?: string;
2079
- }
2080
-
2081
- /**
2082
- * @interface
2083
- * An interface representing the NetworkResourceDescriptionList.
2084
- * A pageable list of network resources.
2085
- *
2086
- * @extends Array<NetworkResourceDescription>
2087
- */
2088
- export interface NetworkResourceDescriptionList extends Array<NetworkResourceDescription> {
2089
- /**
2090
- * @member {string} [nextLink] URI to fetch the next page of the list.
2091
- */
2092
- nextLink?: string;
2093
- }
2094
-
2095
- /**
2096
- * @interface
2097
- * An interface representing the GatewayResourceDescriptionList.
2098
- * A pageable list of gateway resources.
2099
- *
2100
- * @extends Array<GatewayResourceDescription>
2101
- */
2102
- export interface GatewayResourceDescriptionList extends Array<GatewayResourceDescription> {
2103
- /**
2104
- * @member {string} [nextLink] URI to fetch the next page of the list.
2105
- */
2106
- nextLink?: string;
2107
- }
2108
-
2109
- /**
2110
- * @interface
2111
- * An interface representing the ApplicationResourceDescriptionList.
2112
- * A pageable list of application resources.
2113
- *
2114
- * @extends Array<ApplicationResourceDescription>
2115
- */
2116
- export interface ApplicationResourceDescriptionList extends Array<ApplicationResourceDescription> {
2117
- /**
2118
- * @member {string} [nextLink] URI to fetch the next page of the list.
2119
- */
2120
- nextLink?: string;
2121
- }
2122
-
2123
- /**
2124
- * @interface
2125
- * An interface representing the ServiceResourceDescriptionList.
2126
- * A pageable list of service resources.
2127
- *
2128
- * @extends Array<ServiceResourceDescription>
2129
- */
2130
- export interface ServiceResourceDescriptionList extends Array<ServiceResourceDescription> {
2131
- /**
2132
- * @member {string} [nextLink] URI to fetch the next page of the list.
2133
- */
2134
- nextLink?: string;
2135
- }
2136
-
2137
- /**
2138
- * @interface
2139
- * An interface representing the ServiceReplicaDescriptionList.
2140
- * A pageable list of service replicas.
2141
- *
2142
- * @extends Array<ServiceReplicaDescription>
2143
- */
2144
- export interface ServiceReplicaDescriptionList extends Array<ServiceReplicaDescription> {
2145
- /**
2146
- * @member {string} [nextLink] URI to fetch the next page of the list.
2147
- */
2148
- nextLink?: string;
2149
- }
2150
-
2151
- /**
2152
- * Defines values for ResourceStatus.
2153
- * Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
2154
- * @readonly
2155
- * @enum {string}
2156
- */
2157
- export type ResourceStatus = 'Unknown' | 'Ready' | 'Upgrading' | 'Creating' | 'Deleting' | 'Failed';
2158
-
2159
- /**
2160
- * Defines values for HealthState.
2161
- * Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
2162
- * @readonly
2163
- * @enum {string}
2164
- */
2165
- export type HealthState = 'Invalid' | 'Ok' | 'Warning' | 'Error' | 'Unknown';
2166
-
2167
- /**
2168
- * Defines values for SecretKind.
2169
- * Possible values include: 'inlinedValue'
2170
- * @readonly
2171
- * @enum {string}
2172
- */
2173
- export type SecretKind = 'inlinedValue';
2174
-
2175
- /**
2176
- * Defines values for VolumeProvider.
2177
- * Possible values include: 'SFAzureFile'
2178
- * @readonly
2179
- * @enum {string}
2180
- */
2181
- export type VolumeProvider = 'SFAzureFile';
2182
-
2183
- /**
2184
- * Defines values for SizeTypes.
2185
- * Possible values include: 'Small', 'Medium', 'Large'
2186
- * @readonly
2187
- * @enum {string}
2188
- */
2189
- export type SizeTypes = 'Small' | 'Medium' | 'Large';
2190
-
2191
- /**
2192
- * Defines values for ApplicationScopedVolumeKind.
2193
- * Possible values include: 'ServiceFabricVolumeDisk'
2194
- * @readonly
2195
- * @enum {string}
2196
- */
2197
- export type ApplicationScopedVolumeKind = 'ServiceFabricVolumeDisk';
2198
-
2199
- /**
2200
- * Defines values for NetworkKind.
2201
- * Possible values include: 'Local'
2202
- * @readonly
2203
- * @enum {string}
2204
- */
2205
- export type NetworkKind = 'Local';
2206
-
2207
- /**
2208
- * Defines values for HeaderMatchType.
2209
- * Possible values include: 'exact'
2210
- * @readonly
2211
- * @enum {string}
2212
- */
2213
- export type HeaderMatchType = 'exact';
2214
-
2215
- /**
2216
- * Defines values for OperatingSystemType.
2217
- * Possible values include: 'Linux', 'Windows'
2218
- * @readonly
2219
- * @enum {string}
2220
- */
2221
- export type OperatingSystemType = 'Linux' | 'Windows';
2222
-
2223
- /**
2224
- * Defines values for DiagnosticsSinkKind.
2225
- * Possible values include: 'Invalid', 'AzureInternalMonitoringPipeline'
2226
- * @readonly
2227
- * @enum {string}
2228
- */
2229
- export type DiagnosticsSinkKind = 'Invalid' | 'AzureInternalMonitoringPipeline';
2230
-
2231
- /**
2232
- * Defines values for AutoScalingMechanismKind.
2233
- * Possible values include: 'AddRemoveReplica'
2234
- * @readonly
2235
- * @enum {string}
2236
- */
2237
- export type AutoScalingMechanismKind = 'AddRemoveReplica';
2238
-
2239
- /**
2240
- * Defines values for AutoScalingMetricKind.
2241
- * Possible values include: 'Resource'
2242
- * @readonly
2243
- * @enum {string}
2244
- */
2245
- export type AutoScalingMetricKind = 'Resource';
2246
-
2247
- /**
2248
- * Defines values for AutoScalingResourceMetricName.
2249
- * Possible values include: 'cpu', 'memoryInGB'
2250
- * @readonly
2251
- * @enum {string}
2252
- */
2253
- export type AutoScalingResourceMetricName = 'cpu' | 'memoryInGB';
2254
-
2255
- /**
2256
- * Defines values for AutoScalingTriggerKind.
2257
- * Possible values include: 'AverageLoad'
2258
- * @readonly
2259
- * @enum {string}
2260
- */
2261
- export type AutoScalingTriggerKind = 'AverageLoad';
2262
-
2263
- /**
2264
- * Contains response data for the list operation.
2265
- */
2266
- export type OperationsListResponse = OperationListResult & {
2267
- /**
2268
- * The underlying HTTP response.
2269
- */
2270
- _response: msRest.HttpResponse & {
2271
- /**
2272
- * The response body as text (string format)
2273
- */
2274
- bodyAsText: string;
2275
- /**
2276
- * The response body as parsed JSON or XML
2277
- */
2278
- parsedBody: OperationListResult;
2279
- };
2280
- };
2281
-
2282
- /**
2283
- * Contains response data for the listNext operation.
2284
- */
2285
- export type OperationsListNextResponse = OperationListResult & {
2286
- /**
2287
- * The underlying HTTP response.
2288
- */
2289
- _response: msRest.HttpResponse & {
2290
- /**
2291
- * The response body as text (string format)
2292
- */
2293
- bodyAsText: string;
2294
- /**
2295
- * The response body as parsed JSON or XML
2296
- */
2297
- parsedBody: OperationListResult;
2298
- };
2299
- };
2300
-
2301
- /**
2302
- * Contains response data for the create operation.
2303
- */
2304
- export type SecretCreateResponse = SecretResourceDescription & {
2305
- /**
2306
- * The underlying HTTP response.
2307
- */
2308
- _response: msRest.HttpResponse & {
2309
- /**
2310
- * The response body as text (string format)
2311
- */
2312
- bodyAsText: string;
2313
- /**
2314
- * The response body as parsed JSON or XML
2315
- */
2316
- parsedBody: SecretResourceDescription;
2317
- };
2318
- };
2319
-
2320
- /**
2321
- * Contains response data for the get operation.
2322
- */
2323
- export type SecretGetResponse = SecretResourceDescription & {
2324
- /**
2325
- * The underlying HTTP response.
2326
- */
2327
- _response: msRest.HttpResponse & {
2328
- /**
2329
- * The response body as text (string format)
2330
- */
2331
- bodyAsText: string;
2332
- /**
2333
- * The response body as parsed JSON or XML
2334
- */
2335
- parsedBody: SecretResourceDescription;
2336
- };
2337
- };
2338
-
2339
- /**
2340
- * Contains response data for the listByResourceGroup operation.
2341
- */
2342
- export type SecretListByResourceGroupResponse = SecretResourceDescriptionList & {
2343
- /**
2344
- * The underlying HTTP response.
2345
- */
2346
- _response: msRest.HttpResponse & {
2347
- /**
2348
- * The response body as text (string format)
2349
- */
2350
- bodyAsText: string;
2351
- /**
2352
- * The response body as parsed JSON or XML
2353
- */
2354
- parsedBody: SecretResourceDescriptionList;
2355
- };
2356
- };
2357
-
2358
- /**
2359
- * Contains response data for the listBySubscription operation.
2360
- */
2361
- export type SecretListBySubscriptionResponse = SecretResourceDescriptionList & {
2362
- /**
2363
- * The underlying HTTP response.
2364
- */
2365
- _response: msRest.HttpResponse & {
2366
- /**
2367
- * The response body as text (string format)
2368
- */
2369
- bodyAsText: string;
2370
- /**
2371
- * The response body as parsed JSON or XML
2372
- */
2373
- parsedBody: SecretResourceDescriptionList;
2374
- };
2375
- };
2376
-
2377
- /**
2378
- * Contains response data for the listByResourceGroupNext operation.
2379
- */
2380
- export type SecretListByResourceGroupNextResponse = SecretResourceDescriptionList & {
2381
- /**
2382
- * The underlying HTTP response.
2383
- */
2384
- _response: msRest.HttpResponse & {
2385
- /**
2386
- * The response body as text (string format)
2387
- */
2388
- bodyAsText: string;
2389
- /**
2390
- * The response body as parsed JSON or XML
2391
- */
2392
- parsedBody: SecretResourceDescriptionList;
2393
- };
2394
- };
2395
-
2396
- /**
2397
- * Contains response data for the listBySubscriptionNext operation.
2398
- */
2399
- export type SecretListBySubscriptionNextResponse = SecretResourceDescriptionList & {
2400
- /**
2401
- * The underlying HTTP response.
2402
- */
2403
- _response: msRest.HttpResponse & {
2404
- /**
2405
- * The response body as text (string format)
2406
- */
2407
- bodyAsText: string;
2408
- /**
2409
- * The response body as parsed JSON or XML
2410
- */
2411
- parsedBody: SecretResourceDescriptionList;
2412
- };
2413
- };
2414
-
2415
- /**
2416
- * Contains response data for the create operation.
2417
- */
2418
- export type SecretValueCreateResponse = SecretValueResourceDescription & {
2419
- /**
2420
- * The underlying HTTP response.
2421
- */
2422
- _response: msRest.HttpResponse & {
2423
- /**
2424
- * The response body as text (string format)
2425
- */
2426
- bodyAsText: string;
2427
- /**
2428
- * The response body as parsed JSON or XML
2429
- */
2430
- parsedBody: SecretValueResourceDescription;
2431
- };
2432
- };
2433
-
2434
- /**
2435
- * Contains response data for the get operation.
2436
- */
2437
- export type SecretValueGetResponse = SecretValueResourceDescription & {
2438
- /**
2439
- * The underlying HTTP response.
2440
- */
2441
- _response: msRest.HttpResponse & {
2442
- /**
2443
- * The response body as text (string format)
2444
- */
2445
- bodyAsText: string;
2446
- /**
2447
- * The response body as parsed JSON or XML
2448
- */
2449
- parsedBody: SecretValueResourceDescription;
2450
- };
2451
- };
2452
-
2453
- /**
2454
- * Contains response data for the list operation.
2455
- */
2456
- export type SecretValueListResponse = SecretValueResourceDescriptionList & {
2457
- /**
2458
- * The underlying HTTP response.
2459
- */
2460
- _response: msRest.HttpResponse & {
2461
- /**
2462
- * The response body as text (string format)
2463
- */
2464
- bodyAsText: string;
2465
- /**
2466
- * The response body as parsed JSON or XML
2467
- */
2468
- parsedBody: SecretValueResourceDescriptionList;
2469
- };
2470
- };
2471
-
2472
- /**
2473
- * Contains response data for the listValue operation.
2474
- */
2475
- export type SecretValueListValueResponse = SecretValue & {
2476
- /**
2477
- * The underlying HTTP response.
2478
- */
2479
- _response: msRest.HttpResponse & {
2480
- /**
2481
- * The response body as text (string format)
2482
- */
2483
- bodyAsText: string;
2484
- /**
2485
- * The response body as parsed JSON or XML
2486
- */
2487
- parsedBody: SecretValue;
2488
- };
2489
- };
2490
-
2491
- /**
2492
- * Contains response data for the listNext operation.
2493
- */
2494
- export type SecretValueListNextResponse = SecretValueResourceDescriptionList & {
2495
- /**
2496
- * The underlying HTTP response.
2497
- */
2498
- _response: msRest.HttpResponse & {
2499
- /**
2500
- * The response body as text (string format)
2501
- */
2502
- bodyAsText: string;
2503
- /**
2504
- * The response body as parsed JSON or XML
2505
- */
2506
- parsedBody: SecretValueResourceDescriptionList;
2507
- };
2508
- };
2509
-
2510
- /**
2511
- * Contains response data for the create operation.
2512
- */
2513
- export type VolumeCreateResponse = VolumeResourceDescription & {
2514
- /**
2515
- * The underlying HTTP response.
2516
- */
2517
- _response: msRest.HttpResponse & {
2518
- /**
2519
- * The response body as text (string format)
2520
- */
2521
- bodyAsText: string;
2522
- /**
2523
- * The response body as parsed JSON or XML
2524
- */
2525
- parsedBody: VolumeResourceDescription;
2526
- };
2527
- };
2528
-
2529
- /**
2530
- * Contains response data for the get operation.
2531
- */
2532
- export type VolumeGetResponse = VolumeResourceDescription & {
2533
- /**
2534
- * The underlying HTTP response.
2535
- */
2536
- _response: msRest.HttpResponse & {
2537
- /**
2538
- * The response body as text (string format)
2539
- */
2540
- bodyAsText: string;
2541
- /**
2542
- * The response body as parsed JSON or XML
2543
- */
2544
- parsedBody: VolumeResourceDescription;
2545
- };
2546
- };
2547
-
2548
- /**
2549
- * Contains response data for the listByResourceGroup operation.
2550
- */
2551
- export type VolumeListByResourceGroupResponse = VolumeResourceDescriptionList & {
2552
- /**
2553
- * The underlying HTTP response.
2554
- */
2555
- _response: msRest.HttpResponse & {
2556
- /**
2557
- * The response body as text (string format)
2558
- */
2559
- bodyAsText: string;
2560
- /**
2561
- * The response body as parsed JSON or XML
2562
- */
2563
- parsedBody: VolumeResourceDescriptionList;
2564
- };
2565
- };
2566
-
2567
- /**
2568
- * Contains response data for the listBySubscription operation.
2569
- */
2570
- export type VolumeListBySubscriptionResponse = VolumeResourceDescriptionList & {
2571
- /**
2572
- * The underlying HTTP response.
2573
- */
2574
- _response: msRest.HttpResponse & {
2575
- /**
2576
- * The response body as text (string format)
2577
- */
2578
- bodyAsText: string;
2579
- /**
2580
- * The response body as parsed JSON or XML
2581
- */
2582
- parsedBody: VolumeResourceDescriptionList;
2583
- };
2584
- };
2585
-
2586
- /**
2587
- * Contains response data for the listByResourceGroupNext operation.
2588
- */
2589
- export type VolumeListByResourceGroupNextResponse = VolumeResourceDescriptionList & {
2590
- /**
2591
- * The underlying HTTP response.
2592
- */
2593
- _response: msRest.HttpResponse & {
2594
- /**
2595
- * The response body as text (string format)
2596
- */
2597
- bodyAsText: string;
2598
- /**
2599
- * The response body as parsed JSON or XML
2600
- */
2601
- parsedBody: VolumeResourceDescriptionList;
2602
- };
2603
- };
2604
-
2605
- /**
2606
- * Contains response data for the listBySubscriptionNext operation.
2607
- */
2608
- export type VolumeListBySubscriptionNextResponse = VolumeResourceDescriptionList & {
2609
- /**
2610
- * The underlying HTTP response.
2611
- */
2612
- _response: msRest.HttpResponse & {
2613
- /**
2614
- * The response body as text (string format)
2615
- */
2616
- bodyAsText: string;
2617
- /**
2618
- * The response body as parsed JSON or XML
2619
- */
2620
- parsedBody: VolumeResourceDescriptionList;
2621
- };
2622
- };
2623
-
2624
- /**
2625
- * Contains response data for the create operation.
2626
- */
2627
- export type NetworkCreateResponse = NetworkResourceDescription & {
2628
- /**
2629
- * The underlying HTTP response.
2630
- */
2631
- _response: msRest.HttpResponse & {
2632
- /**
2633
- * The response body as text (string format)
2634
- */
2635
- bodyAsText: string;
2636
- /**
2637
- * The response body as parsed JSON or XML
2638
- */
2639
- parsedBody: NetworkResourceDescription;
2640
- };
2641
- };
2642
-
2643
- /**
2644
- * Contains response data for the get operation.
2645
- */
2646
- export type NetworkGetResponse = NetworkResourceDescription & {
2647
- /**
2648
- * The underlying HTTP response.
2649
- */
2650
- _response: msRest.HttpResponse & {
2651
- /**
2652
- * The response body as text (string format)
2653
- */
2654
- bodyAsText: string;
2655
- /**
2656
- * The response body as parsed JSON or XML
2657
- */
2658
- parsedBody: NetworkResourceDescription;
2659
- };
2660
- };
2661
-
2662
- /**
2663
- * Contains response data for the listByResourceGroup operation.
2664
- */
2665
- export type NetworkListByResourceGroupResponse = NetworkResourceDescriptionList & {
2666
- /**
2667
- * The underlying HTTP response.
2668
- */
2669
- _response: msRest.HttpResponse & {
2670
- /**
2671
- * The response body as text (string format)
2672
- */
2673
- bodyAsText: string;
2674
- /**
2675
- * The response body as parsed JSON or XML
2676
- */
2677
- parsedBody: NetworkResourceDescriptionList;
2678
- };
2679
- };
2680
-
2681
- /**
2682
- * Contains response data for the listBySubscription operation.
2683
- */
2684
- export type NetworkListBySubscriptionResponse = NetworkResourceDescriptionList & {
2685
- /**
2686
- * The underlying HTTP response.
2687
- */
2688
- _response: msRest.HttpResponse & {
2689
- /**
2690
- * The response body as text (string format)
2691
- */
2692
- bodyAsText: string;
2693
- /**
2694
- * The response body as parsed JSON or XML
2695
- */
2696
- parsedBody: NetworkResourceDescriptionList;
2697
- };
2698
- };
2699
-
2700
- /**
2701
- * Contains response data for the listByResourceGroupNext operation.
2702
- */
2703
- export type NetworkListByResourceGroupNextResponse = NetworkResourceDescriptionList & {
2704
- /**
2705
- * The underlying HTTP response.
2706
- */
2707
- _response: msRest.HttpResponse & {
2708
- /**
2709
- * The response body as text (string format)
2710
- */
2711
- bodyAsText: string;
2712
- /**
2713
- * The response body as parsed JSON or XML
2714
- */
2715
- parsedBody: NetworkResourceDescriptionList;
2716
- };
2717
- };
2718
-
2719
- /**
2720
- * Contains response data for the listBySubscriptionNext operation.
2721
- */
2722
- export type NetworkListBySubscriptionNextResponse = NetworkResourceDescriptionList & {
2723
- /**
2724
- * The underlying HTTP response.
2725
- */
2726
- _response: msRest.HttpResponse & {
2727
- /**
2728
- * The response body as text (string format)
2729
- */
2730
- bodyAsText: string;
2731
- /**
2732
- * The response body as parsed JSON or XML
2733
- */
2734
- parsedBody: NetworkResourceDescriptionList;
2735
- };
2736
- };
2737
-
2738
- /**
2739
- * Contains response data for the create operation.
2740
- */
2741
- export type GatewayCreateResponse = GatewayResourceDescription & {
2742
- /**
2743
- * The underlying HTTP response.
2744
- */
2745
- _response: msRest.HttpResponse & {
2746
- /**
2747
- * The response body as text (string format)
2748
- */
2749
- bodyAsText: string;
2750
- /**
2751
- * The response body as parsed JSON or XML
2752
- */
2753
- parsedBody: GatewayResourceDescription;
2754
- };
2755
- };
2756
-
2757
- /**
2758
- * Contains response data for the get operation.
2759
- */
2760
- export type GatewayGetResponse = GatewayResourceDescription & {
2761
- /**
2762
- * The underlying HTTP response.
2763
- */
2764
- _response: msRest.HttpResponse & {
2765
- /**
2766
- * The response body as text (string format)
2767
- */
2768
- bodyAsText: string;
2769
- /**
2770
- * The response body as parsed JSON or XML
2771
- */
2772
- parsedBody: GatewayResourceDescription;
2773
- };
2774
- };
2775
-
2776
- /**
2777
- * Contains response data for the listByResourceGroup operation.
2778
- */
2779
- export type GatewayListByResourceGroupResponse = GatewayResourceDescriptionList & {
2780
- /**
2781
- * The underlying HTTP response.
2782
- */
2783
- _response: msRest.HttpResponse & {
2784
- /**
2785
- * The response body as text (string format)
2786
- */
2787
- bodyAsText: string;
2788
- /**
2789
- * The response body as parsed JSON or XML
2790
- */
2791
- parsedBody: GatewayResourceDescriptionList;
2792
- };
2793
- };
2794
-
2795
- /**
2796
- * Contains response data for the listBySubscription operation.
2797
- */
2798
- export type GatewayListBySubscriptionResponse = GatewayResourceDescriptionList & {
2799
- /**
2800
- * The underlying HTTP response.
2801
- */
2802
- _response: msRest.HttpResponse & {
2803
- /**
2804
- * The response body as text (string format)
2805
- */
2806
- bodyAsText: string;
2807
- /**
2808
- * The response body as parsed JSON or XML
2809
- */
2810
- parsedBody: GatewayResourceDescriptionList;
2811
- };
2812
- };
2813
-
2814
- /**
2815
- * Contains response data for the listByResourceGroupNext operation.
2816
- */
2817
- export type GatewayListByResourceGroupNextResponse = GatewayResourceDescriptionList & {
2818
- /**
2819
- * The underlying HTTP response.
2820
- */
2821
- _response: msRest.HttpResponse & {
2822
- /**
2823
- * The response body as text (string format)
2824
- */
2825
- bodyAsText: string;
2826
- /**
2827
- * The response body as parsed JSON or XML
2828
- */
2829
- parsedBody: GatewayResourceDescriptionList;
2830
- };
2831
- };
2832
-
2833
- /**
2834
- * Contains response data for the listBySubscriptionNext operation.
2835
- */
2836
- export type GatewayListBySubscriptionNextResponse = GatewayResourceDescriptionList & {
2837
- /**
2838
- * The underlying HTTP response.
2839
- */
2840
- _response: msRest.HttpResponse & {
2841
- /**
2842
- * The response body as text (string format)
2843
- */
2844
- bodyAsText: string;
2845
- /**
2846
- * The response body as parsed JSON or XML
2847
- */
2848
- parsedBody: GatewayResourceDescriptionList;
2849
- };
2850
- };
2851
-
2852
- /**
2853
- * Contains response data for the create operation.
2854
- */
2855
- export type ApplicationCreateResponse = ApplicationResourceDescription & {
2856
- /**
2857
- * The underlying HTTP response.
2858
- */
2859
- _response: msRest.HttpResponse & {
2860
- /**
2861
- * The response body as text (string format)
2862
- */
2863
- bodyAsText: string;
2864
- /**
2865
- * The response body as parsed JSON or XML
2866
- */
2867
- parsedBody: ApplicationResourceDescription;
2868
- };
2869
- };
2870
-
2871
- /**
2872
- * Contains response data for the get operation.
2873
- */
2874
- export type ApplicationGetResponse = ApplicationResourceDescription & {
2875
- /**
2876
- * The underlying HTTP response.
2877
- */
2878
- _response: msRest.HttpResponse & {
2879
- /**
2880
- * The response body as text (string format)
2881
- */
2882
- bodyAsText: string;
2883
- /**
2884
- * The response body as parsed JSON or XML
2885
- */
2886
- parsedBody: ApplicationResourceDescription;
2887
- };
2888
- };
2889
-
2890
- /**
2891
- * Contains response data for the listByResourceGroup operation.
2892
- */
2893
- export type ApplicationListByResourceGroupResponse = ApplicationResourceDescriptionList & {
2894
- /**
2895
- * The underlying HTTP response.
2896
- */
2897
- _response: msRest.HttpResponse & {
2898
- /**
2899
- * The response body as text (string format)
2900
- */
2901
- bodyAsText: string;
2902
- /**
2903
- * The response body as parsed JSON or XML
2904
- */
2905
- parsedBody: ApplicationResourceDescriptionList;
2906
- };
2907
- };
2908
-
2909
- /**
2910
- * Contains response data for the listBySubscription operation.
2911
- */
2912
- export type ApplicationListBySubscriptionResponse = ApplicationResourceDescriptionList & {
2913
- /**
2914
- * The underlying HTTP response.
2915
- */
2916
- _response: msRest.HttpResponse & {
2917
- /**
2918
- * The response body as text (string format)
2919
- */
2920
- bodyAsText: string;
2921
- /**
2922
- * The response body as parsed JSON or XML
2923
- */
2924
- parsedBody: ApplicationResourceDescriptionList;
2925
- };
2926
- };
2927
-
2928
- /**
2929
- * Contains response data for the listByResourceGroupNext operation.
2930
- */
2931
- export type ApplicationListByResourceGroupNextResponse = ApplicationResourceDescriptionList & {
2932
- /**
2933
- * The underlying HTTP response.
2934
- */
2935
- _response: msRest.HttpResponse & {
2936
- /**
2937
- * The response body as text (string format)
2938
- */
2939
- bodyAsText: string;
2940
- /**
2941
- * The response body as parsed JSON or XML
2942
- */
2943
- parsedBody: ApplicationResourceDescriptionList;
2944
- };
2945
- };
2946
-
2947
- /**
2948
- * Contains response data for the listBySubscriptionNext operation.
2949
- */
2950
- export type ApplicationListBySubscriptionNextResponse = ApplicationResourceDescriptionList & {
2951
- /**
2952
- * The underlying HTTP response.
2953
- */
2954
- _response: msRest.HttpResponse & {
2955
- /**
2956
- * The response body as text (string format)
2957
- */
2958
- bodyAsText: string;
2959
- /**
2960
- * The response body as parsed JSON or XML
2961
- */
2962
- parsedBody: ApplicationResourceDescriptionList;
2963
- };
2964
- };
2965
-
2966
- /**
2967
- * Contains response data for the get operation.
2968
- */
2969
- export type ServiceGetResponse = ServiceResourceDescription & {
2970
- /**
2971
- * The underlying HTTP response.
2972
- */
2973
- _response: msRest.HttpResponse & {
2974
- /**
2975
- * The response body as text (string format)
2976
- */
2977
- bodyAsText: string;
2978
- /**
2979
- * The response body as parsed JSON or XML
2980
- */
2981
- parsedBody: ServiceResourceDescription;
2982
- };
2983
- };
2984
-
2985
- /**
2986
- * Contains response data for the list operation.
2987
- */
2988
- export type ServiceListResponse = ServiceResourceDescriptionList & {
2989
- /**
2990
- * The underlying HTTP response.
2991
- */
2992
- _response: msRest.HttpResponse & {
2993
- /**
2994
- * The response body as text (string format)
2995
- */
2996
- bodyAsText: string;
2997
- /**
2998
- * The response body as parsed JSON or XML
2999
- */
3000
- parsedBody: ServiceResourceDescriptionList;
3001
- };
3002
- };
3003
-
3004
- /**
3005
- * Contains response data for the listNext operation.
3006
- */
3007
- export type ServiceListNextResponse = ServiceResourceDescriptionList & {
3008
- /**
3009
- * The underlying HTTP response.
3010
- */
3011
- _response: msRest.HttpResponse & {
3012
- /**
3013
- * The response body as text (string format)
3014
- */
3015
- bodyAsText: string;
3016
- /**
3017
- * The response body as parsed JSON or XML
3018
- */
3019
- parsedBody: ServiceResourceDescriptionList;
3020
- };
3021
- };
3022
-
3023
- /**
3024
- * Contains response data for the get operation.
3025
- */
3026
- export type ServiceReplicaGetResponse = ServiceReplicaDescription & {
3027
- /**
3028
- * The underlying HTTP response.
3029
- */
3030
- _response: msRest.HttpResponse & {
3031
- /**
3032
- * The response body as text (string format)
3033
- */
3034
- bodyAsText: string;
3035
- /**
3036
- * The response body as parsed JSON or XML
3037
- */
3038
- parsedBody: ServiceReplicaDescription;
3039
- };
3040
- };
3041
-
3042
- /**
3043
- * Contains response data for the list operation.
3044
- */
3045
- export type ServiceReplicaListResponse = ServiceReplicaDescriptionList & {
3046
- /**
3047
- * The underlying HTTP response.
3048
- */
3049
- _response: msRest.HttpResponse & {
3050
- /**
3051
- * The response body as text (string format)
3052
- */
3053
- bodyAsText: string;
3054
- /**
3055
- * The response body as parsed JSON or XML
3056
- */
3057
- parsedBody: ServiceReplicaDescriptionList;
3058
- };
3059
- };
3060
-
3061
- /**
3062
- * Contains response data for the listNext operation.
3063
- */
3064
- export type ServiceReplicaListNextResponse = ServiceReplicaDescriptionList & {
3065
- /**
3066
- * The underlying HTTP response.
3067
- */
3068
- _response: msRest.HttpResponse & {
3069
- /**
3070
- * The response body as text (string format)
3071
- */
3072
- bodyAsText: string;
3073
- /**
3074
- * The response body as parsed JSON or XML
3075
- */
3076
- parsedBody: ServiceReplicaDescriptionList;
3077
- };
3078
- };
3079
-
3080
- /**
3081
- * Contains response data for the getContainerLogs operation.
3082
- */
3083
- export type CodePackageGetContainerLogsResponse = ContainerLogs & {
3084
- /**
3085
- * The underlying HTTP response.
3086
- */
3087
- _response: msRest.HttpResponse & {
3088
- /**
3089
- * The response body as text (string format)
3090
- */
3091
- bodyAsText: string;
3092
- /**
3093
- * The response body as parsed JSON or XML
3094
- */
3095
- parsedBody: ContainerLogs;
3096
- };
3097
- };