@azure/arm-containerservicefleet 1.0.0-alpha.20230620.2

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 (178) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +3169 -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/samples-dev/fleetMembersCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/fleetMembersCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/fleetMembersCreateSample.js +42 -0
  11. package/dist-esm/samples-dev/fleetMembersCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/fleetMembersDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/fleetMembersDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/fleetMembersDeleteSample.js +39 -0
  15. package/dist-esm/samples-dev/fleetMembersDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/fleetMembersGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/fleetMembersGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/fleetMembersGetSample.js +39 -0
  19. package/dist-esm/samples-dev/fleetMembersGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/fleetMembersListByFleetSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/fleetMembersListByFleetSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/fleetMembersListByFleetSample.js +59 -0
  23. package/dist-esm/samples-dev/fleetMembersListByFleetSample.js.map +1 -0
  24. package/dist-esm/samples-dev/fleetMembersUpdateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/fleetMembersUpdateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/fleetMembersUpdateSample.js +40 -0
  27. package/dist-esm/samples-dev/fleetMembersUpdateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/fleetsCreateOrUpdateSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/fleetsCreateOrUpdateSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/fleetsCreateOrUpdateSample.js +43 -0
  31. package/dist-esm/samples-dev/fleetsCreateOrUpdateSample.js.map +1 -0
  32. package/dist-esm/samples-dev/fleetsDeleteSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/fleetsDeleteSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/fleetsDeleteSample.js +38 -0
  35. package/dist-esm/samples-dev/fleetsDeleteSample.js.map +1 -0
  36. package/dist-esm/samples-dev/fleetsGetSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/fleetsGetSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/fleetsGetSample.js +38 -0
  39. package/dist-esm/samples-dev/fleetsGetSample.js.map +1 -0
  40. package/dist-esm/samples-dev/fleetsListByResourceGroupSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/fleetsListByResourceGroupSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/fleetsListByResourceGroupSample.js +58 -0
  43. package/dist-esm/samples-dev/fleetsListByResourceGroupSample.js.map +1 -0
  44. package/dist-esm/samples-dev/fleetsListBySubscriptionSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/fleetsListBySubscriptionSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/fleetsListBySubscriptionSample.js +57 -0
  47. package/dist-esm/samples-dev/fleetsListBySubscriptionSample.js.map +1 -0
  48. package/dist-esm/samples-dev/fleetsListCredentialsSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/fleetsListCredentialsSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/fleetsListCredentialsSample.js +38 -0
  51. package/dist-esm/samples-dev/fleetsListCredentialsSample.js.map +1 -0
  52. package/dist-esm/samples-dev/fleetsUpdateSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/fleetsUpdateSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/fleetsUpdateSample.js +41 -0
  55. package/dist-esm/samples-dev/fleetsUpdateSample.js.map +1 -0
  56. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/operationsListSample.js +58 -0
  59. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  60. package/dist-esm/samples-dev/updateRunsCreateOrUpdateSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/updateRunsCreateOrUpdateSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/updateRunsCreateOrUpdateSample.js +54 -0
  63. package/dist-esm/samples-dev/updateRunsCreateOrUpdateSample.js.map +1 -0
  64. package/dist-esm/samples-dev/updateRunsDeleteSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/updateRunsDeleteSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/updateRunsDeleteSample.js +39 -0
  67. package/dist-esm/samples-dev/updateRunsDeleteSample.js.map +1 -0
  68. package/dist-esm/samples-dev/updateRunsGetSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/updateRunsGetSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/updateRunsGetSample.js +40 -0
  71. package/dist-esm/samples-dev/updateRunsGetSample.js.map +1 -0
  72. package/dist-esm/samples-dev/updateRunsListByFleetSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/updateRunsListByFleetSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/updateRunsListByFleetSample.js +60 -0
  75. package/dist-esm/samples-dev/updateRunsListByFleetSample.js.map +1 -0
  76. package/dist-esm/samples-dev/updateRunsStartSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/updateRunsStartSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/updateRunsStartSample.js +40 -0
  79. package/dist-esm/samples-dev/updateRunsStartSample.js.map +1 -0
  80. package/dist-esm/samples-dev/updateRunsStopSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/updateRunsStopSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/updateRunsStopSample.js +40 -0
  83. package/dist-esm/samples-dev/updateRunsStopSample.js.map +1 -0
  84. package/dist-esm/src/containerServiceFleetClient.d.ts +23 -0
  85. package/dist-esm/src/containerServiceFleetClient.d.ts.map +1 -0
  86. package/dist-esm/src/containerServiceFleetClient.js +103 -0
  87. package/dist-esm/src/containerServiceFleetClient.js.map +1 -0
  88. package/dist-esm/src/index.d.ts +6 -0
  89. package/dist-esm/src/index.d.ts.map +1 -0
  90. package/dist-esm/src/index.js +13 -0
  91. package/dist-esm/src/index.js.map +1 -0
  92. package/dist-esm/src/lroImpl.d.ts +11 -0
  93. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  94. package/dist-esm/src/lroImpl.js +21 -0
  95. package/dist-esm/src/lroImpl.js.map +1 -0
  96. package/dist-esm/src/models/index.d.ts +851 -0
  97. package/dist-esm/src/models/index.d.ts.map +1 -0
  98. package/dist-esm/src/models/index.js +102 -0
  99. package/dist-esm/src/models/index.js.map +1 -0
  100. package/dist-esm/src/models/mappers.d.ts +42 -0
  101. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  102. package/dist-esm/src/models/mappers.js +1057 -0
  103. package/dist-esm/src/models/mappers.js.map +1 -0
  104. package/dist-esm/src/models/parameters.d.ts +19 -0
  105. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  106. package/dist-esm/src/models/parameters.js +174 -0
  107. package/dist-esm/src/models/parameters.js.map +1 -0
  108. package/dist-esm/src/operations/fleetMembers.d.ts +90 -0
  109. package/dist-esm/src/operations/fleetMembers.d.ts.map +1 -0
  110. package/dist-esm/src/operations/fleetMembers.js +413 -0
  111. package/dist-esm/src/operations/fleetMembers.js.map +1 -0
  112. package/dist-esm/src/operations/fleets.d.ts +106 -0
  113. package/dist-esm/src/operations/fleets.d.ts.map +1 -0
  114. package/dist-esm/src/operations/fleets.js +538 -0
  115. package/dist-esm/src/operations/fleets.js.map +1 -0
  116. package/dist-esm/src/operations/index.d.ts +5 -0
  117. package/dist-esm/src/operations/index.d.ts.map +1 -0
  118. package/dist-esm/src/operations/index.js +12 -0
  119. package/dist-esm/src/operations/index.js.map +1 -0
  120. package/dist-esm/src/operations/operations.d.ts +32 -0
  121. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  122. package/dist-esm/src/operations/operations.js +138 -0
  123. package/dist-esm/src/operations/operations.js.map +1 -0
  124. package/dist-esm/src/operations/updateRuns.d.ts +113 -0
  125. package/dist-esm/src/operations/updateRuns.d.ts.map +1 -0
  126. package/dist-esm/src/operations/updateRuns.js +546 -0
  127. package/dist-esm/src/operations/updateRuns.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/fleetMembers.d.ts +65 -0
  129. package/dist-esm/src/operationsInterfaces/fleetMembers.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/fleetMembers.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/fleetMembers.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/fleets.d.ts +70 -0
  133. package/dist-esm/src/operationsInterfaces/fleets.d.ts.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/fleets.js +9 -0
  135. package/dist-esm/src/operationsInterfaces/fleets.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  137. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  139. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  141. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/updateRuns.d.ts +88 -0
  145. package/dist-esm/src/operationsInterfaces/updateRuns.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/updateRuns.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/updateRuns.js.map +1 -0
  148. package/dist-esm/src/pagingHelper.d.ts +13 -0
  149. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  150. package/dist-esm/src/pagingHelper.js +32 -0
  151. package/dist-esm/src/pagingHelper.js.map +1 -0
  152. package/dist-esm/test/containerservicefleet_operations_test.spec.d.ts +4 -0
  153. package/dist-esm/test/containerservicefleet_operations_test.spec.d.ts.map +1 -0
  154. package/dist-esm/test/containerservicefleet_operations_test.spec.js +122 -0
  155. package/dist-esm/test/containerservicefleet_operations_test.spec.js.map +1 -0
  156. package/package.json +123 -0
  157. package/review/arm-containerservicefleet.api.md +623 -0
  158. package/rollup.config.js +122 -0
  159. package/src/containerServiceFleetClient.ts +156 -0
  160. package/src/index.ts +13 -0
  161. package/src/lroImpl.ts +42 -0
  162. package/src/models/index.ts +965 -0
  163. package/src/models/mappers.ts +1124 -0
  164. package/src/models/parameters.ts +202 -0
  165. package/src/operations/fleetMembers.ts +562 -0
  166. package/src/operations/fleets.ts +684 -0
  167. package/src/operations/index.ts +12 -0
  168. package/src/operations/operations.ts +149 -0
  169. package/src/operations/updateRuns.ts +763 -0
  170. package/src/operationsInterfaces/fleetMembers.ts +127 -0
  171. package/src/operationsInterfaces/fleets.ts +134 -0
  172. package/src/operationsInterfaces/index.ts +12 -0
  173. package/src/operationsInterfaces/operations.ts +22 -0
  174. package/src/operationsInterfaces/updateRuns.ts +175 -0
  175. package/src/pagingHelper.ts +39 -0
  176. package/tsconfig.json +33 -0
  177. package/types/arm-containerservicefleet.d.ts +1209 -0
  178. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,1209 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
4
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
+
7
+ /**
8
+ * Defines values for ActionType. \
9
+ * {@link KnownActionType} can be used interchangeably with ActionType,
10
+ * this enum contains the known values that the service supports.
11
+ * ### Known values supported by the service
12
+ * **Internal**
13
+ */
14
+ export declare type ActionType = string;
15
+
16
+ export declare class ContainerServiceFleetClient extends coreClient.ServiceClient {
17
+ $host: string;
18
+ apiVersion: string;
19
+ subscriptionId: string;
20
+ /**
21
+ * Initializes a new instance of the ContainerServiceFleetClient class.
22
+ * @param credentials Subscription credentials which uniquely identify client subscription.
23
+ * @param subscriptionId The ID of the target subscription.
24
+ * @param options The parameter options
25
+ */
26
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ContainerServiceFleetClientOptionalParams);
27
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
28
+ private addCustomApiVersionPolicy;
29
+ operations: Operations;
30
+ fleets: Fleets;
31
+ fleetMembers: FleetMembers;
32
+ updateRuns: UpdateRuns;
33
+ }
34
+
35
+ /** Optional parameters. */
36
+ export declare interface ContainerServiceFleetClientOptionalParams extends coreClient.ServiceClientOptions {
37
+ /** server parameter */
38
+ $host?: string;
39
+ /** Api Version */
40
+ apiVersion?: string;
41
+ /** Overrides client endpoint. */
42
+ endpoint?: string;
43
+ }
44
+
45
+ /**
46
+ * Defines values for CreatedByType. \
47
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
48
+ * this enum contains the known values that the service supports.
49
+ * ### Known values supported by the service
50
+ * **User** \
51
+ * **Application** \
52
+ * **ManagedIdentity** \
53
+ * **Key**
54
+ */
55
+ export declare type CreatedByType = string;
56
+
57
+ /** The resource management error additional info. */
58
+ export declare interface ErrorAdditionalInfo {
59
+ /**
60
+ * The additional info type.
61
+ * NOTE: This property will not be serialized. It can only be populated by the server.
62
+ */
63
+ readonly type?: string;
64
+ /**
65
+ * The additional info.
66
+ * NOTE: This property will not be serialized. It can only be populated by the server.
67
+ */
68
+ readonly info?: Record<string, unknown>;
69
+ }
70
+
71
+ /** The error detail. */
72
+ export declare interface ErrorDetail {
73
+ /**
74
+ * The error code.
75
+ * NOTE: This property will not be serialized. It can only be populated by the server.
76
+ */
77
+ readonly code?: string;
78
+ /**
79
+ * The error message.
80
+ * NOTE: This property will not be serialized. It can only be populated by the server.
81
+ */
82
+ readonly message?: string;
83
+ /**
84
+ * The error target.
85
+ * NOTE: This property will not be serialized. It can only be populated by the server.
86
+ */
87
+ readonly target?: string;
88
+ /**
89
+ * The error details.
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
+ */
92
+ readonly details?: ErrorDetail[];
93
+ /**
94
+ * The error additional info.
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
96
+ */
97
+ readonly additionalInfo?: ErrorAdditionalInfo[];
98
+ }
99
+
100
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
101
+ export declare interface ErrorResponse {
102
+ /** The error object. */
103
+ error?: ErrorDetail;
104
+ }
105
+
106
+ /** The Fleet resource. */
107
+ export declare interface Fleet extends TrackedResource {
108
+ /**
109
+ * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
+ */
112
+ readonly eTag?: string;
113
+ /**
114
+ * The status of the last operation.
115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
116
+ */
117
+ readonly provisioningState?: FleetProvisioningState;
118
+ /** The FleetHubProfile configures the Fleet's hub. */
119
+ hubProfile?: FleetHubProfile;
120
+ }
121
+
122
+ /** One credential result item. */
123
+ export declare interface FleetCredentialResult {
124
+ /**
125
+ * The name of the credential.
126
+ * NOTE: This property will not be serialized. It can only be populated by the server.
127
+ */
128
+ readonly name?: string;
129
+ /**
130
+ * Base64-encoded Kubernetes configuration file.
131
+ * NOTE: This property will not be serialized. It can only be populated by the server.
132
+ */
133
+ readonly value?: Uint8Array;
134
+ }
135
+
136
+ /** The Credential results response. */
137
+ export declare interface FleetCredentialResults {
138
+ /**
139
+ * Array of base64-encoded Kubernetes configuration files.
140
+ * NOTE: This property will not be serialized. It can only be populated by the server.
141
+ */
142
+ readonly kubeconfigs?: FleetCredentialResult[];
143
+ }
144
+
145
+ /** The FleetHubProfile configures the fleet hub. */
146
+ export declare interface FleetHubProfile {
147
+ /** DNS prefix used to create the FQDN for the Fleet hub. */
148
+ dnsPrefix?: string;
149
+ /**
150
+ * The FQDN of the Fleet hub.
151
+ * NOTE: This property will not be serialized. It can only be populated by the server.
152
+ */
153
+ readonly fqdn?: string;
154
+ /**
155
+ * The Kubernetes version of the Fleet hub.
156
+ * NOTE: This property will not be serialized. It can only be populated by the server.
157
+ */
158
+ readonly kubernetesVersion?: string;
159
+ }
160
+
161
+ /** The response of a Fleet list operation. */
162
+ export declare interface FleetListResult {
163
+ /** The Fleet items on this page */
164
+ value: Fleet[];
165
+ /** The link to the next page of items */
166
+ nextLink?: string;
167
+ }
168
+
169
+ /** A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure. */
170
+ export declare interface FleetMember extends ProxyResource {
171
+ /**
172
+ * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
173
+ * NOTE: This property will not be serialized. It can only be populated by the server.
174
+ */
175
+ readonly eTag?: string;
176
+ /** The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'. */
177
+ clusterResourceId?: string;
178
+ /** The group this member belongs to for multi-cluster update management. */
179
+ group?: string;
180
+ /**
181
+ * The status of the last operation.
182
+ * NOTE: This property will not be serialized. It can only be populated by the server.
183
+ */
184
+ readonly provisioningState?: FleetMemberProvisioningState;
185
+ }
186
+
187
+ /** The response of a FleetMember list operation. */
188
+ export declare interface FleetMemberListResult {
189
+ /** The FleetMember items on this page */
190
+ value: FleetMember[];
191
+ /** The link to the next page of items */
192
+ nextLink?: string;
193
+ }
194
+
195
+ /**
196
+ * Defines values for FleetMemberProvisioningState. \
197
+ * {@link KnownFleetMemberProvisioningState} can be used interchangeably with FleetMemberProvisioningState,
198
+ * this enum contains the known values that the service supports.
199
+ * ### Known values supported by the service
200
+ * **Succeeded** \
201
+ * **Failed** \
202
+ * **Canceled** \
203
+ * **Joining** \
204
+ * **Leaving** \
205
+ * **Updating**
206
+ */
207
+ export declare type FleetMemberProvisioningState = string;
208
+
209
+ /** Interface representing a FleetMembers. */
210
+ export declare interface FleetMembers {
211
+ /**
212
+ * List FleetMember resources by Fleet
213
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
214
+ * @param fleetName The name of the Fleet resource.
215
+ * @param options The options parameters.
216
+ */
217
+ listByFleet(resourceGroupName: string, fleetName: string, options?: FleetMembersListByFleetOptionalParams): PagedAsyncIterableIterator<FleetMember>;
218
+ /**
219
+ * Get a FleetMember
220
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
221
+ * @param fleetName The name of the Fleet resource.
222
+ * @param fleetMemberName The name of the Fleet member resource.
223
+ * @param options The options parameters.
224
+ */
225
+ get(resourceGroupName: string, fleetName: string, fleetMemberName: string, options?: FleetMembersGetOptionalParams): Promise<FleetMembersGetResponse>;
226
+ /**
227
+ * Create a FleetMember
228
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
229
+ * @param fleetName The name of the Fleet resource.
230
+ * @param fleetMemberName The name of the Fleet member resource.
231
+ * @param resource Resource create parameters.
232
+ * @param options The options parameters.
233
+ */
234
+ beginCreate(resourceGroupName: string, fleetName: string, fleetMemberName: string, resource: FleetMember, options?: FleetMembersCreateOptionalParams): Promise<SimplePollerLike<OperationState<FleetMembersCreateResponse>, FleetMembersCreateResponse>>;
235
+ /**
236
+ * Create a FleetMember
237
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
238
+ * @param fleetName The name of the Fleet resource.
239
+ * @param fleetMemberName The name of the Fleet member resource.
240
+ * @param resource Resource create parameters.
241
+ * @param options The options parameters.
242
+ */
243
+ beginCreateAndWait(resourceGroupName: string, fleetName: string, fleetMemberName: string, resource: FleetMember, options?: FleetMembersCreateOptionalParams): Promise<FleetMembersCreateResponse>;
244
+ /**
245
+ * Update a FleetMember
246
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
247
+ * @param fleetName The name of the Fleet resource.
248
+ * @param fleetMemberName The name of the Fleet member resource.
249
+ * @param properties The resource properties to be updated.
250
+ * @param options The options parameters.
251
+ */
252
+ update(resourceGroupName: string, fleetName: string, fleetMemberName: string, properties: FleetMemberUpdate, options?: FleetMembersUpdateOptionalParams): Promise<FleetMembersUpdateResponse>;
253
+ /**
254
+ * Delete a FleetMember
255
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
256
+ * @param fleetName The name of the Fleet resource.
257
+ * @param fleetMemberName The name of the Fleet member resource.
258
+ * @param options The options parameters.
259
+ */
260
+ beginDelete(resourceGroupName: string, fleetName: string, fleetMemberName: string, options?: FleetMembersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
261
+ /**
262
+ * Delete a FleetMember
263
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
264
+ * @param fleetName The name of the Fleet resource.
265
+ * @param fleetMemberName The name of the Fleet member resource.
266
+ * @param options The options parameters.
267
+ */
268
+ beginDeleteAndWait(resourceGroupName: string, fleetName: string, fleetMemberName: string, options?: FleetMembersDeleteOptionalParams): Promise<void>;
269
+ }
270
+
271
+ /** Defines headers for FleetMembers_create operation. */
272
+ export declare interface FleetMembersCreateHeaders {
273
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
274
+ retryAfter?: number;
275
+ }
276
+
277
+ /** Optional parameters. */
278
+ export declare interface FleetMembersCreateOptionalParams extends coreClient.OperationOptions {
279
+ /** The request should only proceed if an entity matches this string. */
280
+ ifMatch?: string;
281
+ /** The request should only proceed if no entity matches this string. */
282
+ ifNoneMatch?: string;
283
+ /** Delay to wait until next poll, in milliseconds. */
284
+ updateIntervalInMs?: number;
285
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
286
+ resumeFrom?: string;
287
+ }
288
+
289
+ /** Contains response data for the create operation. */
290
+ export declare type FleetMembersCreateResponse = FleetMember;
291
+
292
+ /** Defines headers for FleetMembers_delete operation. */
293
+ export declare interface FleetMembersDeleteHeaders {
294
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
295
+ retryAfter?: number;
296
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
297
+ location?: string;
298
+ }
299
+
300
+ /** Optional parameters. */
301
+ export declare interface FleetMembersDeleteOptionalParams extends coreClient.OperationOptions {
302
+ /** The request should only proceed if an entity matches this string. */
303
+ ifMatch?: string;
304
+ /** Delay to wait until next poll, in milliseconds. */
305
+ updateIntervalInMs?: number;
306
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
307
+ resumeFrom?: string;
308
+ }
309
+
310
+ /** Optional parameters. */
311
+ export declare interface FleetMembersGetOptionalParams extends coreClient.OperationOptions {
312
+ }
313
+
314
+ /** Contains response data for the get operation. */
315
+ export declare type FleetMembersGetResponse = FleetMember;
316
+
317
+ /** Optional parameters. */
318
+ export declare interface FleetMembersListByFleetNextOptionalParams extends coreClient.OperationOptions {
319
+ }
320
+
321
+ /** Contains response data for the listByFleetNext operation. */
322
+ export declare type FleetMembersListByFleetNextResponse = FleetMemberListResult;
323
+
324
+ /** Optional parameters. */
325
+ export declare interface FleetMembersListByFleetOptionalParams extends coreClient.OperationOptions {
326
+ }
327
+
328
+ /** Contains response data for the listByFleet operation. */
329
+ export declare type FleetMembersListByFleetResponse = FleetMemberListResult;
330
+
331
+ /** Optional parameters. */
332
+ export declare interface FleetMembersUpdateOptionalParams extends coreClient.OperationOptions {
333
+ /** The request should only proceed if an entity matches this string. */
334
+ ifMatch?: string;
335
+ }
336
+
337
+ /** Contains response data for the update operation. */
338
+ export declare type FleetMembersUpdateResponse = FleetMember;
339
+
340
+ /** The type used for update operations of the FleetMember. */
341
+ export declare interface FleetMemberUpdate {
342
+ /** The group this member belongs to for multi-cluster update management. */
343
+ group?: string;
344
+ }
345
+
346
+ /** Properties of a Fleet that can be patched. */
347
+ export declare interface FleetPatch {
348
+ /** Resource tags. */
349
+ tags?: {
350
+ [propertyName: string]: string;
351
+ };
352
+ }
353
+
354
+ /**
355
+ * Defines values for FleetProvisioningState. \
356
+ * {@link KnownFleetProvisioningState} can be used interchangeably with FleetProvisioningState,
357
+ * this enum contains the known values that the service supports.
358
+ * ### Known values supported by the service
359
+ * **Succeeded** \
360
+ * **Failed** \
361
+ * **Canceled** \
362
+ * **Creating** \
363
+ * **Updating** \
364
+ * **Deleting**
365
+ */
366
+ export declare type FleetProvisioningState = string;
367
+
368
+ /** Interface representing a Fleets. */
369
+ export declare interface Fleets {
370
+ /**
371
+ * Lists fleets in the specified subscription.
372
+ * @param options The options parameters.
373
+ */
374
+ listBySubscription(options?: FleetsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Fleet>;
375
+ /**
376
+ * Lists fleets in the specified subscription and resource group.
377
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
378
+ * @param options The options parameters.
379
+ */
380
+ listByResourceGroup(resourceGroupName: string, options?: FleetsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Fleet>;
381
+ /**
382
+ * Gets a Fleet.
383
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
384
+ * @param fleetName The name of the Fleet resource.
385
+ * @param options The options parameters.
386
+ */
387
+ get(resourceGroupName: string, fleetName: string, options?: FleetsGetOptionalParams): Promise<FleetsGetResponse>;
388
+ /**
389
+ * Creates or updates a Fleet.
390
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
391
+ * @param fleetName The name of the Fleet resource.
392
+ * @param resource Resource create parameters.
393
+ * @param options The options parameters.
394
+ */
395
+ beginCreateOrUpdate(resourceGroupName: string, fleetName: string, resource: Fleet, options?: FleetsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FleetsCreateOrUpdateResponse>, FleetsCreateOrUpdateResponse>>;
396
+ /**
397
+ * Creates or updates a Fleet.
398
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
399
+ * @param fleetName The name of the Fleet resource.
400
+ * @param resource Resource create parameters.
401
+ * @param options The options parameters.
402
+ */
403
+ beginCreateOrUpdateAndWait(resourceGroupName: string, fleetName: string, resource: Fleet, options?: FleetsCreateOrUpdateOptionalParams): Promise<FleetsCreateOrUpdateResponse>;
404
+ /**
405
+ * Update a Fleet
406
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
407
+ * @param fleetName The name of the Fleet resource.
408
+ * @param properties The resource properties to be updated.
409
+ * @param options The options parameters.
410
+ */
411
+ update(resourceGroupName: string, fleetName: string, properties: FleetPatch, options?: FleetsUpdateOptionalParams): Promise<FleetsUpdateResponse>;
412
+ /**
413
+ * Delete a Fleet
414
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
415
+ * @param fleetName The name of the Fleet resource.
416
+ * @param options The options parameters.
417
+ */
418
+ beginDelete(resourceGroupName: string, fleetName: string, options?: FleetsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
419
+ /**
420
+ * Delete a Fleet
421
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
422
+ * @param fleetName The name of the Fleet resource.
423
+ * @param options The options parameters.
424
+ */
425
+ beginDeleteAndWait(resourceGroupName: string, fleetName: string, options?: FleetsDeleteOptionalParams): Promise<void>;
426
+ /**
427
+ * Lists the user credentials of a Fleet.
428
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
429
+ * @param fleetName The name of the Fleet resource.
430
+ * @param options The options parameters.
431
+ */
432
+ listCredentials(resourceGroupName: string, fleetName: string, options?: FleetsListCredentialsOptionalParams): Promise<FleetsListCredentialsResponse>;
433
+ }
434
+
435
+ /** Defines headers for Fleets_createOrUpdate operation. */
436
+ export declare interface FleetsCreateOrUpdateHeaders {
437
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
438
+ retryAfter?: number;
439
+ }
440
+
441
+ /** Optional parameters. */
442
+ export declare interface FleetsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
443
+ /** The request should only proceed if an entity matches this string. */
444
+ ifMatch?: string;
445
+ /** The request should only proceed if no entity matches this string. */
446
+ ifNoneMatch?: string;
447
+ /** Delay to wait until next poll, in milliseconds. */
448
+ updateIntervalInMs?: number;
449
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
450
+ resumeFrom?: string;
451
+ }
452
+
453
+ /** Contains response data for the createOrUpdate operation. */
454
+ export declare type FleetsCreateOrUpdateResponse = Fleet;
455
+
456
+ /** Defines headers for Fleets_delete operation. */
457
+ export declare interface FleetsDeleteHeaders {
458
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
459
+ retryAfter?: number;
460
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
461
+ location?: string;
462
+ }
463
+
464
+ /** Optional parameters. */
465
+ export declare interface FleetsDeleteOptionalParams extends coreClient.OperationOptions {
466
+ /** The request should only proceed if an entity matches this string. */
467
+ ifMatch?: string;
468
+ /** Delay to wait until next poll, in milliseconds. */
469
+ updateIntervalInMs?: number;
470
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
471
+ resumeFrom?: string;
472
+ }
473
+
474
+ /** Optional parameters. */
475
+ export declare interface FleetsGetOptionalParams extends coreClient.OperationOptions {
476
+ }
477
+
478
+ /** Contains response data for the get operation. */
479
+ export declare type FleetsGetResponse = Fleet;
480
+
481
+ /** Optional parameters. */
482
+ export declare interface FleetsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
483
+ }
484
+
485
+ /** Contains response data for the listByResourceGroupNext operation. */
486
+ export declare type FleetsListByResourceGroupNextResponse = FleetListResult;
487
+
488
+ /** Optional parameters. */
489
+ export declare interface FleetsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
490
+ }
491
+
492
+ /** Contains response data for the listByResourceGroup operation. */
493
+ export declare type FleetsListByResourceGroupResponse = FleetListResult;
494
+
495
+ /** Optional parameters. */
496
+ export declare interface FleetsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
497
+ }
498
+
499
+ /** Contains response data for the listBySubscriptionNext operation. */
500
+ export declare type FleetsListBySubscriptionNextResponse = FleetListResult;
501
+
502
+ /** Optional parameters. */
503
+ export declare interface FleetsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
504
+ }
505
+
506
+ /** Contains response data for the listBySubscription operation. */
507
+ export declare type FleetsListBySubscriptionResponse = FleetListResult;
508
+
509
+ /** Optional parameters. */
510
+ export declare interface FleetsListCredentialsOptionalParams extends coreClient.OperationOptions {
511
+ }
512
+
513
+ /** Contains response data for the listCredentials operation. */
514
+ export declare type FleetsListCredentialsResponse = FleetCredentialResults;
515
+
516
+ /** Optional parameters. */
517
+ export declare interface FleetsUpdateOptionalParams extends coreClient.OperationOptions {
518
+ /** The request should only proceed if an entity matches this string. */
519
+ ifMatch?: string;
520
+ }
521
+
522
+ /** Contains response data for the update operation. */
523
+ export declare type FleetsUpdateResponse = Fleet;
524
+
525
+ /**
526
+ * Given the last `.value` produced by the `byPage` iterator,
527
+ * returns a continuation token that can be used to begin paging from
528
+ * that point later.
529
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
530
+ * @returns The continuation token that can be passed into byPage() during future calls.
531
+ */
532
+ export declare function getContinuationToken(page: unknown): string | undefined;
533
+
534
+ /** Known values of {@link ActionType} that the service accepts. */
535
+ export declare enum KnownActionType {
536
+ /** Internal */
537
+ Internal = "Internal"
538
+ }
539
+
540
+ /** Known values of {@link CreatedByType} that the service accepts. */
541
+ export declare enum KnownCreatedByType {
542
+ /** User */
543
+ User = "User",
544
+ /** Application */
545
+ Application = "Application",
546
+ /** ManagedIdentity */
547
+ ManagedIdentity = "ManagedIdentity",
548
+ /** Key */
549
+ Key = "Key"
550
+ }
551
+
552
+ /** Known values of {@link FleetMemberProvisioningState} that the service accepts. */
553
+ export declare enum KnownFleetMemberProvisioningState {
554
+ /** Succeeded */
555
+ Succeeded = "Succeeded",
556
+ /** Failed */
557
+ Failed = "Failed",
558
+ /** Canceled */
559
+ Canceled = "Canceled",
560
+ /** Joining */
561
+ Joining = "Joining",
562
+ /** Leaving */
563
+ Leaving = "Leaving",
564
+ /** Updating */
565
+ Updating = "Updating"
566
+ }
567
+
568
+ /** Known values of {@link FleetProvisioningState} that the service accepts. */
569
+ export declare enum KnownFleetProvisioningState {
570
+ /** Succeeded */
571
+ Succeeded = "Succeeded",
572
+ /** Failed */
573
+ Failed = "Failed",
574
+ /** Canceled */
575
+ Canceled = "Canceled",
576
+ /** Creating */
577
+ Creating = "Creating",
578
+ /** Updating */
579
+ Updating = "Updating",
580
+ /** Deleting */
581
+ Deleting = "Deleting"
582
+ }
583
+
584
+ /** Known values of {@link ManagedClusterUpgradeType} that the service accepts. */
585
+ export declare enum KnownManagedClusterUpgradeType {
586
+ /** Full upgrades the control plane and all agent pools of the target ManagedClusters. */
587
+ Full = "Full",
588
+ /** NodeImageOnly upgrades only the node images of the target ManagedClusters. */
589
+ NodeImageOnly = "NodeImageOnly"
590
+ }
591
+
592
+ /** Known values of {@link Origin} that the service accepts. */
593
+ export declare enum KnownOrigin {
594
+ /** User */
595
+ User = "user",
596
+ /** System */
597
+ System = "system",
598
+ /** UserSystem */
599
+ UserSystem = "user,system"
600
+ }
601
+
602
+ /** Known values of {@link UpdateRunProvisioningState} that the service accepts. */
603
+ export declare enum KnownUpdateRunProvisioningState {
604
+ /** Succeeded */
605
+ Succeeded = "Succeeded",
606
+ /** Failed */
607
+ Failed = "Failed",
608
+ /** Canceled */
609
+ Canceled = "Canceled"
610
+ }
611
+
612
+ /** Known values of {@link UpdateState} that the service accepts. */
613
+ export declare enum KnownUpdateState {
614
+ /** NotStarted */
615
+ NotStarted = "NotStarted",
616
+ /** Running */
617
+ Running = "Running",
618
+ /** Stopping */
619
+ Stopping = "Stopping",
620
+ /** Stopped */
621
+ Stopped = "Stopped",
622
+ /** Failed */
623
+ Failed = "Failed",
624
+ /** Completed */
625
+ Completed = "Completed"
626
+ }
627
+
628
+ /** The update to be applied to the ManagedClusters. */
629
+ export declare interface ManagedClusterUpdate {
630
+ /** The upgrade to apply to the ManagedClusters. */
631
+ upgrade: ManagedClusterUpgradeSpec;
632
+ }
633
+
634
+ /** The upgrade to apply to a ManagedCluster. */
635
+ export declare interface ManagedClusterUpgradeSpec {
636
+ /**
637
+ * The upgrade type.
638
+ * Full requires the KubernetesVersion property to be set.
639
+ * NodeImageOnly requires the KubernetesVersion property not to be set.
640
+ */
641
+ type: ManagedClusterUpgradeType;
642
+ /** The Kubernetes version to upgrade the member clusters to. */
643
+ kubernetesVersion?: string;
644
+ }
645
+
646
+ /**
647
+ * Defines values for ManagedClusterUpgradeType. \
648
+ * {@link KnownManagedClusterUpgradeType} can be used interchangeably with ManagedClusterUpgradeType,
649
+ * this enum contains the known values that the service supports.
650
+ * ### Known values supported by the service
651
+ * **Full**: Full upgrades the control plane and all agent pools of the target ManagedClusters. \
652
+ * **NodeImageOnly**: NodeImageOnly upgrades only the node images of the target ManagedClusters.
653
+ */
654
+ export declare type ManagedClusterUpgradeType = string;
655
+
656
+ /** The status of a member update operation. */
657
+ export declare interface MemberUpdateStatus {
658
+ /**
659
+ * The status of the MemberUpdate operation.
660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
661
+ */
662
+ readonly status?: UpdateStatus;
663
+ /**
664
+ * The name of the FleetMember.
665
+ * NOTE: This property will not be serialized. It can only be populated by the server.
666
+ */
667
+ readonly name?: string;
668
+ /**
669
+ * The Azure resource id of the target Kubernetes cluster.
670
+ * NOTE: This property will not be serialized. It can only be populated by the server.
671
+ */
672
+ readonly clusterResourceId?: string;
673
+ /**
674
+ * The operation resource id of the latest attempt to perform the operation.
675
+ * NOTE: This property will not be serialized. It can only be populated by the server.
676
+ */
677
+ readonly operationId?: string;
678
+ }
679
+
680
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
681
+ export declare interface Operation {
682
+ /**
683
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
684
+ * NOTE: This property will not be serialized. It can only be populated by the server.
685
+ */
686
+ readonly name?: string;
687
+ /**
688
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
689
+ * NOTE: This property will not be serialized. It can only be populated by the server.
690
+ */
691
+ readonly isDataAction?: boolean;
692
+ /** Localized display information for this particular operation. */
693
+ display?: OperationDisplay;
694
+ /**
695
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
696
+ * NOTE: This property will not be serialized. It can only be populated by the server.
697
+ */
698
+ readonly origin?: Origin;
699
+ /**
700
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
701
+ * NOTE: This property will not be serialized. It can only be populated by the server.
702
+ */
703
+ readonly actionType?: ActionType;
704
+ }
705
+
706
+ /** Localized display information for this particular operation. */
707
+ export declare interface OperationDisplay {
708
+ /**
709
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
710
+ * NOTE: This property will not be serialized. It can only be populated by the server.
711
+ */
712
+ readonly provider?: string;
713
+ /**
714
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
715
+ * NOTE: This property will not be serialized. It can only be populated by the server.
716
+ */
717
+ readonly resource?: string;
718
+ /**
719
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
720
+ * NOTE: This property will not be serialized. It can only be populated by the server.
721
+ */
722
+ readonly operation?: string;
723
+ /**
724
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
725
+ * NOTE: This property will not be serialized. It can only be populated by the server.
726
+ */
727
+ readonly description?: string;
728
+ }
729
+
730
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
731
+ export declare interface OperationListResult {
732
+ /**
733
+ * List of operations supported by the resource provider
734
+ * NOTE: This property will not be serialized. It can only be populated by the server.
735
+ */
736
+ readonly value?: Operation[];
737
+ /**
738
+ * URL to get the next set of operation list results (if there are any).
739
+ * NOTE: This property will not be serialized. It can only be populated by the server.
740
+ */
741
+ readonly nextLink?: string;
742
+ }
743
+
744
+ /** Interface representing a Operations. */
745
+ export declare interface Operations {
746
+ /**
747
+ * List the operations for the provider
748
+ * @param options The options parameters.
749
+ */
750
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
751
+ }
752
+
753
+ /** Optional parameters. */
754
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
755
+ }
756
+
757
+ /** Contains response data for the listNext operation. */
758
+ export declare type OperationsListNextResponse = OperationListResult;
759
+
760
+ /** Optional parameters. */
761
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
762
+ }
763
+
764
+ /** Contains response data for the list operation. */
765
+ export declare type OperationsListResponse = OperationListResult;
766
+
767
+ /**
768
+ * Defines values for Origin. \
769
+ * {@link KnownOrigin} can be used interchangeably with Origin,
770
+ * this enum contains the known values that the service supports.
771
+ * ### Known values supported by the service
772
+ * **user** \
773
+ * **system** \
774
+ * **user,system**
775
+ */
776
+ export declare type Origin = string;
777
+
778
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
779
+ export declare interface ProxyResource extends Resource {
780
+ }
781
+
782
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
783
+ export declare interface Resource {
784
+ /**
785
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
786
+ * NOTE: This property will not be serialized. It can only be populated by the server.
787
+ */
788
+ readonly id?: string;
789
+ /**
790
+ * The name of the resource
791
+ * NOTE: This property will not be serialized. It can only be populated by the server.
792
+ */
793
+ readonly name?: string;
794
+ /**
795
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
796
+ * NOTE: This property will not be serialized. It can only be populated by the server.
797
+ */
798
+ readonly type?: string;
799
+ /**
800
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
801
+ * NOTE: This property will not be serialized. It can only be populated by the server.
802
+ */
803
+ readonly systemData?: SystemData;
804
+ }
805
+
806
+ /** Metadata pertaining to creation and last modification of the resource. */
807
+ export declare interface SystemData {
808
+ /** The identity that created the resource. */
809
+ createdBy?: string;
810
+ /** The type of identity that created the resource. */
811
+ createdByType?: CreatedByType;
812
+ /** The timestamp of resource creation (UTC). */
813
+ createdAt?: Date;
814
+ /** The identity that last modified the resource. */
815
+ lastModifiedBy?: string;
816
+ /** The type of identity that last modified the resource. */
817
+ lastModifiedByType?: CreatedByType;
818
+ /** The timestamp of resource last modification (UTC) */
819
+ lastModifiedAt?: Date;
820
+ }
821
+
822
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
823
+ export declare interface TrackedResource extends Resource {
824
+ /** Resource tags. */
825
+ tags?: {
826
+ [propertyName: string]: string;
827
+ };
828
+ /** The geo-location where the resource lives */
829
+ location: string;
830
+ }
831
+
832
+ /** A group to be updated. */
833
+ export declare interface UpdateGroup {
834
+ /**
835
+ * The name of the Fleet member group to update.
836
+ * It should match the name of an existing FleetMember group.
837
+ * A group can only appear once across all UpdateStages in the UpdateRun.
838
+ */
839
+ name: string;
840
+ }
841
+
842
+ /** The status of a UpdateGroup. */
843
+ export declare interface UpdateGroupStatus {
844
+ /**
845
+ * The status of the UpdateGroup.
846
+ * NOTE: This property will not be serialized. It can only be populated by the server.
847
+ */
848
+ readonly status?: UpdateStatus;
849
+ /**
850
+ * The name of the UpdateGroup.
851
+ * NOTE: This property will not be serialized. It can only be populated by the server.
852
+ */
853
+ readonly name?: string;
854
+ /**
855
+ * The list of member this UpdateGroup updates.
856
+ * NOTE: This property will not be serialized. It can only be populated by the server.
857
+ */
858
+ readonly members?: MemberUpdateStatus[];
859
+ }
860
+
861
+ /** An UpdateRun is a multi-stage process to perform update operations across members of a Fleet. */
862
+ export declare interface UpdateRun extends ProxyResource {
863
+ /**
864
+ * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
865
+ * NOTE: This property will not be serialized. It can only be populated by the server.
866
+ */
867
+ readonly eTag?: string;
868
+ /**
869
+ * The provisioning state of the UpdateRun resource.
870
+ * NOTE: This property will not be serialized. It can only be populated by the server.
871
+ */
872
+ readonly provisioningState?: UpdateRunProvisioningState;
873
+ /**
874
+ * The strategy defines the order in which the clusters will be updated.
875
+ * If not set, all members will be updated sequentially. The UpdateRun status will show a single UpdateStage and a single UpdateGroup targeting all members.
876
+ * The strategy of the UpdateRun can be modified until the run is started.
877
+ */
878
+ strategy?: UpdateRunStrategy;
879
+ /** The update to be applied to all clusters in the UpdateRun. The managedClusterUpdate can be modified until the run is started. */
880
+ managedClusterUpdate?: ManagedClusterUpdate;
881
+ /**
882
+ * The status of the UpdateRun.
883
+ * NOTE: This property will not be serialized. It can only be populated by the server.
884
+ */
885
+ readonly status?: UpdateRunStatus;
886
+ }
887
+
888
+ /** The response of a UpdateRun list operation. */
889
+ export declare interface UpdateRunListResult {
890
+ /** The UpdateRun items on this page */
891
+ value: UpdateRun[];
892
+ /** The link to the next page of items */
893
+ nextLink?: string;
894
+ }
895
+
896
+ /**
897
+ * Defines values for UpdateRunProvisioningState. \
898
+ * {@link KnownUpdateRunProvisioningState} can be used interchangeably with UpdateRunProvisioningState,
899
+ * this enum contains the known values that the service supports.
900
+ * ### Known values supported by the service
901
+ * **Succeeded** \
902
+ * **Failed** \
903
+ * **Canceled**
904
+ */
905
+ export declare type UpdateRunProvisioningState = string;
906
+
907
+ /** Interface representing a UpdateRuns. */
908
+ export declare interface UpdateRuns {
909
+ /**
910
+ * List UpdateRun resources by Fleet
911
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
912
+ * @param fleetName The name of the Fleet resource.
913
+ * @param options The options parameters.
914
+ */
915
+ listByFleet(resourceGroupName: string, fleetName: string, options?: UpdateRunsListByFleetOptionalParams): PagedAsyncIterableIterator<UpdateRun>;
916
+ /**
917
+ * Get a UpdateRun
918
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
919
+ * @param fleetName The name of the Fleet resource.
920
+ * @param updateRunName The name of the UpdateRun resource.
921
+ * @param options The options parameters.
922
+ */
923
+ get(resourceGroupName: string, fleetName: string, updateRunName: string, options?: UpdateRunsGetOptionalParams): Promise<UpdateRunsGetResponse>;
924
+ /**
925
+ * Create a UpdateRun
926
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
927
+ * @param fleetName The name of the Fleet resource.
928
+ * @param updateRunName The name of the UpdateRun resource.
929
+ * @param resource Resource create parameters.
930
+ * @param options The options parameters.
931
+ */
932
+ beginCreateOrUpdate(resourceGroupName: string, fleetName: string, updateRunName: string, resource: UpdateRun, options?: UpdateRunsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<UpdateRunsCreateOrUpdateResponse>, UpdateRunsCreateOrUpdateResponse>>;
933
+ /**
934
+ * Create a UpdateRun
935
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
936
+ * @param fleetName The name of the Fleet resource.
937
+ * @param updateRunName The name of the UpdateRun resource.
938
+ * @param resource Resource create parameters.
939
+ * @param options The options parameters.
940
+ */
941
+ beginCreateOrUpdateAndWait(resourceGroupName: string, fleetName: string, updateRunName: string, resource: UpdateRun, options?: UpdateRunsCreateOrUpdateOptionalParams): Promise<UpdateRunsCreateOrUpdateResponse>;
942
+ /**
943
+ * Delete a UpdateRun
944
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
945
+ * @param fleetName The name of the Fleet resource.
946
+ * @param updateRunName The name of the UpdateRun resource.
947
+ * @param options The options parameters.
948
+ */
949
+ beginDelete(resourceGroupName: string, fleetName: string, updateRunName: string, options?: UpdateRunsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
950
+ /**
951
+ * Delete a UpdateRun
952
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
953
+ * @param fleetName The name of the Fleet resource.
954
+ * @param updateRunName The name of the UpdateRun resource.
955
+ * @param options The options parameters.
956
+ */
957
+ beginDeleteAndWait(resourceGroupName: string, fleetName: string, updateRunName: string, options?: UpdateRunsDeleteOptionalParams): Promise<void>;
958
+ /**
959
+ * Starts an UpdateRun.
960
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
961
+ * @param fleetName The name of the Fleet resource.
962
+ * @param updateRunName The name of the UpdateRun resource.
963
+ * @param options The options parameters.
964
+ */
965
+ beginStart(resourceGroupName: string, fleetName: string, updateRunName: string, options?: UpdateRunsStartOptionalParams): Promise<SimplePollerLike<OperationState<UpdateRunsStartResponse>, UpdateRunsStartResponse>>;
966
+ /**
967
+ * Starts an UpdateRun.
968
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
969
+ * @param fleetName The name of the Fleet resource.
970
+ * @param updateRunName The name of the UpdateRun resource.
971
+ * @param options The options parameters.
972
+ */
973
+ beginStartAndWait(resourceGroupName: string, fleetName: string, updateRunName: string, options?: UpdateRunsStartOptionalParams): Promise<UpdateRunsStartResponse>;
974
+ /**
975
+ * Stops an UpdateRun.
976
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
977
+ * @param fleetName The name of the Fleet resource.
978
+ * @param updateRunName The name of the UpdateRun resource.
979
+ * @param options The options parameters.
980
+ */
981
+ beginStop(resourceGroupName: string, fleetName: string, updateRunName: string, options?: UpdateRunsStopOptionalParams): Promise<SimplePollerLike<OperationState<UpdateRunsStopResponse>, UpdateRunsStopResponse>>;
982
+ /**
983
+ * Stops an UpdateRun.
984
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
985
+ * @param fleetName The name of the Fleet resource.
986
+ * @param updateRunName The name of the UpdateRun resource.
987
+ * @param options The options parameters.
988
+ */
989
+ beginStopAndWait(resourceGroupName: string, fleetName: string, updateRunName: string, options?: UpdateRunsStopOptionalParams): Promise<UpdateRunsStopResponse>;
990
+ }
991
+
992
+ /** Defines headers for UpdateRuns_createOrUpdate operation. */
993
+ export declare interface UpdateRunsCreateOrUpdateHeaders {
994
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
995
+ retryAfter?: number;
996
+ }
997
+
998
+ /** Optional parameters. */
999
+ export declare interface UpdateRunsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1000
+ /** The request should only proceed if an entity matches this string. */
1001
+ ifMatch?: string;
1002
+ /** The request should only proceed if no entity matches this string. */
1003
+ ifNoneMatch?: string;
1004
+ /** Delay to wait until next poll, in milliseconds. */
1005
+ updateIntervalInMs?: number;
1006
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1007
+ resumeFrom?: string;
1008
+ }
1009
+
1010
+ /** Contains response data for the createOrUpdate operation. */
1011
+ export declare type UpdateRunsCreateOrUpdateResponse = UpdateRun;
1012
+
1013
+ /** Defines headers for UpdateRuns_delete operation. */
1014
+ export declare interface UpdateRunsDeleteHeaders {
1015
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1016
+ retryAfter?: number;
1017
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1018
+ location?: string;
1019
+ }
1020
+
1021
+ /** Optional parameters. */
1022
+ export declare interface UpdateRunsDeleteOptionalParams extends coreClient.OperationOptions {
1023
+ /** The request should only proceed if an entity matches this string. */
1024
+ ifMatch?: string;
1025
+ /** Delay to wait until next poll, in milliseconds. */
1026
+ updateIntervalInMs?: number;
1027
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1028
+ resumeFrom?: string;
1029
+ }
1030
+
1031
+ /** Optional parameters. */
1032
+ export declare interface UpdateRunsGetOptionalParams extends coreClient.OperationOptions {
1033
+ }
1034
+
1035
+ /** Contains response data for the get operation. */
1036
+ export declare type UpdateRunsGetResponse = UpdateRun;
1037
+
1038
+ /** Optional parameters. */
1039
+ export declare interface UpdateRunsListByFleetNextOptionalParams extends coreClient.OperationOptions {
1040
+ }
1041
+
1042
+ /** Contains response data for the listByFleetNext operation. */
1043
+ export declare type UpdateRunsListByFleetNextResponse = UpdateRunListResult;
1044
+
1045
+ /** Optional parameters. */
1046
+ export declare interface UpdateRunsListByFleetOptionalParams extends coreClient.OperationOptions {
1047
+ }
1048
+
1049
+ /** Contains response data for the listByFleet operation. */
1050
+ export declare type UpdateRunsListByFleetResponse = UpdateRunListResult;
1051
+
1052
+ /** Defines headers for UpdateRuns_start operation. */
1053
+ export declare interface UpdateRunsStartHeaders {
1054
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1055
+ retryAfter?: number;
1056
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1057
+ location?: string;
1058
+ }
1059
+
1060
+ /** Optional parameters. */
1061
+ export declare interface UpdateRunsStartOptionalParams extends coreClient.OperationOptions {
1062
+ /** The request should only proceed if an entity matches this string. */
1063
+ ifMatch?: string;
1064
+ /** Delay to wait until next poll, in milliseconds. */
1065
+ updateIntervalInMs?: number;
1066
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1067
+ resumeFrom?: string;
1068
+ }
1069
+
1070
+ /** Contains response data for the start operation. */
1071
+ export declare type UpdateRunsStartResponse = UpdateRun;
1072
+
1073
+ /** Defines headers for UpdateRuns_stop operation. */
1074
+ export declare interface UpdateRunsStopHeaders {
1075
+ /** The Retry-After header can indicate how long the client should wait before polling the operation status. */
1076
+ retryAfter?: number;
1077
+ /** The Location header contains the URL where the status of the long running operation can be checked. */
1078
+ location?: string;
1079
+ }
1080
+
1081
+ /** Optional parameters. */
1082
+ export declare interface UpdateRunsStopOptionalParams extends coreClient.OperationOptions {
1083
+ /** The request should only proceed if an entity matches this string. */
1084
+ ifMatch?: string;
1085
+ /** Delay to wait until next poll, in milliseconds. */
1086
+ updateIntervalInMs?: number;
1087
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1088
+ resumeFrom?: string;
1089
+ }
1090
+
1091
+ /** Contains response data for the stop operation. */
1092
+ export declare type UpdateRunsStopResponse = UpdateRun;
1093
+
1094
+ /** The status of a UpdateRun. */
1095
+ export declare interface UpdateRunStatus {
1096
+ /**
1097
+ * The status of the UpdateRun.
1098
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1099
+ */
1100
+ readonly status?: UpdateStatus;
1101
+ /**
1102
+ * The stages composing an update run. Stages are run sequentially withing an UpdateRun.
1103
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1104
+ */
1105
+ readonly stages?: UpdateStageStatus[];
1106
+ }
1107
+
1108
+ /** The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated. */
1109
+ export declare interface UpdateRunStrategy {
1110
+ /** The list of stages that compose this update run. */
1111
+ stages: UpdateStage[];
1112
+ }
1113
+
1114
+ /**
1115
+ * Contains the groups to be updated by an UpdateRun.
1116
+ * Update order:
1117
+ * - Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts.
1118
+ * - Parallel within a stage: Groups within a stage run in parallel.
1119
+ * - Sequential within a group: Clusters within a group are updated sequentially.
1120
+ */
1121
+ export declare interface UpdateStage {
1122
+ /** The name of the stage. Must be unique within the UpdateRun. */
1123
+ name: string;
1124
+ /**
1125
+ * A list of group names that compose the stage.
1126
+ * The groups will be updated in parallel. Each group name can only appear once in the UpdateRun.
1127
+ */
1128
+ groups?: UpdateGroup[];
1129
+ /** The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified. */
1130
+ afterStageWaitInSeconds?: number;
1131
+ }
1132
+
1133
+ /** The status of a UpdateStage. */
1134
+ export declare interface UpdateStageStatus {
1135
+ /**
1136
+ * The status of the UpdateStage.
1137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1138
+ */
1139
+ readonly status?: UpdateStatus;
1140
+ /**
1141
+ * The name of the UpdateStage.
1142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1143
+ */
1144
+ readonly name?: string;
1145
+ /**
1146
+ * The list of groups to be updated as part of this UpdateStage.
1147
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1148
+ */
1149
+ readonly groups?: UpdateGroupStatus[];
1150
+ /**
1151
+ * The status of the wait period configured on the UpdateStage.
1152
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1153
+ */
1154
+ readonly afterStageWaitStatus?: WaitStatus;
1155
+ }
1156
+
1157
+ /**
1158
+ * Defines values for UpdateState. \
1159
+ * {@link KnownUpdateState} can be used interchangeably with UpdateState,
1160
+ * this enum contains the known values that the service supports.
1161
+ * ### Known values supported by the service
1162
+ * **NotStarted** \
1163
+ * **Running** \
1164
+ * **Stopping** \
1165
+ * **Stopped** \
1166
+ * **Failed** \
1167
+ * **Completed**
1168
+ */
1169
+ export declare type UpdateState = string;
1170
+
1171
+ /** The status for an operation or group of operations. */
1172
+ export declare interface UpdateStatus {
1173
+ /**
1174
+ * The time the operation or group was started.
1175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1176
+ */
1177
+ readonly startTime?: Date;
1178
+ /**
1179
+ * The time the operation or group was completed.
1180
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1181
+ */
1182
+ readonly completedTime?: Date;
1183
+ /**
1184
+ * The State of the operation or group.
1185
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1186
+ */
1187
+ readonly state?: UpdateState;
1188
+ /**
1189
+ * The error details when a failure is encountered.
1190
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1191
+ */
1192
+ readonly error?: ErrorDetail;
1193
+ }
1194
+
1195
+ /** The status of the wait duration. */
1196
+ export declare interface WaitStatus {
1197
+ /**
1198
+ * The status of the wait duration.
1199
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1200
+ */
1201
+ readonly status?: UpdateStatus;
1202
+ /**
1203
+ * The wait duration configured in seconds.
1204
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1205
+ */
1206
+ readonly waitDurationInSeconds?: number;
1207
+ }
1208
+
1209
+ export { }