Skip to content

Commit e5aaca6

Browse files
author
SDKAuto
committed
CodeGen from PR 22076 in Azure/azure-rest-api-specs
Merge c7dab5ea90563867301aa50d21ca51facd51c2e1 into 18d6e40325d28de8a69db60f07319bce877fb424
1 parent 5a411f5 commit e5aaca6

File tree

12 files changed

+270
-44
lines changed

12 files changed

+270
-44
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/CHANGELOG.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
# Release History
2+
3+
## 5.1.0 (2023-02-15)
4+
5+
**Features**
26

3-
## 5.0.2 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added Interface VMwareCbtSecurityProfileProperties
8+
- Added Type Alias SecurityType
9+
- Interface VMwareCbtEnableMigrationInput has a new optional parameter confidentialVmKeyVaultId
10+
- Interface VMwareCbtEnableMigrationInput has a new optional parameter targetVmSecurityProfile
11+
- Interface VMwareCbtMigrateInput has a new optional parameter osUpgradeVersion
12+
- Interface VMwareCbtMigrationDetails has a new optional parameter confidentialVmKeyVaultId
13+
- Interface VMwareCbtMigrationDetails has a new optional parameter osName
14+
- Interface VMwareCbtMigrationDetails has a new optional parameter supportedOSVersions
15+
- Interface VMwareCbtMigrationDetails has a new optional parameter targetVmSecurityProfile
16+
- Interface VMwareCbtProtectionContainerMappingDetails has a new optional parameter excludedSkus
17+
- Interface VMwareCbtTestMigrateInput has a new optional parameter osUpgradeVersion
18+
- Added Enum KnownSecurityType
19+
1320
## 5.0.1 (2023-01-05)
1421

1522
**Migration Guide**

sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2022 Microsoft
3+
Copyright (c) 2023 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "1be09531e4c6edeafde41d6562371566d39669e8",
2+
"commit": "942e96a9d4b3252ce839afc25ac17a0b44ce7b98",
33
"readme": "specification/recoveryservicessiterecovery/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\recoveryservicessiterecovery\\resource-manager\\readme.md --use=@autorest/[email protected].4 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --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/recoveryservicessiterecovery/resource-manager/readme.md --use=@autorest/[email protected].5",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.2",
7-
"use": "@autorest/[email protected].4"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
7+
"use": "@autorest/[email protected].5"
88
}

sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for SiteRecoveryManagementClient.",
6-
"version": "5.0.2",
6+
"version": "5.1.0",
77
"engines": {
88
"node": ">=14.0.0"
99
},
@@ -29,9 +29,9 @@
2929
"types": "./types/arm-recoveryservices-siterecovery.d.ts",
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.31.1",
32-
"@rollup/plugin-commonjs": "^24.0.0",
33-
"@rollup/plugin-json": "^6.0.0",
34-
"@rollup/plugin-multi-entry": "^6.0.0",
32+
"@rollup/plugin-commonjs": "^21.0.1",
33+
"@rollup/plugin-json": "^4.1.0",
34+
"@rollup/plugin-multi-entry": "^4.1.0",
3535
"@rollup/plugin-node-resolve": "^13.1.3",
3636
"mkdirp": "^1.0.4",
3737
"rollup": "^2.66.1",
@@ -110,13 +110,5 @@
110110
}
111111
]
112112
},
113-
"autoPublish": true,
114-
"//sampleConfiguration": {
115-
"productName": "",
116-
"productSlugs": [
117-
"azure"
118-
],
119-
"disableDocsMs": true,
120-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-recoveryservices-siterecovery?view=azure-node-preview"
121-
}
122-
}
113+
"autoPublish": true
114+
}

sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/review/arm-recoveryservices-siterecovery.api.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3156,6 +3156,13 @@ export enum KnownRpInMageRecoveryPointType {
31563156
LatestTime = "LatestTime"
31573157
}
31583158

3159+
// @public
3160+
export enum KnownSecurityType {
3161+
ConfidentialVM = "ConfidentialVM",
3162+
None = "None",
3163+
TrustedLaunch = "TrustedLaunch"
3164+
}
3165+
31593166
// @public
31603167
export enum KnownSetMultiVmSyncStatus {
31613168
Disable = "Disable",
@@ -6109,6 +6116,9 @@ export interface ScriptActionTaskDetails extends TaskTypeDetails {
61096116
path?: string;
61106117
}
61116118

6119+
// @public
6120+
export type SecurityType = string;
6121+
61126122
// @public
61136123
export interface ServiceError {
61146124
activityId?: string;
@@ -6829,6 +6839,7 @@ export interface VMwareCbtDiskInput {
68296839

68306840
// @public
68316841
export interface VMwareCbtEnableMigrationInput extends EnableMigrationProviderSpecificInput {
6842+
confidentialVmKeyVaultId?: string;
68326843
dataMoverRunAsAccountId: string;
68336844
disksToInclude: VMwareCbtDiskInput[];
68346845
instanceType: "VMwareCbt";
@@ -6854,6 +6865,7 @@ export interface VMwareCbtEnableMigrationInput extends EnableMigrationProviderSp
68546865
targetResourceGroupId: string;
68556866
targetSubnetName?: string;
68566867
targetVmName?: string;
6868+
targetVmSecurityProfile?: VMwareCbtSecurityProfileProperties;
68576869
targetVmSize?: string;
68586870
targetVmTags?: {
68596871
[propertyName: string]: string;
@@ -6872,11 +6884,13 @@ export interface VMwareCbtEventDetails extends EventProviderSpecificDetails {
68726884
// @public
68736885
export interface VMwareCbtMigrateInput extends MigrateProviderSpecificInput {
68746886
instanceType: "VMwareCbt";
6887+
osUpgradeVersion?: string;
68756888
performShutdown: string;
68766889
}
68776890

68786891
// @public
68796892
export interface VMwareCbtMigrationDetails extends MigrationProviderSpecificSettings {
6893+
confidentialVmKeyVaultId?: string;
68806894
readonly dataMoverRunAsAccountId?: string;
68816895
readonly firmwareType?: string;
68826896
readonly initialSeedingProgressPercentage?: number;
@@ -6887,6 +6901,7 @@ export interface VMwareCbtMigrationDetails extends MigrationProviderSpecificSett
68876901
licenseType?: string;
68886902
readonly migrationProgressPercentage?: number;
68896903
readonly migrationRecoveryPointId?: string;
6904+
readonly osName?: string;
68906905
readonly osType?: string;
68916906
performAutoResync?: string;
68926907
protectedDisks?: VMwareCbtProtectedDiskDetails[];
@@ -6902,6 +6917,7 @@ export interface VMwareCbtMigrationDetails extends MigrationProviderSpecificSett
69026917
readonly snapshotRunAsAccountId?: string;
69036918
sqlServerLicenseType?: string;
69046919
readonly storageAccountId?: string;
6920+
supportedOSVersions?: string[];
69056921
targetAvailabilitySetId?: string;
69066922
targetAvailabilityZone?: string;
69076923
targetBootDiagnosticsStorageAccountId?: string;
@@ -6917,6 +6933,7 @@ export interface VMwareCbtMigrationDetails extends MigrationProviderSpecificSett
69176933
targetProximityPlacementGroupId?: string;
69186934
targetResourceGroupId?: string;
69196935
targetVmName?: string;
6936+
targetVmSecurityProfile?: VMwareCbtSecurityProfileProperties;
69206937
targetVmSize?: string;
69216938
targetVmTags?: {
69226939
[propertyName: string]: string;
@@ -6992,6 +7009,7 @@ export interface VMwareCbtProtectedDiskDetails {
69927009

69937010
// @public
69947011
export interface VMwareCbtProtectionContainerMappingDetails extends ProtectionContainerMappingProviderSpecificDetails {
7012+
excludedSkus?: string[];
69957013
instanceType: "VMwareCbt";
69967014
readonly keyVaultId?: string;
69977015
readonly keyVaultUri?: string;
@@ -7016,10 +7034,20 @@ export interface VMwareCbtResyncInput extends ResyncProviderSpecificInput {
70167034
skipCbtReset: string;
70177035
}
70187036

7037+
// @public
7038+
export interface VMwareCbtSecurityProfileProperties {
7039+
isTargetVmConfidentialEncryptionEnabled?: string;
7040+
isTargetVmIntegrityMonitoringEnabled?: string;
7041+
isTargetVmSecureBootEnabled?: string;
7042+
isTargetVmTpmEnabled?: string;
7043+
targetVmSecurityType?: SecurityType;
7044+
}
7045+
70197046
// @public
70207047
export interface VMwareCbtTestMigrateInput extends TestMigrateProviderSpecificInput {
70217048
instanceType: "VMwareCbt";
70227049
networkId: string;
7050+
osUpgradeVersion?: string;
70237051
recoveryPointId: string;
70247052
vmNics?: VMwareCbtNicInput[];
70257053
}

sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/models/index.ts

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5064,6 +5064,20 @@ export interface VMwareCbtDiskInput {
50645064
diskEncryptionSetId?: string;
50655065
}
50665066

5067+
/** VMwareCbt security profile input. */
5068+
export interface VMwareCbtSecurityProfileProperties {
5069+
/** The target VM security type. */
5070+
targetVmSecurityType?: SecurityType;
5071+
/** A value indicating whether secure boot to be enabled. */
5072+
isTargetVmSecureBootEnabled?: string;
5073+
/** A value indicating whether trusted platform module to be enabled. */
5074+
isTargetVmTpmEnabled?: string;
5075+
/** A value indicating whether integrity monitoring to be enabled. */
5076+
isTargetVmIntegrityMonitoringEnabled?: string;
5077+
/** A value indicating whether confidential compute encryption to be enabled. */
5078+
isTargetVmConfidentialEncryptionEnabled?: string;
5079+
}
5080+
50675081
/** VMwareCbt protected disk details. */
50685082
export interface VMwareCbtProtectedDiskDetails {
50695083
/**
@@ -5927,6 +5941,11 @@ export interface VMwareCbtMigrationDetails
59275941
* NOTE: This property will not be serialized. It can only be populated by the server.
59285942
*/
59295943
readonly osType?: string;
5944+
/**
5945+
* The name of the OS on the VM.
5946+
* NOTE: This property will not be serialized. It can only be populated by the server.
5947+
*/
5948+
readonly osName?: string;
59305949
/**
59315950
* The firmware type.
59325951
* NOTE: This property will not be serialized. It can only be populated by the server.
@@ -5973,6 +5992,10 @@ export interface VMwareCbtMigrationDetails
59735992
targetAvailabilityZone?: string;
59745993
/** The target proximity placement group Id. */
59755994
targetProximityPlacementGroupId?: string;
5995+
/** The confidential VM key vault Id for ADE installation. */
5996+
confidentialVmKeyVaultId?: string;
5997+
/** The target VM security profile. */
5998+
targetVmSecurityProfile?: VMwareCbtSecurityProfileProperties;
59765999
/** The target boot diagnostics storage account ARM Id. */
59776000
targetBootDiagnosticsStorageAccountId?: string;
59786001
/** The target VM tags. */
@@ -6053,6 +6076,8 @@ export interface VMwareCbtMigrationDetails
60536076
seedDiskTags?: { [propertyName: string]: string };
60546077
/** The tags for the target disks. */
60556078
targetDiskTags?: { [propertyName: string]: string };
6079+
/** List of supported inplace OS Upgrade versions. */
6080+
supportedOSVersions?: string[];
60566081
}
60576082

60586083
/** VMwareCbt specific enable migration input. */
@@ -6094,6 +6119,10 @@ export interface VMwareCbtEnableMigrationInput
60946119
targetAvailabilityZone?: string;
60956120
/** The target proximity placement group ARM Id. */
60966121
targetProximityPlacementGroupId?: string;
6122+
/** The confidential VM key vault Id for ADE installation. */
6123+
confidentialVmKeyVaultId?: string;
6124+
/** The target VM security profile. */
6125+
targetVmSecurityProfile?: VMwareCbtSecurityProfileProperties;
60976126
/** The target boot diagnostics storage account ARM Id. */
60986127
targetBootDiagnosticsStorageAccountId?: string;
60996128
/** A value indicating whether auto resync is to be done. */
@@ -6155,6 +6184,8 @@ export interface VMwareCbtMigrateInput extends MigrateProviderSpecificInput {
61556184
instanceType: "VMwareCbt";
61566185
/** A value indicating whether VM is to be shutdown. */
61576186
performShutdown: string;
6187+
/** A value indicating the inplace OS Upgrade version. */
6188+
osUpgradeVersion?: string;
61586189
}
61596190

61606191
/** VMwareCbt specific resume replication input. */
@@ -6185,6 +6216,8 @@ export interface VMwareCbtTestMigrateInput
61856216
networkId: string;
61866217
/** The list of NIC details. */
61876218
vmNics?: VMwareCbtNicInput[];
6219+
/** A value indicating the inplace OS Upgrade version. */
6220+
osUpgradeVersion?: string;
61886221
}
61896222

61906223
/** Single Host fabric provider specific VM settings. */
@@ -7924,6 +7957,8 @@ export interface VMwareCbtProtectionContainerMappingDetails
79247957
* NOTE: This property will not be serialized. It can only be populated by the server.
79257958
*/
79267959
readonly roleSizeToNicCountMap?: { [propertyName: string]: number };
7960+
/** The SKUs to be excluded. */
7961+
excludedSkus?: string[];
79277962
}
79287963

79297964
/** A2A container mapping input. */
@@ -10025,6 +10060,27 @@ export enum KnownRecoveryPlanPointType {
1002510060
*/
1002610061
export type RecoveryPlanPointType = string;
1002710062

10063+
/** Known values of {@link SecurityType} that the service accepts. */
10064+
export enum KnownSecurityType {
10065+
/** None */
10066+
None = "None",
10067+
/** TrustedLaunch */
10068+
TrustedLaunch = "TrustedLaunch",
10069+
/** ConfidentialVM */
10070+
ConfidentialVM = "ConfidentialVM"
10071+
}
10072+
10073+
/**
10074+
* Defines values for SecurityType. \
10075+
* {@link KnownSecurityType} can be used interchangeably with SecurityType,
10076+
* this enum contains the known values that the service supports.
10077+
* ### Known values supported by the service
10078+
* **None** \
10079+
* **TrustedLaunch** \
10080+
* **ConfidentialVM**
10081+
*/
10082+
export type SecurityType = string;
10083+
1002810084
/** Optional parameters. */
1002910085
export interface OperationsListOptionalParams
1003010086
extends coreClient.OperationOptions {}

0 commit comments

Comments
 (0)