@azure/arm-azurestackhci 1.1.0 → 2.0.1-alpha.20220114.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.
- package/CHANGELOG.md +21 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +2369 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureStackHCIClient.d.ts +21 -0
- package/dist-esm/src/azureStackHCIClient.d.ts.map +1 -0
- package/dist-esm/src/azureStackHCIClient.js +54 -0
- package/dist-esm/src/azureStackHCIClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +864 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +135 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +23 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +881 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +16 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +137 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/arcSettings.d.ts +72 -0
- package/dist-esm/src/operations/arcSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/arcSettings.js +281 -0
- package/dist-esm/src/operations/arcSettings.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +83 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +356 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/extensions.d.ts +109 -0
- package/dist-esm/src/operations/extensions.d.ts.map +1 -0
- package/dist-esm/src/operations/extensions.js +462 -0
- package/dist-esm/src/operations/extensions.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +5 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +12 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensions.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensions.js +9 -0
- package/dist-esm/src/operationsInterfaces/extensions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -22
- package/review/arm-azurestackhci.api.md +650 -0
- package/rollup.config.js +181 -30
- package/src/azureStackHCIClient.ts +78 -37
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +775 -366
- package/src/models/mappers.ts +635 -239
- package/src/models/parameters.ts +112 -35
- package/src/operations/arcSettings.ts +394 -0
- package/src/operations/clusters.ts +279 -309
- package/src/operations/extensions.ts +672 -0
- package/src/operations/index.ts +6 -6
- package/src/operations/operations.ts +30 -45
- package/src/operationsInterfaces/arcSettings.ts +89 -0
- package/src/operationsInterfaces/clusters.ts +91 -0
- package/src/operationsInterfaces/extensions.ts +162 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/tsconfig.json +3 -3
- package/types/arm-azurestackhci.d.ts +1146 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-azurestackhci.js +0 -1151
- package/dist/arm-azurestackhci.js.map +0 -1
- package/dist/arm-azurestackhci.min.js +0 -1
- package/dist/arm-azurestackhci.min.js.map +0 -1
- package/esm/azureStackHCIClient.d.ts +0 -25
- package/esm/azureStackHCIClient.d.ts.map +0 -1
- package/esm/azureStackHCIClient.js +0 -39
- package/esm/azureStackHCIClient.js.map +0 -1
- package/esm/azureStackHCIClientContext.d.ts +0 -22
- package/esm/azureStackHCIClientContext.d.ts.map +0 -1
- package/esm/azureStackHCIClientContext.js +0 -61
- package/esm/azureStackHCIClientContext.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -509
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -19
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -527
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -82
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -169
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -273
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/src/azureStackHCIClientContext.ts +0 -68
- package/src/models/clustersMappers.ts +0 -23
- package/src/models/operationsMappers.ts +0 -16
package/src/models/index.ts
CHANGED
|
@@ -1,546 +1,955 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
/** List of ArcSetting proxy resources for the HCI cluster. */
|
|
12
|
+
export interface ArcSettingList {
|
|
13
|
+
/**
|
|
14
|
+
* List of ArcSetting proxy resources.
|
|
15
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
16
|
+
*/
|
|
17
|
+
readonly value?: ArcSetting[];
|
|
18
|
+
/**
|
|
19
|
+
* Link to the next set of results.
|
|
20
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
21
|
+
*/
|
|
22
|
+
readonly nextLink?: string;
|
|
23
|
+
}
|
|
13
24
|
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
export interface ClusterNode {
|
|
25
|
+
/** Status of Arc agent for a particular node in HCI Cluster. */
|
|
26
|
+
export interface PerNodeState {
|
|
18
27
|
/**
|
|
19
|
-
* Name of the
|
|
20
|
-
*
|
|
28
|
+
* Name of the Node in HCI Cluster
|
|
29
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
21
30
|
*/
|
|
22
31
|
readonly name?: string;
|
|
23
32
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
33
|
+
* Fully qualified resource ID for the Arc agent of this node.
|
|
34
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
26
35
|
*/
|
|
27
|
-
readonly
|
|
36
|
+
readonly arcInstance?: string;
|
|
28
37
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
38
|
+
* State of Arc agent in this node.
|
|
39
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
31
40
|
*/
|
|
32
|
-
readonly
|
|
41
|
+
readonly state?: NodeArcState;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
45
|
+
export interface Resource {
|
|
33
46
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
47
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
48
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
36
49
|
*/
|
|
37
|
-
readonly
|
|
50
|
+
readonly id?: string;
|
|
38
51
|
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
52
|
+
* The name of the resource
|
|
53
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
41
54
|
*/
|
|
42
|
-
readonly
|
|
55
|
+
readonly name?: string;
|
|
43
56
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
57
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
58
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
46
59
|
*/
|
|
47
|
-
readonly
|
|
60
|
+
readonly type?: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
64
|
+
export interface ErrorResponse {
|
|
65
|
+
/** The error object. */
|
|
66
|
+
error?: ErrorDetail;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/** The error detail. */
|
|
70
|
+
export interface ErrorDetail {
|
|
48
71
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
72
|
+
* The error code.
|
|
73
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
51
74
|
*/
|
|
52
|
-
readonly
|
|
75
|
+
readonly code?: string;
|
|
53
76
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
77
|
+
* The error message.
|
|
78
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
56
79
|
*/
|
|
57
|
-
readonly
|
|
80
|
+
readonly message?: string;
|
|
58
81
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
82
|
+
* The error target.
|
|
83
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
61
84
|
*/
|
|
62
|
-
readonly
|
|
85
|
+
readonly target?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The error details.
|
|
88
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
89
|
+
*/
|
|
90
|
+
readonly details?: ErrorDetail[];
|
|
91
|
+
/**
|
|
92
|
+
* The error additional info.
|
|
93
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
94
|
+
*/
|
|
95
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
63
96
|
}
|
|
64
97
|
|
|
65
|
-
/**
|
|
66
|
-
|
|
67
|
-
|
|
98
|
+
/** The resource management error additional info. */
|
|
99
|
+
export interface ErrorAdditionalInfo {
|
|
100
|
+
/**
|
|
101
|
+
* The additional info type.
|
|
102
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
103
|
+
*/
|
|
104
|
+
readonly type?: string;
|
|
105
|
+
/**
|
|
106
|
+
* The additional info.
|
|
107
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
108
|
+
*/
|
|
109
|
+
readonly info?: Record<string, unknown>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/** List of clusters. */
|
|
113
|
+
export interface ClusterList {
|
|
114
|
+
/** List of clusters. */
|
|
115
|
+
value?: Cluster[];
|
|
116
|
+
/**
|
|
117
|
+
* Link to the next set of results.
|
|
118
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
119
|
+
*/
|
|
120
|
+
readonly nextLink?: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/** Desired properties of the cluster. */
|
|
124
|
+
export interface ClusterDesiredProperties {
|
|
125
|
+
/** Desired state of Windows Server Subscription. */
|
|
126
|
+
windowsServerSubscription?: WindowsServerSubscription;
|
|
127
|
+
/** Desired level of diagnostic data emitted by the cluster. */
|
|
128
|
+
diagnosticLevel?: DiagnosticLevel;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/** Properties reported by cluster agent. */
|
|
68
132
|
export interface ClusterReportedProperties {
|
|
69
133
|
/**
|
|
70
134
|
* Name of the on-prem cluster connected to this resource.
|
|
71
|
-
*
|
|
135
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
72
136
|
*/
|
|
73
137
|
readonly clusterName?: string;
|
|
74
138
|
/**
|
|
75
139
|
* Unique id generated by the on-prem cluster.
|
|
76
|
-
*
|
|
140
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
77
141
|
*/
|
|
78
142
|
readonly clusterId?: string;
|
|
79
143
|
/**
|
|
80
144
|
* Version of the cluster software.
|
|
81
|
-
*
|
|
145
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
82
146
|
*/
|
|
83
147
|
readonly clusterVersion?: string;
|
|
84
148
|
/**
|
|
85
149
|
* List of nodes reported by the cluster.
|
|
86
|
-
*
|
|
150
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
87
151
|
*/
|
|
88
152
|
readonly nodes?: ClusterNode[];
|
|
89
153
|
/**
|
|
90
154
|
* Last time the cluster reported the data.
|
|
91
|
-
*
|
|
155
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
92
156
|
*/
|
|
93
157
|
readonly lastUpdated?: Date;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* An interface representing Resource.
|
|
98
|
-
*/
|
|
99
|
-
export interface Resource extends BaseResource {
|
|
100
158
|
/**
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
159
|
+
* IMDS attestation status of the cluster.
|
|
160
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
104
161
|
*/
|
|
105
|
-
readonly
|
|
162
|
+
readonly imdsAttestation?: ImdsAttestation;
|
|
163
|
+
/** Level of diagnostic data emitted by the cluster. */
|
|
164
|
+
diagnosticLevel?: DiagnosticLevel;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/** Cluster node details. */
|
|
168
|
+
export interface ClusterNode {
|
|
106
169
|
/**
|
|
107
|
-
*
|
|
108
|
-
*
|
|
170
|
+
* Name of the cluster node.
|
|
171
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
109
172
|
*/
|
|
110
173
|
readonly name?: string;
|
|
111
174
|
/**
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
175
|
+
* Id of the node in the cluster.
|
|
176
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
115
177
|
*/
|
|
116
|
-
readonly
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* The resource model definition for a ARM tracked top level resource
|
|
121
|
-
*/
|
|
122
|
-
export interface TrackedResource extends Resource {
|
|
178
|
+
readonly id?: number;
|
|
123
179
|
/**
|
|
124
|
-
*
|
|
180
|
+
* State of Windows Server Subscription.
|
|
181
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
125
182
|
*/
|
|
126
|
-
|
|
183
|
+
readonly windowsServerSubscription?: WindowsServerSubscription;
|
|
127
184
|
/**
|
|
128
|
-
*
|
|
185
|
+
* Manufacturer of the cluster node hardware.
|
|
186
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
129
187
|
*/
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Cluster details.
|
|
135
|
-
*/
|
|
136
|
-
export interface Cluster extends TrackedResource {
|
|
188
|
+
readonly manufacturer?: string;
|
|
137
189
|
/**
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
190
|
+
* Model name of the cluster node hardware.
|
|
191
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
141
192
|
*/
|
|
142
|
-
readonly
|
|
193
|
+
readonly model?: string;
|
|
143
194
|
/**
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
195
|
+
* Operating system running on the cluster node.
|
|
196
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
147
197
|
*/
|
|
148
|
-
readonly
|
|
198
|
+
readonly osName?: string;
|
|
149
199
|
/**
|
|
150
|
-
*
|
|
151
|
-
*
|
|
200
|
+
* Version of the operating system running on the cluster node.
|
|
201
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
152
202
|
*/
|
|
153
|
-
readonly
|
|
203
|
+
readonly osVersion?: string;
|
|
154
204
|
/**
|
|
155
|
-
*
|
|
205
|
+
* Immutable id of the cluster node.
|
|
206
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
156
207
|
*/
|
|
157
|
-
|
|
208
|
+
readonly serialNumber?: string;
|
|
158
209
|
/**
|
|
159
|
-
*
|
|
210
|
+
* Number of physical cores on the cluster node.
|
|
211
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
160
212
|
*/
|
|
161
|
-
|
|
213
|
+
readonly coreCount?: number;
|
|
162
214
|
/**
|
|
163
|
-
*
|
|
215
|
+
* Total available memory on the cluster node (in GiB).
|
|
216
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
164
217
|
*/
|
|
165
|
-
|
|
218
|
+
readonly memoryInGiB?: number;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/** Cluster details to update. */
|
|
222
|
+
export interface ClusterPatch {
|
|
223
|
+
/** Resource tags. */
|
|
224
|
+
tags?: { [propertyName: string]: string };
|
|
225
|
+
/** Endpoint configured for management from the Azure portal */
|
|
226
|
+
cloudManagementEndpoint?: string;
|
|
227
|
+
/** App id of cluster AAD identity. */
|
|
228
|
+
aadClientId?: string;
|
|
229
|
+
/** Tenant id of cluster AAD identity. */
|
|
230
|
+
aadTenantId?: string;
|
|
231
|
+
/** Desired properties of the cluster. */
|
|
232
|
+
desiredProperties?: ClusterDesiredProperties;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/** List of Extensions in HCI cluster. */
|
|
236
|
+
export interface ExtensionList {
|
|
166
237
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
238
|
+
* List of Extensions in HCI cluster.
|
|
239
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
169
240
|
*/
|
|
170
|
-
readonly
|
|
241
|
+
readonly value?: Extension[];
|
|
171
242
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
243
|
+
* Link to the next set of results.
|
|
244
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
174
245
|
*/
|
|
175
|
-
readonly
|
|
246
|
+
readonly nextLink?: string;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/** Status of Arc Extension for a particular node in HCI Cluster. */
|
|
250
|
+
export interface PerNodeExtensionState {
|
|
176
251
|
/**
|
|
177
|
-
*
|
|
178
|
-
*
|
|
252
|
+
* Name of the node in HCI Cluster.
|
|
253
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
179
254
|
*/
|
|
180
|
-
readonly
|
|
255
|
+
readonly name?: string;
|
|
181
256
|
/**
|
|
182
|
-
*
|
|
183
|
-
*
|
|
257
|
+
* Fully qualified resource ID for the particular Arc Extension on this node.
|
|
258
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
184
259
|
*/
|
|
185
|
-
readonly
|
|
260
|
+
readonly extension?: string;
|
|
186
261
|
/**
|
|
187
|
-
*
|
|
188
|
-
*
|
|
262
|
+
* State of Arc Extension in this node.
|
|
263
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
189
264
|
*/
|
|
190
|
-
readonly
|
|
265
|
+
readonly state?: NodeExtensionState;
|
|
191
266
|
}
|
|
192
267
|
|
|
193
|
-
/**
|
|
194
|
-
|
|
195
|
-
*/
|
|
196
|
-
export interface ClusterUpdate {
|
|
268
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
269
|
+
export interface OperationListResult {
|
|
197
270
|
/**
|
|
198
|
-
*
|
|
271
|
+
* List of operations supported by the resource provider
|
|
272
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
199
273
|
*/
|
|
200
|
-
|
|
274
|
+
readonly value?: Operation[];
|
|
275
|
+
/**
|
|
276
|
+
* URL to get the next set of operation list results (if there are any).
|
|
277
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
278
|
+
*/
|
|
279
|
+
readonly nextLink?: string;
|
|
201
280
|
}
|
|
202
281
|
|
|
203
|
-
/**
|
|
204
|
-
|
|
205
|
-
*/
|
|
206
|
-
export interface OperationDisplay {
|
|
282
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
283
|
+
export interface Operation {
|
|
207
284
|
/**
|
|
208
|
-
*
|
|
285
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
286
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
209
287
|
*/
|
|
210
|
-
|
|
288
|
+
readonly name?: string;
|
|
211
289
|
/**
|
|
212
|
-
*
|
|
290
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
291
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
213
292
|
*/
|
|
214
|
-
|
|
293
|
+
readonly isDataAction?: boolean;
|
|
294
|
+
/** Localized display information for this particular operation. */
|
|
295
|
+
display?: OperationDisplay;
|
|
215
296
|
/**
|
|
216
|
-
*
|
|
297
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
298
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
217
299
|
*/
|
|
218
|
-
|
|
300
|
+
readonly origin?: Origin;
|
|
219
301
|
/**
|
|
220
|
-
*
|
|
302
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
303
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
221
304
|
*/
|
|
222
|
-
|
|
305
|
+
readonly actionType?: ActionType;
|
|
223
306
|
}
|
|
224
307
|
|
|
225
|
-
/**
|
|
226
|
-
|
|
227
|
-
*/
|
|
228
|
-
export interface OperationDetail {
|
|
308
|
+
/** Localized display information for this particular operation. */
|
|
309
|
+
export interface OperationDisplay {
|
|
229
310
|
/**
|
|
230
|
-
*
|
|
311
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
312
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
231
313
|
*/
|
|
232
|
-
|
|
314
|
+
readonly provider?: string;
|
|
233
315
|
/**
|
|
234
|
-
*
|
|
316
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
317
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
235
318
|
*/
|
|
236
|
-
|
|
319
|
+
readonly resource?: string;
|
|
237
320
|
/**
|
|
238
|
-
*
|
|
321
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
322
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
239
323
|
*/
|
|
240
|
-
|
|
324
|
+
readonly operation?: string;
|
|
241
325
|
/**
|
|
242
|
-
*
|
|
326
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
327
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
243
328
|
*/
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* Properties of the operation
|
|
247
|
-
*/
|
|
248
|
-
properties?: any;
|
|
329
|
+
readonly description?: string;
|
|
249
330
|
}
|
|
250
331
|
|
|
251
|
-
/**
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
332
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
333
|
+
export type ProxyResource = Resource & {};
|
|
334
|
+
|
|
335
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
336
|
+
export type TrackedResource = Resource & {
|
|
337
|
+
/** Resource tags. */
|
|
338
|
+
tags?: { [propertyName: string]: string };
|
|
339
|
+
/** The geo-location where the resource lives */
|
|
340
|
+
location: string;
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
/** ArcSetting details. */
|
|
344
|
+
export type ArcSetting = ProxyResource & {
|
|
255
345
|
/**
|
|
256
|
-
*
|
|
346
|
+
* Provisioning state of the ArcSetting proxy resource.
|
|
347
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
257
348
|
*/
|
|
258
|
-
|
|
349
|
+
readonly provisioningState?: ProvisioningState;
|
|
259
350
|
/**
|
|
260
|
-
*
|
|
261
|
-
* It
|
|
351
|
+
* The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.
|
|
352
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
262
353
|
*/
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
354
|
+
readonly arcInstanceResourceGroup?: string;
|
|
355
|
+
/**
|
|
356
|
+
* Aggregate state of Arc agent across the nodes in this HCI cluster.
|
|
357
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
358
|
+
*/
|
|
359
|
+
readonly aggregateState?: ArcSettingAggregateState;
|
|
360
|
+
/**
|
|
361
|
+
* State of Arc agent in each of the nodes.
|
|
362
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
363
|
+
*/
|
|
364
|
+
readonly perNodeDetails?: PerNodeState[];
|
|
365
|
+
/** The identity that created the resource. */
|
|
366
|
+
createdBy?: string;
|
|
367
|
+
/** The type of identity that created the resource. */
|
|
368
|
+
createdByType?: CreatedByType;
|
|
369
|
+
/** The timestamp of resource creation (UTC). */
|
|
370
|
+
createdAt?: Date;
|
|
371
|
+
/** The identity that last modified the resource. */
|
|
372
|
+
lastModifiedBy?: string;
|
|
373
|
+
/** The type of identity that last modified the resource. */
|
|
374
|
+
lastModifiedByType?: CreatedByType;
|
|
375
|
+
/** The timestamp of resource last modification (UTC) */
|
|
376
|
+
lastModifiedAt?: Date;
|
|
377
|
+
};
|
|
272
378
|
|
|
273
|
-
/**
|
|
274
|
-
|
|
275
|
-
*/
|
|
276
|
-
export interface AzureEntityResource extends Resource {
|
|
379
|
+
/** Details of a particular extension in HCI Cluster. */
|
|
380
|
+
export type Extension = ProxyResource & {
|
|
277
381
|
/**
|
|
278
|
-
*
|
|
279
|
-
*
|
|
382
|
+
* Provisioning state of the Extension proxy resource.
|
|
383
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
280
384
|
*/
|
|
281
|
-
readonly
|
|
282
|
-
|
|
385
|
+
readonly provisioningState?: ProvisioningState;
|
|
386
|
+
/**
|
|
387
|
+
* Aggregate state of Arc Extensions across the nodes in this HCI cluster.
|
|
388
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
389
|
+
*/
|
|
390
|
+
readonly aggregateState?: ExtensionAggregateState;
|
|
391
|
+
/**
|
|
392
|
+
* State of Arc Extension in each of the nodes.
|
|
393
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
394
|
+
*/
|
|
395
|
+
readonly perNodeExtensionDetails?: PerNodeExtensionState[];
|
|
396
|
+
/** How the extension handler should be forced to update even if the extension configuration has not changed. */
|
|
397
|
+
forceUpdateTag?: string;
|
|
398
|
+
/** The name of the extension handler publisher. */
|
|
399
|
+
publisher?: string;
|
|
400
|
+
/** Specifies the type of the extension; an example is "CustomScriptExtension". */
|
|
401
|
+
typePropertiesExtensionParametersType?: string;
|
|
402
|
+
/** Specifies the version of the script handler. */
|
|
403
|
+
typeHandlerVersion?: string;
|
|
404
|
+
/** Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. */
|
|
405
|
+
autoUpgradeMinorVersion?: boolean;
|
|
406
|
+
/** Json formatted public settings for the extension. */
|
|
407
|
+
settings?: Record<string, unknown>;
|
|
408
|
+
/** Protected settings (may contain secrets). */
|
|
409
|
+
protectedSettings?: Record<string, unknown>;
|
|
410
|
+
/** The identity that created the resource. */
|
|
411
|
+
createdBy?: string;
|
|
412
|
+
/** The type of identity that created the resource. */
|
|
413
|
+
createdByType?: CreatedByType;
|
|
414
|
+
/** The timestamp of resource creation (UTC). */
|
|
415
|
+
createdAt?: Date;
|
|
416
|
+
/** The identity that last modified the resource. */
|
|
417
|
+
lastModifiedBy?: string;
|
|
418
|
+
/** The type of identity that last modified the resource. */
|
|
419
|
+
lastModifiedByType?: CreatedByType;
|
|
420
|
+
/** The timestamp of resource last modification (UTC) */
|
|
421
|
+
lastModifiedAt?: Date;
|
|
422
|
+
};
|
|
283
423
|
|
|
284
|
-
/**
|
|
285
|
-
|
|
286
|
-
*/
|
|
287
|
-
export interface ErrorAdditionalInfo {
|
|
424
|
+
/** Cluster details. */
|
|
425
|
+
export type Cluster = TrackedResource & {
|
|
288
426
|
/**
|
|
289
|
-
*
|
|
290
|
-
*
|
|
427
|
+
* Provisioning state.
|
|
428
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
291
429
|
*/
|
|
292
|
-
readonly
|
|
430
|
+
readonly provisioningState?: ProvisioningState;
|
|
293
431
|
/**
|
|
294
|
-
*
|
|
295
|
-
*
|
|
432
|
+
* Status of the cluster agent.
|
|
433
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
296
434
|
*/
|
|
297
|
-
readonly
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* The error object.
|
|
302
|
-
*/
|
|
303
|
-
export interface ErrorResponseError {
|
|
435
|
+
readonly status?: Status;
|
|
304
436
|
/**
|
|
305
|
-
*
|
|
306
|
-
*
|
|
437
|
+
* Unique, immutable resource id.
|
|
438
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
307
439
|
*/
|
|
308
|
-
readonly
|
|
440
|
+
readonly cloudId?: string;
|
|
441
|
+
/** Endpoint configured for management from the Azure portal. */
|
|
442
|
+
cloudManagementEndpoint?: string;
|
|
443
|
+
/** App id of cluster AAD identity. */
|
|
444
|
+
aadClientId?: string;
|
|
445
|
+
/** Tenant id of cluster AAD identity. */
|
|
446
|
+
aadTenantId?: string;
|
|
447
|
+
/** Desired properties of the cluster. */
|
|
448
|
+
desiredProperties?: ClusterDesiredProperties;
|
|
309
449
|
/**
|
|
310
|
-
*
|
|
311
|
-
*
|
|
450
|
+
* Properties reported by cluster agent.
|
|
451
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
312
452
|
*/
|
|
313
|
-
readonly
|
|
453
|
+
readonly reportedProperties?: ClusterReportedProperties;
|
|
314
454
|
/**
|
|
315
|
-
*
|
|
316
|
-
*
|
|
455
|
+
* Number of days remaining in the trial period.
|
|
456
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
317
457
|
*/
|
|
318
|
-
readonly
|
|
458
|
+
readonly trialDaysRemaining?: number;
|
|
319
459
|
/**
|
|
320
|
-
*
|
|
321
|
-
*
|
|
460
|
+
* Type of billing applied to the resource.
|
|
461
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
322
462
|
*/
|
|
323
|
-
readonly
|
|
463
|
+
readonly billingModel?: string;
|
|
324
464
|
/**
|
|
325
|
-
*
|
|
326
|
-
*
|
|
465
|
+
* First cluster sync timestamp.
|
|
466
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
327
467
|
*/
|
|
328
|
-
readonly
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* The resource management error response.
|
|
333
|
-
*/
|
|
334
|
-
export interface ErrorResponse {
|
|
468
|
+
readonly registrationTimestamp?: Date;
|
|
335
469
|
/**
|
|
336
|
-
*
|
|
470
|
+
* Most recent cluster sync timestamp.
|
|
471
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
337
472
|
*/
|
|
338
|
-
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Optional Parameters.
|
|
343
|
-
*/
|
|
344
|
-
export interface ClustersUpdateOptionalParams extends msRest.RequestOptionsBase {
|
|
473
|
+
readonly lastSyncTimestamp?: Date;
|
|
345
474
|
/**
|
|
346
|
-
*
|
|
475
|
+
* Most recent billing meter timestamp.
|
|
476
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
347
477
|
*/
|
|
348
|
-
|
|
478
|
+
readonly lastBillingTimestamp?: Date;
|
|
479
|
+
/** The identity that created the resource. */
|
|
480
|
+
createdBy?: string;
|
|
481
|
+
/** The type of identity that created the resource. */
|
|
482
|
+
createdByType?: CreatedByType;
|
|
483
|
+
/** The timestamp of resource creation (UTC). */
|
|
484
|
+
createdAt?: Date;
|
|
485
|
+
/** The identity that last modified the resource. */
|
|
486
|
+
lastModifiedBy?: string;
|
|
487
|
+
/** The type of identity that last modified the resource. */
|
|
488
|
+
lastModifiedByType?: CreatedByType;
|
|
489
|
+
/** The timestamp of resource last modification (UTC) */
|
|
490
|
+
lastModifiedAt?: Date;
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
494
|
+
export enum KnownCreatedByType {
|
|
495
|
+
User = "User",
|
|
496
|
+
Application = "Application",
|
|
497
|
+
ManagedIdentity = "ManagedIdentity",
|
|
498
|
+
Key = "Key"
|
|
349
499
|
}
|
|
350
500
|
|
|
351
501
|
/**
|
|
352
|
-
*
|
|
502
|
+
* Defines values for CreatedByType. \
|
|
503
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
504
|
+
* this enum contains the known values that the service supports.
|
|
505
|
+
* ### Known values supported by the service
|
|
506
|
+
* **User** \
|
|
507
|
+
* **Application** \
|
|
508
|
+
* **ManagedIdentity** \
|
|
509
|
+
* **Key**
|
|
353
510
|
*/
|
|
354
|
-
export
|
|
355
|
-
|
|
511
|
+
export type CreatedByType = string;
|
|
512
|
+
|
|
513
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
514
|
+
export enum KnownProvisioningState {
|
|
515
|
+
Succeeded = "Succeeded",
|
|
516
|
+
Failed = "Failed",
|
|
517
|
+
Canceled = "Canceled",
|
|
518
|
+
Accepted = "Accepted",
|
|
519
|
+
Provisioning = "Provisioning"
|
|
356
520
|
}
|
|
357
521
|
|
|
358
522
|
/**
|
|
359
|
-
*
|
|
360
|
-
*
|
|
361
|
-
*
|
|
523
|
+
* Defines values for ProvisioningState. \
|
|
524
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
525
|
+
* this enum contains the known values that the service supports.
|
|
526
|
+
* ### Known values supported by the service
|
|
527
|
+
* **Succeeded** \
|
|
528
|
+
* **Failed** \
|
|
529
|
+
* **Canceled** \
|
|
530
|
+
* **Accepted** \
|
|
531
|
+
* **Provisioning**
|
|
362
532
|
*/
|
|
363
|
-
export
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
533
|
+
export type ProvisioningState = string;
|
|
534
|
+
|
|
535
|
+
/** Known values of {@link ArcSettingAggregateState} that the service accepts. */
|
|
536
|
+
export enum KnownArcSettingAggregateState {
|
|
537
|
+
NotSpecified = "NotSpecified",
|
|
538
|
+
Error = "Error",
|
|
539
|
+
Succeeded = "Succeeded",
|
|
540
|
+
Canceled = "Canceled",
|
|
541
|
+
Failed = "Failed",
|
|
542
|
+
Connected = "Connected",
|
|
543
|
+
Disconnected = "Disconnected",
|
|
544
|
+
Deleted = "Deleted",
|
|
545
|
+
Creating = "Creating",
|
|
546
|
+
Updating = "Updating",
|
|
547
|
+
Deleting = "Deleting",
|
|
548
|
+
Moving = "Moving",
|
|
549
|
+
PartiallySucceeded = "PartiallySucceeded",
|
|
550
|
+
PartiallyConnected = "PartiallyConnected",
|
|
551
|
+
InProgress = "InProgress"
|
|
369
552
|
}
|
|
370
553
|
|
|
371
554
|
/**
|
|
372
|
-
* Defines values for
|
|
373
|
-
*
|
|
374
|
-
*
|
|
375
|
-
*
|
|
555
|
+
* Defines values for ArcSettingAggregateState. \
|
|
556
|
+
* {@link KnownArcSettingAggregateState} can be used interchangeably with ArcSettingAggregateState,
|
|
557
|
+
* this enum contains the known values that the service supports.
|
|
558
|
+
* ### Known values supported by the service
|
|
559
|
+
* **NotSpecified** \
|
|
560
|
+
* **Error** \
|
|
561
|
+
* **Succeeded** \
|
|
562
|
+
* **Canceled** \
|
|
563
|
+
* **Failed** \
|
|
564
|
+
* **Connected** \
|
|
565
|
+
* **Disconnected** \
|
|
566
|
+
* **Deleted** \
|
|
567
|
+
* **Creating** \
|
|
568
|
+
* **Updating** \
|
|
569
|
+
* **Deleting** \
|
|
570
|
+
* **Moving** \
|
|
571
|
+
* **PartiallySucceeded** \
|
|
572
|
+
* **PartiallyConnected** \
|
|
573
|
+
* **InProgress**
|
|
376
574
|
*/
|
|
377
|
-
export type
|
|
575
|
+
export type ArcSettingAggregateState = string;
|
|
576
|
+
|
|
577
|
+
/** Known values of {@link NodeArcState} that the service accepts. */
|
|
578
|
+
export enum KnownNodeArcState {
|
|
579
|
+
NotSpecified = "NotSpecified",
|
|
580
|
+
Error = "Error",
|
|
581
|
+
Succeeded = "Succeeded",
|
|
582
|
+
Canceled = "Canceled",
|
|
583
|
+
Failed = "Failed",
|
|
584
|
+
Connected = "Connected",
|
|
585
|
+
Disconnected = "Disconnected",
|
|
586
|
+
Deleted = "Deleted",
|
|
587
|
+
Creating = "Creating",
|
|
588
|
+
Updating = "Updating",
|
|
589
|
+
Deleting = "Deleting",
|
|
590
|
+
Moving = "Moving"
|
|
591
|
+
}
|
|
378
592
|
|
|
379
593
|
/**
|
|
380
|
-
* Defines values for
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
*
|
|
594
|
+
* Defines values for NodeArcState. \
|
|
595
|
+
* {@link KnownNodeArcState} can be used interchangeably with NodeArcState,
|
|
596
|
+
* this enum contains the known values that the service supports.
|
|
597
|
+
* ### Known values supported by the service
|
|
598
|
+
* **NotSpecified** \
|
|
599
|
+
* **Error** \
|
|
600
|
+
* **Succeeded** \
|
|
601
|
+
* **Canceled** \
|
|
602
|
+
* **Failed** \
|
|
603
|
+
* **Connected** \
|
|
604
|
+
* **Disconnected** \
|
|
605
|
+
* **Deleted** \
|
|
606
|
+
* **Creating** \
|
|
607
|
+
* **Updating** \
|
|
608
|
+
* **Deleting** \
|
|
609
|
+
* **Moving**
|
|
385
610
|
*/
|
|
386
|
-
export type
|
|
611
|
+
export type NodeArcState = string;
|
|
612
|
+
|
|
613
|
+
/** Known values of {@link Status} that the service accepts. */
|
|
614
|
+
export enum KnownStatus {
|
|
615
|
+
NotYetRegistered = "NotYetRegistered",
|
|
616
|
+
ConnectedRecently = "ConnectedRecently",
|
|
617
|
+
NotConnectedRecently = "NotConnectedRecently",
|
|
618
|
+
Disconnected = "Disconnected",
|
|
619
|
+
Error = "Error"
|
|
620
|
+
}
|
|
387
621
|
|
|
388
622
|
/**
|
|
389
|
-
*
|
|
623
|
+
* Defines values for Status. \
|
|
624
|
+
* {@link KnownStatus} can be used interchangeably with Status,
|
|
625
|
+
* this enum contains the known values that the service supports.
|
|
626
|
+
* ### Known values supported by the service
|
|
627
|
+
* **NotYetRegistered** \
|
|
628
|
+
* **ConnectedRecently** \
|
|
629
|
+
* **NotConnectedRecently** \
|
|
630
|
+
* **Disconnected** \
|
|
631
|
+
* **Error**
|
|
390
632
|
*/
|
|
391
|
-
export type
|
|
392
|
-
/**
|
|
393
|
-
* The underlying HTTP response.
|
|
394
|
-
*/
|
|
395
|
-
_response: msRest.HttpResponse & {
|
|
396
|
-
/**
|
|
397
|
-
* The response body as text (string format)
|
|
398
|
-
*/
|
|
399
|
-
bodyAsText: string;
|
|
633
|
+
export type Status = string;
|
|
400
634
|
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
};
|
|
635
|
+
/** Known values of {@link WindowsServerSubscription} that the service accepts. */
|
|
636
|
+
export enum KnownWindowsServerSubscription {
|
|
637
|
+
Disabled = "Disabled",
|
|
638
|
+
Enabled = "Enabled"
|
|
639
|
+
}
|
|
407
640
|
|
|
408
641
|
/**
|
|
409
|
-
*
|
|
642
|
+
* Defines values for WindowsServerSubscription. \
|
|
643
|
+
* {@link KnownWindowsServerSubscription} can be used interchangeably with WindowsServerSubscription,
|
|
644
|
+
* this enum contains the known values that the service supports.
|
|
645
|
+
* ### Known values supported by the service
|
|
646
|
+
* **Disabled** \
|
|
647
|
+
* **Enabled**
|
|
410
648
|
*/
|
|
411
|
-
export type
|
|
412
|
-
/**
|
|
413
|
-
* The underlying HTTP response.
|
|
414
|
-
*/
|
|
415
|
-
_response: msRest.HttpResponse & {
|
|
416
|
-
/**
|
|
417
|
-
* The response body as text (string format)
|
|
418
|
-
*/
|
|
419
|
-
bodyAsText: string;
|
|
649
|
+
export type WindowsServerSubscription = string;
|
|
420
650
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
}
|
|
651
|
+
/** Known values of {@link DiagnosticLevel} that the service accepts. */
|
|
652
|
+
export enum KnownDiagnosticLevel {
|
|
653
|
+
Off = "Off",
|
|
654
|
+
Basic = "Basic",
|
|
655
|
+
Enhanced = "Enhanced"
|
|
656
|
+
}
|
|
427
657
|
|
|
428
658
|
/**
|
|
429
|
-
*
|
|
659
|
+
* Defines values for DiagnosticLevel. \
|
|
660
|
+
* {@link KnownDiagnosticLevel} can be used interchangeably with DiagnosticLevel,
|
|
661
|
+
* this enum contains the known values that the service supports.
|
|
662
|
+
* ### Known values supported by the service
|
|
663
|
+
* **Off** \
|
|
664
|
+
* **Basic** \
|
|
665
|
+
* **Enhanced**
|
|
430
666
|
*/
|
|
431
|
-
export type
|
|
432
|
-
/**
|
|
433
|
-
* The underlying HTTP response.
|
|
434
|
-
*/
|
|
435
|
-
_response: msRest.HttpResponse & {
|
|
436
|
-
/**
|
|
437
|
-
* The response body as text (string format)
|
|
438
|
-
*/
|
|
439
|
-
bodyAsText: string;
|
|
667
|
+
export type DiagnosticLevel = string;
|
|
440
668
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
};
|
|
669
|
+
/** Known values of {@link ImdsAttestation} that the service accepts. */
|
|
670
|
+
export enum KnownImdsAttestation {
|
|
671
|
+
Disabled = "Disabled",
|
|
672
|
+
Enabled = "Enabled"
|
|
673
|
+
}
|
|
447
674
|
|
|
448
675
|
/**
|
|
449
|
-
*
|
|
676
|
+
* Defines values for ImdsAttestation. \
|
|
677
|
+
* {@link KnownImdsAttestation} can be used interchangeably with ImdsAttestation,
|
|
678
|
+
* this enum contains the known values that the service supports.
|
|
679
|
+
* ### Known values supported by the service
|
|
680
|
+
* **Disabled** \
|
|
681
|
+
* **Enabled**
|
|
450
682
|
*/
|
|
451
|
-
export type
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
683
|
+
export type ImdsAttestation = string;
|
|
684
|
+
|
|
685
|
+
/** Known values of {@link ExtensionAggregateState} that the service accepts. */
|
|
686
|
+
export enum KnownExtensionAggregateState {
|
|
687
|
+
NotSpecified = "NotSpecified",
|
|
688
|
+
Error = "Error",
|
|
689
|
+
Succeeded = "Succeeded",
|
|
690
|
+
Canceled = "Canceled",
|
|
691
|
+
Failed = "Failed",
|
|
692
|
+
Connected = "Connected",
|
|
693
|
+
Disconnected = "Disconnected",
|
|
694
|
+
Deleted = "Deleted",
|
|
695
|
+
Creating = "Creating",
|
|
696
|
+
Updating = "Updating",
|
|
697
|
+
Deleting = "Deleting",
|
|
698
|
+
Moving = "Moving",
|
|
699
|
+
PartiallySucceeded = "PartiallySucceeded",
|
|
700
|
+
PartiallyConnected = "PartiallyConnected",
|
|
701
|
+
InProgress = "InProgress"
|
|
702
|
+
}
|
|
467
703
|
|
|
468
704
|
/**
|
|
469
|
-
*
|
|
705
|
+
* Defines values for ExtensionAggregateState. \
|
|
706
|
+
* {@link KnownExtensionAggregateState} can be used interchangeably with ExtensionAggregateState,
|
|
707
|
+
* this enum contains the known values that the service supports.
|
|
708
|
+
* ### Known values supported by the service
|
|
709
|
+
* **NotSpecified** \
|
|
710
|
+
* **Error** \
|
|
711
|
+
* **Succeeded** \
|
|
712
|
+
* **Canceled** \
|
|
713
|
+
* **Failed** \
|
|
714
|
+
* **Connected** \
|
|
715
|
+
* **Disconnected** \
|
|
716
|
+
* **Deleted** \
|
|
717
|
+
* **Creating** \
|
|
718
|
+
* **Updating** \
|
|
719
|
+
* **Deleting** \
|
|
720
|
+
* **Moving** \
|
|
721
|
+
* **PartiallySucceeded** \
|
|
722
|
+
* **PartiallyConnected** \
|
|
723
|
+
* **InProgress**
|
|
470
724
|
*/
|
|
471
|
-
export type
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
725
|
+
export type ExtensionAggregateState = string;
|
|
726
|
+
|
|
727
|
+
/** Known values of {@link NodeExtensionState} that the service accepts. */
|
|
728
|
+
export enum KnownNodeExtensionState {
|
|
729
|
+
NotSpecified = "NotSpecified",
|
|
730
|
+
Error = "Error",
|
|
731
|
+
Succeeded = "Succeeded",
|
|
732
|
+
Canceled = "Canceled",
|
|
733
|
+
Failed = "Failed",
|
|
734
|
+
Connected = "Connected",
|
|
735
|
+
Disconnected = "Disconnected",
|
|
736
|
+
Deleted = "Deleted",
|
|
737
|
+
Creating = "Creating",
|
|
738
|
+
Updating = "Updating",
|
|
739
|
+
Deleting = "Deleting",
|
|
740
|
+
Moving = "Moving"
|
|
741
|
+
}
|
|
487
742
|
|
|
488
743
|
/**
|
|
489
|
-
*
|
|
744
|
+
* Defines values for NodeExtensionState. \
|
|
745
|
+
* {@link KnownNodeExtensionState} can be used interchangeably with NodeExtensionState,
|
|
746
|
+
* this enum contains the known values that the service supports.
|
|
747
|
+
* ### Known values supported by the service
|
|
748
|
+
* **NotSpecified** \
|
|
749
|
+
* **Error** \
|
|
750
|
+
* **Succeeded** \
|
|
751
|
+
* **Canceled** \
|
|
752
|
+
* **Failed** \
|
|
753
|
+
* **Connected** \
|
|
754
|
+
* **Disconnected** \
|
|
755
|
+
* **Deleted** \
|
|
756
|
+
* **Creating** \
|
|
757
|
+
* **Updating** \
|
|
758
|
+
* **Deleting** \
|
|
759
|
+
* **Moving**
|
|
490
760
|
*/
|
|
491
|
-
export type
|
|
492
|
-
/**
|
|
493
|
-
* The underlying HTTP response.
|
|
494
|
-
*/
|
|
495
|
-
_response: msRest.HttpResponse & {
|
|
496
|
-
/**
|
|
497
|
-
* The response body as text (string format)
|
|
498
|
-
*/
|
|
499
|
-
bodyAsText: string;
|
|
761
|
+
export type NodeExtensionState = string;
|
|
500
762
|
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
}
|
|
763
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
764
|
+
export enum KnownOrigin {
|
|
765
|
+
User = "user",
|
|
766
|
+
System = "system",
|
|
767
|
+
UserSystem = "user,system"
|
|
768
|
+
}
|
|
507
769
|
|
|
508
770
|
/**
|
|
509
|
-
*
|
|
771
|
+
* Defines values for Origin. \
|
|
772
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
773
|
+
* this enum contains the known values that the service supports.
|
|
774
|
+
* ### Known values supported by the service
|
|
775
|
+
* **user** \
|
|
776
|
+
* **system** \
|
|
777
|
+
* **user,system**
|
|
510
778
|
*/
|
|
511
|
-
export type
|
|
512
|
-
/**
|
|
513
|
-
* The underlying HTTP response.
|
|
514
|
-
*/
|
|
515
|
-
_response: msRest.HttpResponse & {
|
|
516
|
-
/**
|
|
517
|
-
* The response body as text (string format)
|
|
518
|
-
*/
|
|
519
|
-
bodyAsText: string;
|
|
779
|
+
export type Origin = string;
|
|
520
780
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
};
|
|
526
|
-
};
|
|
781
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
782
|
+
export enum KnownActionType {
|
|
783
|
+
Internal = "Internal"
|
|
784
|
+
}
|
|
527
785
|
|
|
528
786
|
/**
|
|
529
|
-
*
|
|
787
|
+
* Defines values for ActionType. \
|
|
788
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
789
|
+
* this enum contains the known values that the service supports.
|
|
790
|
+
* ### Known values supported by the service
|
|
791
|
+
* **Internal**
|
|
530
792
|
*/
|
|
531
|
-
export type
|
|
532
|
-
/**
|
|
533
|
-
* The underlying HTTP response.
|
|
534
|
-
*/
|
|
535
|
-
_response: msRest.HttpResponse & {
|
|
536
|
-
/**
|
|
537
|
-
* The response body as text (string format)
|
|
538
|
-
*/
|
|
539
|
-
bodyAsText: string;
|
|
793
|
+
export type ActionType = string;
|
|
540
794
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
795
|
+
/** Optional parameters. */
|
|
796
|
+
export interface ArcSettingsListByClusterOptionalParams
|
|
797
|
+
extends coreClient.OperationOptions {}
|
|
798
|
+
|
|
799
|
+
/** Contains response data for the listByCluster operation. */
|
|
800
|
+
export type ArcSettingsListByClusterResponse = ArcSettingList;
|
|
801
|
+
|
|
802
|
+
/** Optional parameters. */
|
|
803
|
+
export interface ArcSettingsGetOptionalParams
|
|
804
|
+
extends coreClient.OperationOptions {}
|
|
805
|
+
|
|
806
|
+
/** Contains response data for the get operation. */
|
|
807
|
+
export type ArcSettingsGetResponse = ArcSetting;
|
|
808
|
+
|
|
809
|
+
/** Optional parameters. */
|
|
810
|
+
export interface ArcSettingsCreateOptionalParams
|
|
811
|
+
extends coreClient.OperationOptions {}
|
|
812
|
+
|
|
813
|
+
/** Contains response data for the create operation. */
|
|
814
|
+
export type ArcSettingsCreateResponse = ArcSetting;
|
|
815
|
+
|
|
816
|
+
/** Optional parameters. */
|
|
817
|
+
export interface ArcSettingsDeleteOptionalParams
|
|
818
|
+
extends coreClient.OperationOptions {
|
|
819
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
820
|
+
updateIntervalInMs?: number;
|
|
821
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
822
|
+
resumeFrom?: string;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/** Optional parameters. */
|
|
826
|
+
export interface ArcSettingsListByClusterNextOptionalParams
|
|
827
|
+
extends coreClient.OperationOptions {}
|
|
828
|
+
|
|
829
|
+
/** Contains response data for the listByClusterNext operation. */
|
|
830
|
+
export type ArcSettingsListByClusterNextResponse = ArcSettingList;
|
|
831
|
+
|
|
832
|
+
/** Optional parameters. */
|
|
833
|
+
export interface ClustersListBySubscriptionOptionalParams
|
|
834
|
+
extends coreClient.OperationOptions {}
|
|
835
|
+
|
|
836
|
+
/** Contains response data for the listBySubscription operation. */
|
|
837
|
+
export type ClustersListBySubscriptionResponse = ClusterList;
|
|
838
|
+
|
|
839
|
+
/** Optional parameters. */
|
|
840
|
+
export interface ClustersListByResourceGroupOptionalParams
|
|
841
|
+
extends coreClient.OperationOptions {}
|
|
842
|
+
|
|
843
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
844
|
+
export type ClustersListByResourceGroupResponse = ClusterList;
|
|
845
|
+
|
|
846
|
+
/** Optional parameters. */
|
|
847
|
+
export interface ClustersGetOptionalParams
|
|
848
|
+
extends coreClient.OperationOptions {}
|
|
849
|
+
|
|
850
|
+
/** Contains response data for the get operation. */
|
|
851
|
+
export type ClustersGetResponse = Cluster;
|
|
852
|
+
|
|
853
|
+
/** Optional parameters. */
|
|
854
|
+
export interface ClustersCreateOptionalParams
|
|
855
|
+
extends coreClient.OperationOptions {}
|
|
856
|
+
|
|
857
|
+
/** Contains response data for the create operation. */
|
|
858
|
+
export type ClustersCreateResponse = Cluster;
|
|
859
|
+
|
|
860
|
+
/** Optional parameters. */
|
|
861
|
+
export interface ClustersUpdateOptionalParams
|
|
862
|
+
extends coreClient.OperationOptions {}
|
|
863
|
+
|
|
864
|
+
/** Contains response data for the update operation. */
|
|
865
|
+
export type ClustersUpdateResponse = Cluster;
|
|
866
|
+
|
|
867
|
+
/** Optional parameters. */
|
|
868
|
+
export interface ClustersDeleteOptionalParams
|
|
869
|
+
extends coreClient.OperationOptions {}
|
|
870
|
+
|
|
871
|
+
/** Optional parameters. */
|
|
872
|
+
export interface ClustersListBySubscriptionNextOptionalParams
|
|
873
|
+
extends coreClient.OperationOptions {}
|
|
874
|
+
|
|
875
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
876
|
+
export type ClustersListBySubscriptionNextResponse = ClusterList;
|
|
877
|
+
|
|
878
|
+
/** Optional parameters. */
|
|
879
|
+
export interface ClustersListByResourceGroupNextOptionalParams
|
|
880
|
+
extends coreClient.OperationOptions {}
|
|
881
|
+
|
|
882
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
883
|
+
export type ClustersListByResourceGroupNextResponse = ClusterList;
|
|
884
|
+
|
|
885
|
+
/** Optional parameters. */
|
|
886
|
+
export interface ExtensionsListByArcSettingOptionalParams
|
|
887
|
+
extends coreClient.OperationOptions {}
|
|
888
|
+
|
|
889
|
+
/** Contains response data for the listByArcSetting operation. */
|
|
890
|
+
export type ExtensionsListByArcSettingResponse = ExtensionList;
|
|
891
|
+
|
|
892
|
+
/** Optional parameters. */
|
|
893
|
+
export interface ExtensionsGetOptionalParams
|
|
894
|
+
extends coreClient.OperationOptions {}
|
|
895
|
+
|
|
896
|
+
/** Contains response data for the get operation. */
|
|
897
|
+
export type ExtensionsGetResponse = Extension;
|
|
898
|
+
|
|
899
|
+
/** Optional parameters. */
|
|
900
|
+
export interface ExtensionsCreateOptionalParams
|
|
901
|
+
extends coreClient.OperationOptions {
|
|
902
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
903
|
+
updateIntervalInMs?: number;
|
|
904
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
905
|
+
resumeFrom?: string;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
/** Contains response data for the create operation. */
|
|
909
|
+
export type ExtensionsCreateResponse = Extension;
|
|
910
|
+
|
|
911
|
+
/** Optional parameters. */
|
|
912
|
+
export interface ExtensionsUpdateOptionalParams
|
|
913
|
+
extends coreClient.OperationOptions {
|
|
914
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
915
|
+
updateIntervalInMs?: number;
|
|
916
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
917
|
+
resumeFrom?: string;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/** Contains response data for the update operation. */
|
|
921
|
+
export type ExtensionsUpdateResponse = Extension;
|
|
922
|
+
|
|
923
|
+
/** Optional parameters. */
|
|
924
|
+
export interface ExtensionsDeleteOptionalParams
|
|
925
|
+
extends coreClient.OperationOptions {
|
|
926
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
927
|
+
updateIntervalInMs?: number;
|
|
928
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
929
|
+
resumeFrom?: string;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/** Optional parameters. */
|
|
933
|
+
export interface ExtensionsListByArcSettingNextOptionalParams
|
|
934
|
+
extends coreClient.OperationOptions {}
|
|
935
|
+
|
|
936
|
+
/** Contains response data for the listByArcSettingNext operation. */
|
|
937
|
+
export type ExtensionsListByArcSettingNextResponse = ExtensionList;
|
|
938
|
+
|
|
939
|
+
/** Optional parameters. */
|
|
940
|
+
export interface OperationsListOptionalParams
|
|
941
|
+
extends coreClient.OperationOptions {}
|
|
942
|
+
|
|
943
|
+
/** Contains response data for the list operation. */
|
|
944
|
+
export type OperationsListResponse = OperationListResult;
|
|
945
|
+
|
|
946
|
+
/** Optional parameters. */
|
|
947
|
+
export interface AzureStackHCIClientOptionalParams
|
|
948
|
+
extends coreClient.ServiceClientOptions {
|
|
949
|
+
/** server parameter */
|
|
950
|
+
$host?: string;
|
|
951
|
+
/** Api Version */
|
|
952
|
+
apiVersion?: string;
|
|
953
|
+
/** Overrides client endpoint. */
|
|
954
|
+
endpoint?: string;
|
|
955
|
+
}
|