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