Skip to content

Commit e94dd17

Browse files
author
SDKAuto
committed
CodeGen from PR 18458 in Azure/azure-rest-api-specs
Merge c4fa2377729de4d116d31ee7f83389957ad6c174 into 18a8f9df1c94fdbdac9492099013bb6656d3c95a
1 parent e4ae515 commit e94dd17

File tree

11 files changed

+820
-151
lines changed

11 files changed

+820
-151
lines changed

sdk/hybridcompute/arm-hybridcompute/CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Release History
22

3+
## 3.1.0 (2022-04-08)
4+
5+
**Features**
6+
7+
- Added Interface AgentConfiguration
8+
- Added Interface CloudMetadata
9+
- Added Interface ConfigurationExtension
10+
- Added Interface OSProfileLinuxConfiguration
11+
- Added Interface OSProfileWindowsConfiguration
12+
- Added Interface PrivateEndpointConnectionDataModel
13+
- Added Interface ServiceStatus
14+
- Added Interface ServiceStatuses
15+
- Added Type Alias AssessmentModeTypes
16+
- Added Type Alias PatchModeTypes
17+
- Interface HybridComputePrivateLinkScopeProperties has a new optional parameter privateEndpointConnections
18+
- Interface MachineExtensionProperties has a new optional parameter enableAutomaticUpgrade
19+
- Interface MachineProperties has a new optional parameter agentConfiguration
20+
- Interface MachineProperties has a new optional parameter cloudMetadata
21+
- Interface MachineProperties has a new optional parameter mssqlDiscovered
22+
- Interface MachineProperties has a new optional parameter osType
23+
- Interface MachineProperties has a new optional parameter serviceStatuses
24+
- Interface MachineUpdateProperties has a new optional parameter cloudMetadata
25+
- Interface MachineUpdateProperties has a new optional parameter osProfile
26+
- Interface OperationValue has a new optional parameter isDataAction
27+
- Interface OSProfile has a new optional parameter linuxConfiguration
28+
- Interface OSProfile has a new optional parameter windowsConfiguration
29+
- Interface PrivateEndpointConnectionProperties has a new optional parameter groupIds
30+
- Added Enum KnownAssessmentModeTypes
31+
- Added Enum KnownPatchModeTypes
32+
33+
334
## 3.0.0 (2022-01-18)
435

536
The package of @azure/arm-hybridcompute is using our next generation design principles since version 3.0.0, which contains breaking changes.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"commit": "d29e6eb4894005c52e67cb4b5ac3faf031113e7d",
2+
"commit": "b8dc8fdefbe4517c0365688a2ace8b30737bde08",
33
"readme": "specification/hybridcompute/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/hybridcompute/resource-manager/readme.md --use=@autorest/[email protected].20220114.1 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/hybridcompute/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/[email protected]"
6+
"release_tool": "@azure-tools/[email protected]",
7+
"use": "@autorest/[email protected]"
78
}
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
33
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4-
"docModel": { "enabled": true },
5-
"apiReport": { "enabled": true, "reportFolder": "./review" },
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
611
"dtsRollup": {
712
"enabled": true,
813
"untrimmedFilePath": "",
914
"publicTrimmedFilePath": "./types/arm-hybridcompute.d.ts"
1015
},
1116
"messages": {
12-
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
1322
"extractorMessageReporting": {
14-
"ae-missing-release-tag": { "logLevel": "none" },
15-
"ae-unresolved-link": { "logLevel": "none" }
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
1629
}
1730
}
18-
}
31+
}

sdk/hybridcompute/arm-hybridcompute/package.json

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for HybridComputeManagementClient.",
6-
"version": "3.0.0",
7-
"engines": { "node": ">=12.0.0" },
6+
"version": "3.1.0",
7+
"engines": {
8+
"node": ">=12.0.0"
9+
},
810
"dependencies": {
911
"@azure/core-lro": "^2.2.0",
1012
"@azure/abort-controller": "^1.0.0",
@@ -14,7 +16,13 @@
1416
"@azure/core-rest-pipeline": "^1.1.0",
1517
"tslib": "^2.2.0"
1618
},
17-
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
19+
"keywords": [
20+
"node",
21+
"azure",
22+
"typescript",
23+
"browser",
24+
"isomorphic"
25+
],
1826
"license": "MIT",
1927
"main": "./dist/index.js",
2028
"module": "./dist-esm/src/index.js",
@@ -41,7 +49,9 @@
4149
"type": "git",
4250
"url": "https://github.com/Azure/azure-sdk-for-js.git"
4351
},
44-
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
52+
"bugs": {
53+
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
54+
},
4555
"files": [
4656
"dist/**/*.js",
4757
"dist/**/*.js.map",
@@ -88,19 +98,5 @@
8898
"docs": "echo skipped"
8999
},
90100
"sideEffects": false,
91-
"//metadata": {
92-
"constantPaths": [
93-
{
94-
"path": "src/HybridComputeManagementClient.ts",
95-
"prefix": "packageDetails"
96-
}
97-
]
98-
},
99-
"autoPublish": true,
100-
"//sampleConfiguration": {
101-
"productName": "",
102-
"productSlugs": ["azure"],
103-
"disableDocsMs": true,
104-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-hybridcompute?view=azure-node-preview"
105-
}
106-
}
101+
"autoPublish": true
102+
}

sdk/hybridcompute/arm-hybridcompute/review/arm-hybridcompute.api.md

Lines changed: 94 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,31 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
1010
import { PollerLike } from '@azure/core-lro';
1111
import { PollOperationState } from '@azure/core-lro';
1212

13+
// @public
14+
export interface AgentConfiguration {
15+
readonly extensionsAllowList?: ConfigurationExtension[];
16+
readonly extensionsBlockList?: ConfigurationExtension[];
17+
readonly extensionsEnabled?: string;
18+
readonly guestConfigurationEnabled?: string;
19+
readonly incomingConnectionsPorts?: string[];
20+
readonly proxyBypass?: string[];
21+
readonly proxyUrl?: string;
22+
}
23+
24+
// @public
25+
export type AssessmentModeTypes = string;
26+
27+
// @public
28+
export interface CloudMetadata {
29+
readonly provider?: string;
30+
}
31+
32+
// @public
33+
export interface ConfigurationExtension {
34+
readonly publisher?: string;
35+
readonly type?: string;
36+
}
37+
1338
// @public (undocumented)
1439
export interface ConnectionDetail {
1540
readonly groupId?: string;
@@ -93,6 +118,7 @@ export interface HybridComputePrivateLinkScopeListResult {
93118

94119
// @public
95120
export interface HybridComputePrivateLinkScopeProperties {
121+
readonly privateEndpointConnections?: PrivateEndpointConnectionDataModel[];
96122
readonly privateLinkScopeId?: string;
97123
readonly provisioningState?: string;
98124
publicNetworkAccess?: PublicNetworkAccessType;
@@ -108,6 +134,14 @@ export interface Identity {
108134
// @public
109135
export type InstanceViewTypes = string;
110136

137+
// @public
138+
export enum KnownAssessmentModeTypes {
139+
// (undocumented)
140+
AutomaticByPlatform = "AutomaticByPlatform",
141+
// (undocumented)
142+
ImageDefault = "ImageDefault"
143+
}
144+
111145
// @public
112146
export enum KnownCreatedByType {
113147
// (undocumented)
@@ -126,6 +160,18 @@ export enum KnownInstanceViewTypes {
126160
InstanceView = "instanceView"
127161
}
128162

163+
// @public
164+
export enum KnownPatchModeTypes {
165+
// (undocumented)
166+
AutomaticByOS = "AutomaticByOS",
167+
// (undocumented)
168+
AutomaticByPlatform = "AutomaticByPlatform",
169+
// (undocumented)
170+
ImageDefault = "ImageDefault",
171+
// (undocumented)
172+
Manual = "Manual"
173+
}
174+
129175
// @public
130176
export enum KnownPublicNetworkAccessType {
131177
Disabled = "Disabled",
@@ -193,6 +239,7 @@ export interface MachineExtensionInstanceViewStatus {
193239
// @public
194240
export interface MachineExtensionProperties {
195241
autoUpgradeMinorVersion?: boolean;
242+
enableAutomaticUpgrade?: boolean;
196243
forceUpdateTag?: string;
197244
instanceView?: MachineExtensionInstanceView;
198245
protectedSettings?: Record<string, unknown>;
@@ -300,8 +347,10 @@ export interface MachineListResult {
300347
// @public
301348
export interface MachineProperties {
302349
readonly adFqdn?: string;
350+
readonly agentConfiguration?: AgentConfiguration;
303351
readonly agentVersion?: string;
304352
clientPublicKey?: string;
353+
cloudMetadata?: CloudMetadata;
305354
readonly detectedProperties?: {
306355
[propertyName: string]: string;
307356
};
@@ -313,13 +362,16 @@ export interface MachineProperties {
313362
readonly lastStatusChange?: Date;
314363
locationData?: LocationData;
315364
readonly machineFqdn?: string;
365+
mssqlDiscovered?: string;
316366
readonly osName?: string;
317-
readonly osProfile?: OSProfile;
367+
osProfile?: OSProfile;
318368
readonly osSku?: string;
369+
osType?: string;
319370
readonly osVersion?: string;
320371
parentClusterResourceId?: string;
321372
privateLinkScopeResourceId?: string;
322373
readonly provisioningState?: string;
374+
serviceStatuses?: ServiceStatuses;
323375
readonly status?: StatusTypes;
324376
vmId?: string;
325377
readonly vmUuid?: string;
@@ -381,7 +433,9 @@ export type MachineUpdate = ResourceUpdate & {
381433

382434
// @public
383435
export interface MachineUpdateProperties {
436+
cloudMetadata?: CloudMetadata;
384437
locationData?: LocationData;
438+
osProfile?: OSProfile;
385439
parentClusterResourceId?: string;
386440
privateLinkScopeResourceId?: string;
387441
}
@@ -406,6 +460,7 @@ export type OperationsListResponse = OperationListResult;
406460
// @public
407461
export interface OperationValue {
408462
display?: OperationValueDisplay;
463+
readonly isDataAction?: boolean;
409464
readonly name?: string;
410465
readonly origin?: string;
411466
}
@@ -421,14 +476,39 @@ export interface OperationValueDisplay {
421476
// @public
422477
export interface OSProfile {
423478
readonly computerName?: string;
479+
linuxConfiguration?: OSProfileLinuxConfiguration;
480+
windowsConfiguration?: OSProfileWindowsConfiguration;
481+
}
482+
483+
// @public
484+
export interface OSProfileLinuxConfiguration {
485+
assessmentMode?: AssessmentModeTypes;
486+
patchMode?: PatchModeTypes;
487+
}
488+
489+
// @public
490+
export interface OSProfileWindowsConfiguration {
491+
assessmentMode?: AssessmentModeTypes;
492+
patchMode?: PatchModeTypes;
424493
}
425494

495+
// @public
496+
export type PatchModeTypes = string;
497+
426498
// @public
427499
export type PrivateEndpointConnection = ProxyResource & {
428500
properties?: PrivateEndpointConnectionProperties;
429501
readonly systemData?: SystemData;
430502
};
431503

504+
// @public
505+
export interface PrivateEndpointConnectionDataModel {
506+
readonly id?: string;
507+
readonly name?: string;
508+
properties?: PrivateEndpointConnectionProperties;
509+
readonly type?: string;
510+
}
511+
432512
// @public
433513
export interface PrivateEndpointConnectionListResult {
434514
readonly nextLink?: string;
@@ -437,6 +517,7 @@ export interface PrivateEndpointConnectionListResult {
437517

438518
// @public
439519
export interface PrivateEndpointConnectionProperties {
520+
readonly groupIds?: string[];
440521
privateEndpoint?: PrivateEndpointProperty;
441522
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
442523
readonly provisioningState?: string;
@@ -666,6 +747,18 @@ export interface ResourceUpdate {
666747
};
667748
}
668749

750+
// @public
751+
export interface ServiceStatus {
752+
startupType?: string;
753+
state?: string;
754+
}
755+
756+
// @public
757+
export interface ServiceStatuses {
758+
extensionService?: ServiceStatus;
759+
guestConfigurationService?: ServiceStatus;
760+
}
761+
669762
// @public
670763
export type StatusLevelTypes = string;
671764

sdk/hybridcompute/arm-hybridcompute/src/hybridComputeManagementClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {
6666
credential: credentials
6767
};
6868

69-
const packageDetails = `azsdk-js-arm-hybridcompute/3.0.0`;
69+
const packageDetails = `azsdk-js-arm-hybridcompute/3.1.0`;
7070
const userAgentPrefix =
7171
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
7272
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -89,7 +89,7 @@ export class HybridComputeManagementClient extends coreClient.ServiceClient {
8989

9090
// Assigning values to Constant parameters
9191
this.$host = options.$host || "https://management.azure.com";
92-
this.apiVersion = options.apiVersion || "2021-05-20";
92+
this.apiVersion = options.apiVersion || "2022-03-10";
9393
this.machines = new MachinesImpl(this);
9494
this.machineExtensions = new MachineExtensionsImpl(this);
9595
this.operations = new OperationsImpl(this);

0 commit comments

Comments
 (0)