@azure/arm-hybridcompute 4.0.1-alpha.20241113.1 → 4.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +79 -9
- package/README.md +1 -1
- package/dist/index.js +4477 -2438
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/extensionMetadataGetSample.js +1 -1
- package/dist-esm/samples-dev/extensionMetadataListSample.js +1 -1
- package/dist-esm/samples-dev/gatewaysCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/gatewaysCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gatewaysCreateOrUpdateSample.js +44 -0
- package/dist-esm/samples-dev/gatewaysCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/gatewaysDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/gatewaysDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gatewaysDeleteSample.js +39 -0
- package/dist-esm/samples-dev/gatewaysDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/gatewaysGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/gatewaysGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gatewaysGetSample.js +39 -0
- package/dist-esm/samples-dev/gatewaysGetSample.js.map +1 -0
- package/dist-esm/samples-dev/gatewaysListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/gatewaysListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gatewaysListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/gatewaysListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/gatewaysListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/gatewaysListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gatewaysListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/gatewaysListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/gatewaysUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/gatewaysUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/gatewaysUpdateSample.js +40 -0
- package/dist-esm/samples-dev/gatewaysUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/licenseProfilesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/licenseProfilesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/licenseProfilesGetSample.js +1 -1
- package/dist-esm/samples-dev/licenseProfilesListSample.js +1 -1
- package/dist-esm/samples-dev/licenseProfilesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/licensesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/licensesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/licensesGetSample.js +1 -1
- package/dist-esm/samples-dev/licensesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/licensesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/licensesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/licensesValidateLicenseSample.js +1 -1
- package/dist-esm/samples-dev/machineExtensionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/machineExtensionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/machineExtensionsGetSample.js +1 -1
- package/dist-esm/samples-dev/machineExtensionsListSample.js +1 -1
- package/dist-esm/samples-dev/machineExtensionsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/machineRunCommandsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/machineRunCommandsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/machineRunCommandsCreateOrUpdateSample.js +53 -0
- package/dist-esm/samples-dev/machineRunCommandsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/machineRunCommandsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/machineRunCommandsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/machineRunCommandsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/machineRunCommandsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/machineRunCommandsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/machineRunCommandsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/machineRunCommandsGetSample.js +39 -0
- package/dist-esm/samples-dev/machineRunCommandsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/machineRunCommandsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/machineRunCommandsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/machineRunCommandsListSample.js +54 -0
- package/dist-esm/samples-dev/machineRunCommandsListSample.js.map +1 -0
- package/dist-esm/samples-dev/machinesAssessPatchesSample.js +1 -1
- package/dist-esm/samples-dev/machinesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/machinesGetSample.js +2 -2
- package/dist-esm/samples-dev/machinesInstallPatchesSample.js +1 -1
- package/dist-esm/samples-dev/machinesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/machinesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/networkProfileGetSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetByPrivateLinkScopeSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByPrivateLinkScopeSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileForPrivateLinkScopeSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesGetValidationDetailsForMachineSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesGetValidationDetailsSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +1 -1
- package/dist-esm/samples-dev/settingsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/settingsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/settingsGetSample.js +42 -0
- package/dist-esm/samples-dev/settingsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/settingsPatchSample.d.ts +2 -0
- package/dist-esm/samples-dev/settingsPatchSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/settingsPatchSample.js +45 -0
- package/dist-esm/samples-dev/settingsPatchSample.js.map +1 -0
- package/dist-esm/samples-dev/settingsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/settingsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/settingsUpdateSample.js +45 -0
- package/dist-esm/samples-dev/settingsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/upgradeExtensionsSample.js +1 -1
- package/dist-esm/src/hybridComputeManagementClient.d.ts +4 -1
- package/dist-esm/src/hybridComputeManagementClient.d.ts.map +1 -1
- package/dist-esm/src/hybridComputeManagementClient.js +6 -3
- package/dist-esm/src/hybridComputeManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +506 -14
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +24 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +29 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +987 -111
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +12 -2
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +99 -4
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/gateways.d.ts +99 -0
- package/dist-esm/src/operations/gateways.d.ts.map +1 -0
- package/dist-esm/src/operations/gateways.js +495 -0
- package/dist-esm/src/operations/gateways.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/machineExtensions.d.ts +2 -2
- package/dist-esm/src/operations/machineExtensions.js +2 -2
- package/dist-esm/src/operations/machineRunCommands.d.ts +81 -0
- package/dist-esm/src/operations/machineRunCommands.d.ts.map +1 -0
- package/dist-esm/src/operations/machineRunCommands.js +372 -0
- package/dist-esm/src/operations/machineRunCommands.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +1 -1
- package/dist-esm/src/operations/privateLinkScopes.js +1 -1
- package/dist-esm/src/operations/settingsOperations.d.ts +45 -0
- package/dist-esm/src/operations/settingsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/settingsOperations.js +163 -0
- package/dist-esm/src/operations/settingsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateways.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/gateways.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gateways.js +9 -0
- package/dist-esm/src/operationsInterfaces/gateways.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/machineRunCommands.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/machineRunCommands.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/machineRunCommands.js +9 -0
- package/dist-esm/src/operationsInterfaces/machineRunCommands.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/settingsOperations.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/settingsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/settingsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/settingsOperations.js.map +1 -0
- package/package.json +5 -3
- package/review/arm-hybridcompute.api.md +389 -0
- package/src/hybridComputeManagementClient.ts +14 -2
- package/src/models/index.ts +572 -14
- package/src/models/mappers.ts +1105 -150
- package/src/models/parameters.ts +112 -3
- package/src/operations/gateways.ts +641 -0
- package/src/operations/index.ts +3 -0
- package/src/operations/machineExtensions.ts +2 -2
- package/src/operations/machineRunCommands.ts +511 -0
- package/src/operations/privateEndpointConnections.ts +1 -1
- package/src/operations/privateLinkScopes.ts +1 -1
- package/src/operations/settingsOperations.ts +213 -0
- package/src/operationsInterfaces/gateways.ts +127 -0
- package/src/operationsInterfaces/index.ts +3 -0
- package/src/operationsInterfaces/machineExtensions.ts +2 -2
- package/src/operationsInterfaces/machineRunCommands.ts +115 -0
- package/src/operationsInterfaces/settingsOperations.ts +76 -0
- package/tsconfig.json +2 -2
- package/types/arm-hybridcompute.d.ts +712 -4
@@ -49,6 +49,19 @@ export interface AgentUpgrade {
|
|
49
49
|
readonly lastAttemptTimestamp?: Date;
|
50
50
|
}
|
51
51
|
|
52
|
+
// @public
|
53
|
+
export interface AgentVersion {
|
54
|
+
agentVersion?: string;
|
55
|
+
downloadLink?: string;
|
56
|
+
osType?: string;
|
57
|
+
}
|
58
|
+
|
59
|
+
// @public
|
60
|
+
export interface AgentVersionsList {
|
61
|
+
nextLink?: string;
|
62
|
+
value?: AgentVersion[];
|
63
|
+
}
|
64
|
+
|
52
65
|
// @public
|
53
66
|
export type ArcKindEnum = string;
|
54
67
|
|
@@ -91,6 +104,17 @@ export interface ConnectionDetail {
|
|
91
104
|
// @public
|
92
105
|
export type CreatedByType = string;
|
93
106
|
|
107
|
+
// @public
|
108
|
+
export interface Disk {
|
109
|
+
diskType?: string;
|
110
|
+
generatedId?: string;
|
111
|
+
id?: string;
|
112
|
+
maxSizeInBytes?: number;
|
113
|
+
name?: string;
|
114
|
+
path?: string;
|
115
|
+
usedSpaceInBytes?: number;
|
116
|
+
}
|
117
|
+
|
94
118
|
// @public
|
95
119
|
export interface ErrorAdditionalInfo {
|
96
120
|
readonly info?: Record<string, unknown>;
|
@@ -106,11 +130,25 @@ export interface ErrorDetail {
|
|
106
130
|
readonly target?: string;
|
107
131
|
}
|
108
132
|
|
133
|
+
// @public
|
134
|
+
export interface ErrorDetailAutoGenerated {
|
135
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
136
|
+
readonly code?: string;
|
137
|
+
readonly details?: ErrorDetailAutoGenerated[];
|
138
|
+
readonly message?: string;
|
139
|
+
readonly target?: string;
|
140
|
+
}
|
141
|
+
|
109
142
|
// @public
|
110
143
|
export interface ErrorResponse {
|
111
144
|
error?: ErrorDetail;
|
112
145
|
}
|
113
146
|
|
147
|
+
// @public
|
148
|
+
export interface ErrorResponseAutoGenerated {
|
149
|
+
error?: ErrorDetailAutoGenerated;
|
150
|
+
}
|
151
|
+
|
114
152
|
// @public
|
115
153
|
export type EsuEligibility = string;
|
116
154
|
|
@@ -126,6 +164,9 @@ export type EsuKeyState = string;
|
|
126
164
|
// @public
|
127
165
|
export type EsuServerType = string;
|
128
166
|
|
167
|
+
// @public
|
168
|
+
export type ExecutionState = string;
|
169
|
+
|
129
170
|
// @public
|
130
171
|
export interface ExtensionMetadata {
|
131
172
|
get(location: string, publisher: string, extensionType: string, version: string, options?: ExtensionMetadataGetOptionalParams): Promise<ExtensionMetadataGetResponse>;
|
@@ -175,9 +216,131 @@ export interface ExtensionValueListResult {
|
|
175
216
|
readonly value?: ExtensionValue[];
|
176
217
|
}
|
177
218
|
|
219
|
+
// @public
|
220
|
+
export interface FirmwareProfile {
|
221
|
+
readonly serialNumber?: string;
|
222
|
+
readonly type?: string;
|
223
|
+
}
|
224
|
+
|
225
|
+
// @public
|
226
|
+
export interface Gateway extends TrackedResourceAutoGenerated {
|
227
|
+
allowedFeatures?: string[];
|
228
|
+
readonly gatewayEndpoint?: string;
|
229
|
+
readonly gatewayId?: string;
|
230
|
+
gatewayType?: GatewayType;
|
231
|
+
readonly provisioningState?: ProvisioningState;
|
232
|
+
}
|
233
|
+
|
234
|
+
// @public
|
235
|
+
export interface Gateways {
|
236
|
+
beginCreateOrUpdate(resourceGroupName: string, gatewayName: string, parameters: Gateway, options?: GatewaysCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<GatewaysCreateOrUpdateResponse>, GatewaysCreateOrUpdateResponse>>;
|
237
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, gatewayName: string, parameters: Gateway, options?: GatewaysCreateOrUpdateOptionalParams): Promise<GatewaysCreateOrUpdateResponse>;
|
238
|
+
beginDelete(resourceGroupName: string, gatewayName: string, options?: GatewaysDeleteOptionalParams): Promise<SimplePollerLike<OperationState<GatewaysDeleteResponse>, GatewaysDeleteResponse>>;
|
239
|
+
beginDeleteAndWait(resourceGroupName: string, gatewayName: string, options?: GatewaysDeleteOptionalParams): Promise<GatewaysDeleteResponse>;
|
240
|
+
get(resourceGroupName: string, gatewayName: string, options?: GatewaysGetOptionalParams): Promise<GatewaysGetResponse>;
|
241
|
+
listByResourceGroup(resourceGroupName: string, options?: GatewaysListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Gateway>;
|
242
|
+
listBySubscription(options?: GatewaysListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Gateway>;
|
243
|
+
update(resourceGroupName: string, gatewayName: string, parameters: GatewayUpdate, options?: GatewaysUpdateOptionalParams): Promise<GatewaysUpdateResponse>;
|
244
|
+
}
|
245
|
+
|
246
|
+
// @public
|
247
|
+
export interface GatewaysCreateOrUpdateHeaders {
|
248
|
+
azureAsyncOperation?: string;
|
249
|
+
location?: string;
|
250
|
+
retryAfter?: number;
|
251
|
+
}
|
252
|
+
|
253
|
+
// @public
|
254
|
+
export interface GatewaysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
255
|
+
resumeFrom?: string;
|
256
|
+
updateIntervalInMs?: number;
|
257
|
+
}
|
258
|
+
|
259
|
+
// @public
|
260
|
+
export type GatewaysCreateOrUpdateResponse = Gateway;
|
261
|
+
|
262
|
+
// @public
|
263
|
+
export interface GatewaysDeleteHeaders {
|
264
|
+
azureAsyncOperation?: string;
|
265
|
+
location?: string;
|
266
|
+
retryAfter?: number;
|
267
|
+
}
|
268
|
+
|
269
|
+
// @public
|
270
|
+
export interface GatewaysDeleteOptionalParams extends coreClient.OperationOptions {
|
271
|
+
resumeFrom?: string;
|
272
|
+
updateIntervalInMs?: number;
|
273
|
+
}
|
274
|
+
|
275
|
+
// @public
|
276
|
+
export type GatewaysDeleteResponse = GatewaysDeleteHeaders;
|
277
|
+
|
278
|
+
// @public
|
279
|
+
export interface GatewaysGetOptionalParams extends coreClient.OperationOptions {
|
280
|
+
}
|
281
|
+
|
282
|
+
// @public
|
283
|
+
export type GatewaysGetResponse = Gateway;
|
284
|
+
|
285
|
+
// @public
|
286
|
+
export interface GatewaysListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
287
|
+
}
|
288
|
+
|
289
|
+
// @public
|
290
|
+
export type GatewaysListByResourceGroupNextResponse = GatewaysListResult;
|
291
|
+
|
292
|
+
// @public
|
293
|
+
export interface GatewaysListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
294
|
+
}
|
295
|
+
|
296
|
+
// @public
|
297
|
+
export type GatewaysListByResourceGroupResponse = GatewaysListResult;
|
298
|
+
|
299
|
+
// @public
|
300
|
+
export interface GatewaysListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
301
|
+
}
|
302
|
+
|
303
|
+
// @public
|
304
|
+
export type GatewaysListBySubscriptionNextResponse = GatewaysListResult;
|
305
|
+
|
306
|
+
// @public
|
307
|
+
export interface GatewaysListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
308
|
+
}
|
309
|
+
|
310
|
+
// @public
|
311
|
+
export type GatewaysListBySubscriptionResponse = GatewaysListResult;
|
312
|
+
|
313
|
+
// @public
|
314
|
+
export interface GatewaysListResult {
|
315
|
+
nextLink?: string;
|
316
|
+
value: Gateway[];
|
317
|
+
}
|
318
|
+
|
319
|
+
// @public
|
320
|
+
export interface GatewaysUpdateOptionalParams extends coreClient.OperationOptions {
|
321
|
+
}
|
322
|
+
|
323
|
+
// @public
|
324
|
+
export type GatewaysUpdateResponse = Gateway;
|
325
|
+
|
326
|
+
// @public
|
327
|
+
export type GatewayType = string;
|
328
|
+
|
329
|
+
// @public
|
330
|
+
export interface GatewayUpdate extends ResourceUpdate {
|
331
|
+
allowedFeatures?: string[];
|
332
|
+
}
|
333
|
+
|
178
334
|
// @public
|
179
335
|
export function getContinuationToken(page: unknown): string | undefined;
|
180
336
|
|
337
|
+
// @public
|
338
|
+
export interface HardwareProfile {
|
339
|
+
readonly numberOfCpuSockets?: number;
|
340
|
+
readonly processors?: Processor[];
|
341
|
+
readonly totalPhysicalMemoryInBytes?: number;
|
342
|
+
}
|
343
|
+
|
181
344
|
// @public
|
182
345
|
export type HotpatchEnablementStatus = string;
|
183
346
|
|
@@ -193,12 +356,16 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {
|
|
193
356
|
// (undocumented)
|
194
357
|
extensionMetadata: ExtensionMetadata;
|
195
358
|
// (undocumented)
|
359
|
+
gateways: Gateways;
|
360
|
+
// (undocumented)
|
196
361
|
licenseProfiles: LicenseProfiles;
|
197
362
|
// (undocumented)
|
198
363
|
licenses: Licenses;
|
199
364
|
// (undocumented)
|
200
365
|
machineExtensions: MachineExtensions;
|
201
366
|
// (undocumented)
|
367
|
+
machineRunCommands: MachineRunCommands;
|
368
|
+
// (undocumented)
|
202
369
|
machines: Machines;
|
203
370
|
// (undocumented)
|
204
371
|
networkProfileOperations: NetworkProfileOperations;
|
@@ -213,6 +380,8 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {
|
|
213
380
|
// (undocumented)
|
214
381
|
privateLinkScopes: PrivateLinkScopes;
|
215
382
|
// (undocumented)
|
383
|
+
settingsOperations: SettingsOperations;
|
384
|
+
// (undocumented)
|
216
385
|
subscriptionId: string;
|
217
386
|
}
|
218
387
|
|
@@ -250,6 +419,19 @@ export interface HybridComputePrivateLinkScopeProperties {
|
|
250
419
|
publicNetworkAccess?: PublicNetworkAccessType;
|
251
420
|
}
|
252
421
|
|
422
|
+
// @public
|
423
|
+
export interface HybridIdentityMetadata extends ProxyResourceAutoGenerated {
|
424
|
+
readonly identity?: Identity;
|
425
|
+
publicKey?: string;
|
426
|
+
vmId?: string;
|
427
|
+
}
|
428
|
+
|
429
|
+
// @public
|
430
|
+
export interface HybridIdentityMetadataList {
|
431
|
+
nextLink?: string;
|
432
|
+
value: HybridIdentityMetadata[];
|
433
|
+
}
|
434
|
+
|
253
435
|
// @public
|
254
436
|
export interface Identity {
|
255
437
|
readonly principalId?: string;
|
@@ -343,6 +525,22 @@ export enum KnownEsuServerType {
|
|
343
525
|
Standard = "Standard"
|
344
526
|
}
|
345
527
|
|
528
|
+
// @public
|
529
|
+
export enum KnownExecutionState {
|
530
|
+
Canceled = "Canceled",
|
531
|
+
Failed = "Failed",
|
532
|
+
Pending = "Pending",
|
533
|
+
Running = "Running",
|
534
|
+
Succeeded = "Succeeded",
|
535
|
+
TimedOut = "TimedOut",
|
536
|
+
Unknown = "Unknown"
|
537
|
+
}
|
538
|
+
|
539
|
+
// @public
|
540
|
+
export enum KnownGatewayType {
|
541
|
+
Public = "Public"
|
542
|
+
}
|
543
|
+
|
346
544
|
// @public
|
347
545
|
export enum KnownHotpatchEnablementStatus {
|
348
546
|
ActionRequired = "ActionRequired",
|
@@ -899,6 +1097,8 @@ export interface Machine extends TrackedResource {
|
|
899
1097
|
readonly domainName?: string;
|
900
1098
|
readonly errorDetails?: ErrorDetail[];
|
901
1099
|
extensions?: MachineExtensionInstanceView[];
|
1100
|
+
readonly firmwareProfile?: FirmwareProfile;
|
1101
|
+
readonly hardwareProfile?: HardwareProfile;
|
902
1102
|
identity?: Identity;
|
903
1103
|
kind?: ArcKindEnum;
|
904
1104
|
readonly lastStatusChange?: Date;
|
@@ -919,6 +1119,7 @@ export interface Machine extends TrackedResource {
|
|
919
1119
|
readonly resources?: MachineExtension[];
|
920
1120
|
serviceStatuses?: ServiceStatuses;
|
921
1121
|
readonly status?: StatusTypes;
|
1122
|
+
readonly storageProfile?: StorageProfile;
|
922
1123
|
vmId?: string;
|
923
1124
|
readonly vmUuid?: string;
|
924
1125
|
}
|
@@ -1111,6 +1312,117 @@ export interface MachineListResult {
|
|
1111
1312
|
value: Machine[];
|
1112
1313
|
}
|
1113
1314
|
|
1315
|
+
// @public
|
1316
|
+
export interface MachineRunCommand extends TrackedResource {
|
1317
|
+
asyncExecution?: boolean;
|
1318
|
+
errorBlobManagedIdentity?: RunCommandManagedIdentity;
|
1319
|
+
errorBlobUri?: string;
|
1320
|
+
readonly instanceView?: MachineRunCommandInstanceView;
|
1321
|
+
outputBlobManagedIdentity?: RunCommandManagedIdentity;
|
1322
|
+
outputBlobUri?: string;
|
1323
|
+
parameters?: RunCommandInputParameter[];
|
1324
|
+
protectedParameters?: RunCommandInputParameter[];
|
1325
|
+
readonly provisioningState?: string;
|
1326
|
+
runAsPassword?: string;
|
1327
|
+
runAsUser?: string;
|
1328
|
+
source?: MachineRunCommandScriptSource;
|
1329
|
+
timeoutInSeconds?: number;
|
1330
|
+
}
|
1331
|
+
|
1332
|
+
// @public
|
1333
|
+
export interface MachineRunCommandInstanceView {
|
1334
|
+
endTime?: Date;
|
1335
|
+
error?: string;
|
1336
|
+
executionMessage?: string;
|
1337
|
+
executionState?: ExecutionState;
|
1338
|
+
exitCode?: number;
|
1339
|
+
output?: string;
|
1340
|
+
startTime?: Date;
|
1341
|
+
statuses?: ExtensionsResourceStatus[];
|
1342
|
+
}
|
1343
|
+
|
1344
|
+
// @public
|
1345
|
+
export interface MachineRunCommands {
|
1346
|
+
beginCreateOrUpdate(resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MachineRunCommandsCreateOrUpdateResponse>, MachineRunCommandsCreateOrUpdateResponse>>;
|
1347
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, machineName: string, runCommandName: string, runCommandProperties: MachineRunCommand, options?: MachineRunCommandsCreateOrUpdateOptionalParams): Promise<MachineRunCommandsCreateOrUpdateResponse>;
|
1348
|
+
beginDelete(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MachineRunCommandsDeleteResponse>, MachineRunCommandsDeleteResponse>>;
|
1349
|
+
beginDeleteAndWait(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsDeleteOptionalParams): Promise<MachineRunCommandsDeleteResponse>;
|
1350
|
+
get(resourceGroupName: string, machineName: string, runCommandName: string, options?: MachineRunCommandsGetOptionalParams): Promise<MachineRunCommandsGetResponse>;
|
1351
|
+
list(resourceGroupName: string, machineName: string, options?: MachineRunCommandsListOptionalParams): PagedAsyncIterableIterator<MachineRunCommand>;
|
1352
|
+
}
|
1353
|
+
|
1354
|
+
// @public
|
1355
|
+
export interface MachineRunCommandsCreateOrUpdateHeaders {
|
1356
|
+
azureAsyncOperation?: string;
|
1357
|
+
location?: string;
|
1358
|
+
retryAfter?: number;
|
1359
|
+
}
|
1360
|
+
|
1361
|
+
// @public
|
1362
|
+
export interface MachineRunCommandsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
1363
|
+
resumeFrom?: string;
|
1364
|
+
updateIntervalInMs?: number;
|
1365
|
+
}
|
1366
|
+
|
1367
|
+
// @public
|
1368
|
+
export type MachineRunCommandsCreateOrUpdateResponse = MachineRunCommand;
|
1369
|
+
|
1370
|
+
// @public
|
1371
|
+
export interface MachineRunCommandScriptSource {
|
1372
|
+
commandId?: string;
|
1373
|
+
script?: string;
|
1374
|
+
scriptUri?: string;
|
1375
|
+
scriptUriManagedIdentity?: RunCommandManagedIdentity;
|
1376
|
+
}
|
1377
|
+
|
1378
|
+
// @public
|
1379
|
+
export interface MachineRunCommandsDeleteHeaders {
|
1380
|
+
azureAsyncOperation?: string;
|
1381
|
+
location?: string;
|
1382
|
+
retryAfter?: number;
|
1383
|
+
}
|
1384
|
+
|
1385
|
+
// @public
|
1386
|
+
export interface MachineRunCommandsDeleteOptionalParams extends coreClient.OperationOptions {
|
1387
|
+
resumeFrom?: string;
|
1388
|
+
updateIntervalInMs?: number;
|
1389
|
+
}
|
1390
|
+
|
1391
|
+
// @public
|
1392
|
+
export type MachineRunCommandsDeleteResponse = MachineRunCommandsDeleteHeaders;
|
1393
|
+
|
1394
|
+
// @public
|
1395
|
+
export interface MachineRunCommandsGetOptionalParams extends coreClient.OperationOptions {
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
// @public
|
1399
|
+
export type MachineRunCommandsGetResponse = MachineRunCommand;
|
1400
|
+
|
1401
|
+
// @public
|
1402
|
+
export interface MachineRunCommandsListNextOptionalParams extends coreClient.OperationOptions {
|
1403
|
+
}
|
1404
|
+
|
1405
|
+
// @public
|
1406
|
+
export type MachineRunCommandsListNextResponse = MachineRunCommandsListResult;
|
1407
|
+
|
1408
|
+
// @public
|
1409
|
+
export interface MachineRunCommandsListOptionalParams extends coreClient.OperationOptions {
|
1410
|
+
expand?: string;
|
1411
|
+
}
|
1412
|
+
|
1413
|
+
// @public
|
1414
|
+
export type MachineRunCommandsListResponse = MachineRunCommandsListResult;
|
1415
|
+
|
1416
|
+
// @public
|
1417
|
+
export interface MachineRunCommandsListResult {
|
1418
|
+
nextLink?: string;
|
1419
|
+
value?: MachineRunCommand[];
|
1420
|
+
}
|
1421
|
+
|
1422
|
+
// @public
|
1423
|
+
export interface MachineRunCommandUpdate extends ResourceUpdate {
|
1424
|
+
}
|
1425
|
+
|
1114
1426
|
// @public
|
1115
1427
|
export interface Machines {
|
1116
1428
|
beginAssessPatches(resourceGroupName: string, name: string, options?: MachinesAssessPatchesOptionalParams): Promise<SimplePollerLike<OperationState<MachinesAssessPatchesResponse>, MachinesAssessPatchesResponse>>;
|
@@ -1204,9 +1516,21 @@ export interface MachineUpdate extends ResourceUpdate {
|
|
1204
1516
|
privateLinkScopeResourceId?: string;
|
1205
1517
|
}
|
1206
1518
|
|
1519
|
+
// @public (undocumented)
|
1520
|
+
export interface NetworkConfiguration extends ProxyResourceAutoGenerated {
|
1521
|
+
readonly keyProperties?: KeyProperties;
|
1522
|
+
location?: string;
|
1523
|
+
networkConfigurationScopeId?: string;
|
1524
|
+
networkConfigurationScopeResourceId?: string;
|
1525
|
+
readonly tenantId?: string;
|
1526
|
+
}
|
1527
|
+
|
1207
1528
|
// @public
|
1208
1529
|
export interface NetworkInterface {
|
1530
|
+
id?: string;
|
1209
1531
|
ipAddresses?: IpAddress[];
|
1532
|
+
macAddress?: string;
|
1533
|
+
name?: string;
|
1210
1534
|
}
|
1211
1535
|
|
1212
1536
|
// @public
|
@@ -1631,6 +1955,12 @@ export interface PrivateLinkServiceConnectionStateProperty {
|
|
1631
1955
|
status: string;
|
1632
1956
|
}
|
1633
1957
|
|
1958
|
+
// @public
|
1959
|
+
export interface Processor {
|
1960
|
+
readonly name?: string;
|
1961
|
+
readonly numberOfCores?: number;
|
1962
|
+
}
|
1963
|
+
|
1634
1964
|
// @public
|
1635
1965
|
export interface ProductFeature {
|
1636
1966
|
readonly billingEndDate?: Date;
|
@@ -1710,6 +2040,18 @@ export interface ResourceUpdate {
|
|
1710
2040
|
};
|
1711
2041
|
}
|
1712
2042
|
|
2043
|
+
// @public
|
2044
|
+
export interface RunCommandInputParameter {
|
2045
|
+
name: string;
|
2046
|
+
value: string;
|
2047
|
+
}
|
2048
|
+
|
2049
|
+
// @public
|
2050
|
+
export interface RunCommandManagedIdentity {
|
2051
|
+
clientId?: string;
|
2052
|
+
objectId?: string;
|
2053
|
+
}
|
2054
|
+
|
1713
2055
|
// @public
|
1714
2056
|
export interface ServiceStatus {
|
1715
2057
|
startupType?: string;
|
@@ -1722,12 +2064,51 @@ export interface ServiceStatuses {
|
|
1722
2064
|
guestConfigurationService?: ServiceStatus;
|
1723
2065
|
}
|
1724
2066
|
|
2067
|
+
// @public (undocumented)
|
2068
|
+
export interface Settings extends ProxyResourceAutoGenerated {
|
2069
|
+
gatewayResourceId?: string;
|
2070
|
+
readonly tenantId?: string;
|
2071
|
+
}
|
2072
|
+
|
2073
|
+
// @public
|
2074
|
+
export interface SettingsGetOptionalParams extends coreClient.OperationOptions {
|
2075
|
+
}
|
2076
|
+
|
2077
|
+
// @public
|
2078
|
+
export type SettingsGetResponse = Settings;
|
2079
|
+
|
2080
|
+
// @public
|
2081
|
+
export interface SettingsOperations {
|
2082
|
+
get(resourceGroupName: string, baseProvider: string, baseResourceType: string, baseResourceName: string, settingsResourceName: string, options?: SettingsGetOptionalParams): Promise<SettingsGetResponse>;
|
2083
|
+
patch(resourceGroupName: string, baseProvider: string, baseResourceType: string, baseResourceName: string, settingsResourceName: string, parameters: Settings, options?: SettingsPatchOptionalParams): Promise<SettingsPatchResponse>;
|
2084
|
+
update(resourceGroupName: string, baseProvider: string, baseResourceType: string, baseResourceName: string, settingsResourceName: string, parameters: Settings, options?: SettingsUpdateOptionalParams): Promise<SettingsUpdateResponse>;
|
2085
|
+
}
|
2086
|
+
|
2087
|
+
// @public
|
2088
|
+
export interface SettingsPatchOptionalParams extends coreClient.OperationOptions {
|
2089
|
+
}
|
2090
|
+
|
2091
|
+
// @public
|
2092
|
+
export type SettingsPatchResponse = Settings;
|
2093
|
+
|
2094
|
+
// @public
|
2095
|
+
export interface SettingsUpdateOptionalParams extends coreClient.OperationOptions {
|
2096
|
+
}
|
2097
|
+
|
2098
|
+
// @public
|
2099
|
+
export type SettingsUpdateResponse = Settings;
|
2100
|
+
|
1725
2101
|
// @public
|
1726
2102
|
export type StatusLevelTypes = string;
|
1727
2103
|
|
1728
2104
|
// @public
|
1729
2105
|
export type StatusTypes = string;
|
1730
2106
|
|
2107
|
+
// @public
|
2108
|
+
export interface StorageProfile {
|
2109
|
+
disks?: Disk[];
|
2110
|
+
}
|
2111
|
+
|
1731
2112
|
// @public
|
1732
2113
|
export interface Subnet {
|
1733
2114
|
addressPrefix?: string;
|
@@ -1758,6 +2139,14 @@ export interface TrackedResource extends Resource {
|
|
1758
2139
|
};
|
1759
2140
|
}
|
1760
2141
|
|
2142
|
+
// @public
|
2143
|
+
export interface TrackedResourceAutoGenerated extends ResourceAutoGenerated {
|
2144
|
+
location: string;
|
2145
|
+
tags?: {
|
2146
|
+
[propertyName: string]: string;
|
2147
|
+
};
|
2148
|
+
}
|
2149
|
+
|
1761
2150
|
// @public
|
1762
2151
|
export interface UpgradeExtensionsOptionalParams extends coreClient.OperationOptions {
|
1763
2152
|
resumeFrom?: string;
|
@@ -28,6 +28,9 @@ import {
|
|
28
28
|
ExtensionMetadataImpl,
|
29
29
|
OperationsImpl,
|
30
30
|
NetworkProfileOperationsImpl,
|
31
|
+
MachineRunCommandsImpl,
|
32
|
+
GatewaysImpl,
|
33
|
+
SettingsOperationsImpl,
|
31
34
|
PrivateLinkScopesImpl,
|
32
35
|
PrivateLinkResourcesImpl,
|
33
36
|
PrivateEndpointConnectionsImpl,
|
@@ -41,6 +44,9 @@ import {
|
|
41
44
|
ExtensionMetadata,
|
42
45
|
Operations,
|
43
46
|
NetworkProfileOperations,
|
47
|
+
MachineRunCommands,
|
48
|
+
Gateways,
|
49
|
+
SettingsOperations,
|
44
50
|
PrivateLinkScopes,
|
45
51
|
PrivateLinkResources,
|
46
52
|
PrivateEndpointConnections,
|
@@ -86,7 +92,7 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {
|
|
86
92
|
credential: credentials,
|
87
93
|
};
|
88
94
|
|
89
|
-
const packageDetails = `azsdk-js-arm-hybridcompute/4.0.1`;
|
95
|
+
const packageDetails = `azsdk-js-arm-hybridcompute/4.1.0-beta.1`;
|
90
96
|
const userAgentPrefix =
|
91
97
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
92
98
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
@@ -140,7 +146,7 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {
|
|
140
146
|
|
141
147
|
// Assigning values to Constant parameters
|
142
148
|
this.$host = options.$host || "https://management.azure.com";
|
143
|
-
this.apiVersion = options.apiVersion || "2024-07-
|
149
|
+
this.apiVersion = options.apiVersion || "2024-07-31-preview";
|
144
150
|
this.licenses = new LicensesImpl(this);
|
145
151
|
this.machines = new MachinesImpl(this);
|
146
152
|
this.licenseProfiles = new LicenseProfilesImpl(this);
|
@@ -148,6 +154,9 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {
|
|
148
154
|
this.extensionMetadata = new ExtensionMetadataImpl(this);
|
149
155
|
this.operations = new OperationsImpl(this);
|
150
156
|
this.networkProfileOperations = new NetworkProfileOperationsImpl(this);
|
157
|
+
this.machineRunCommands = new MachineRunCommandsImpl(this);
|
158
|
+
this.gateways = new GatewaysImpl(this);
|
159
|
+
this.settingsOperations = new SettingsOperationsImpl(this);
|
151
160
|
this.privateLinkScopes = new PrivateLinkScopesImpl(this);
|
152
161
|
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
153
162
|
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
@@ -282,6 +291,9 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {
|
|
282
291
|
extensionMetadata: ExtensionMetadata;
|
283
292
|
operations: Operations;
|
284
293
|
networkProfileOperations: NetworkProfileOperations;
|
294
|
+
machineRunCommands: MachineRunCommands;
|
295
|
+
gateways: Gateways;
|
296
|
+
settingsOperations: SettingsOperations;
|
285
297
|
privateLinkScopes: PrivateLinkScopes;
|
286
298
|
privateLinkResources: PrivateLinkResources;
|
287
299
|
privateEndpointConnections: PrivateEndpointConnections;
|