Skip to content

Commit 6ec0135

Browse files
author
SDKAuto
committed
CodeGen from PR 24211 in Azure/azure-rest-api-specs
Merge 6ccb8d1cf74dfa4885ad371af238c29617fcb2d0 into b0068e9b28991f4d24a3d247ed36bfa3737a520c
1 parent 9c06d20 commit 6ec0135

File tree

11 files changed

+264
-45
lines changed

11 files changed

+264
-45
lines changed

common/config/rush/pnpm-lock.yaml

+21-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/recoveryservices/arm-recoveryservices/CHANGELOG.md

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
# Release History
2+
3+
## 5.4.0 (2023-06-25)
4+
5+
**Features**
26

3-
## 5.3.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added Interface SoftDeleteSettings
8+
- Added Type Alias MultiUserAuthorization
9+
- Added Type Alias SecureScoreLevel
10+
- Added Type Alias SoftDeleteState
11+
- Interface SecuritySettings has a new optional parameter multiUserAuthorization
12+
- Interface SecuritySettings has a new optional parameter softDeleteSettings
13+
- Interface VaultProperties has a new optional parameter secureScore
14+
- Added Enum KnownMultiUserAuthorization
15+
- Added Enum KnownSecureScoreLevel
16+
- Added Enum KnownSoftDeleteState
17+
18+
1319
## 5.3.0 (2023-05-31)
1420

1521
**Features**
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "73d8ea03558929411b9f2e6be533e63409a2252c",
2+
"commit": "a47b186bb893483daebf98f21f65e29bfd449034",
33
"readme": "specification/recoveryservices/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=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\recoveryservices\\resource-manager\\readme.md --use=@autorest/[email protected].2 --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/recoveryservices/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].0",
7-
"use": "@autorest/[email protected].2"
6+
"release_tool": "@azure-tools/[email protected].1",
7+
"use": "@autorest/typescript@^6.0.4"
88
}

sdk/recoveryservices/arm-recoveryservices/package.json

+3-11
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 RecoveryServicesClient.",
6-
"version": "5.3.1",
6+
"version": "5.4.0",
77
"engines": {
88
"node": ">=14.0.0"
99
},
@@ -111,13 +111,5 @@
111111
]
112112
},
113113
"autoPublish": true,
114-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservices/arm-recoveryservices",
115-
"//sampleConfiguration": {
116-
"productName": "",
117-
"productSlugs": [
118-
"azure"
119-
],
120-
"disableDocsMs": true,
121-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-recoveryservices?view=azure-node-preview"
122-
}
123-
}
114+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservices/arm-recoveryservices"
115+
}

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

+42
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,13 @@ export enum KnownInfrastructureEncryptionState {
266266
Enabled = "Enabled"
267267
}
268268

269+
// @public
270+
export enum KnownMultiUserAuthorization {
271+
Disabled = "Disabled",
272+
Enabled = "Enabled",
273+
Invalid = "Invalid"
274+
}
275+
269276
// @public
270277
export enum KnownPrivateEndpointConnectionStatus {
271278
Approved = "Approved",
@@ -310,12 +317,28 @@ export enum KnownResourceMoveState {
310317
Unknown = "Unknown"
311318
}
312319

320+
// @public
321+
export enum KnownSecureScoreLevel {
322+
Adequate = "Adequate",
323+
Maximum = "Maximum",
324+
Minimum = "Minimum",
325+
None = "None"
326+
}
327+
313328
// @public
314329
export enum KnownSkuName {
315330
RS0 = "RS0",
316331
Standard = "Standard"
317332
}
318333

334+
// @public
335+
export enum KnownSoftDeleteState {
336+
AlwaysON = "AlwaysON",
337+
Disabled = "Disabled",
338+
Enabled = "Enabled",
339+
Invalid = "Invalid"
340+
}
341+
319342
// @public
320343
export enum KnownStandardTierStorageRedundancy {
321344
GeoRedundant = "GeoRedundant",
@@ -376,6 +399,9 @@ export interface MonitoringSummary {
376399
unsupportedProviderCount?: number;
377400
}
378401

402+
// @public
403+
export type MultiUserAuthorization = string;
404+
379405
// @public
380406
export interface NameInfo {
381407
localizedValue?: string;
@@ -672,9 +698,14 @@ export interface RestoreSettings {
672698
crossSubscriptionRestoreSettings?: CrossSubscriptionRestoreSettings;
673699
}
674700

701+
// @public
702+
export type SecureScoreLevel = string;
703+
675704
// @public
676705
export interface SecuritySettings {
677706
immutabilitySettings?: ImmutabilitySettings;
707+
readonly multiUserAuthorization?: MultiUserAuthorization;
708+
softDeleteSettings?: SoftDeleteSettings;
678709
}
679710

680711
// @public
@@ -689,6 +720,16 @@ export interface Sku {
689720
// @public
690721
export type SkuName = string;
691722

723+
// @public
724+
export interface SoftDeleteSettings {
725+
softDeleteRetentionPeriodInDays?: number;
726+
// (undocumented)
727+
softDeleteState?: SoftDeleteState;
728+
}
729+
730+
// @public
731+
export type SoftDeleteState = string;
732+
692733
// @public
693734
export type StandardTierStorageRedundancy = string;
694735

@@ -835,6 +876,7 @@ export interface VaultProperties {
835876
publicNetworkAccess?: PublicNetworkAccess;
836877
redundancySettings?: VaultPropertiesRedundancySettings;
837878
restoreSettings?: RestoreSettings;
879+
readonly secureScore?: SecureScoreLevel;
838880
securitySettings?: SecuritySettings;
839881
upgradeDetails?: UpgradeDetails;
840882
}

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

+88
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,11 @@ export interface VaultProperties {
333333
redundancySettings?: VaultPropertiesRedundancySettings;
334334
/** Security Settings of the vault */
335335
securitySettings?: SecuritySettings;
336+
/**
337+
* Secure Score of Recovery Services Vault
338+
* NOTE: This property will not be serialized. It can only be populated by the server.
339+
*/
340+
readonly secureScore?: SecureScoreLevel;
336341
}
337342

338343
/** Details for upgrading vault. */
@@ -562,13 +567,27 @@ export interface VaultPropertiesRedundancySettings {
562567
export interface SecuritySettings {
563568
/** Immutability Settings of a vault */
564569
immutabilitySettings?: ImmutabilitySettings;
570+
/** Soft delete Settings of a vault */
571+
softDeleteSettings?: SoftDeleteSettings;
572+
/**
573+
* MUA Settings of a vault
574+
* NOTE: This property will not be serialized. It can only be populated by the server.
575+
*/
576+
readonly multiUserAuthorization?: MultiUserAuthorization;
565577
}
566578

567579
/** Immutability Settings of vault */
568580
export interface ImmutabilitySettings {
569581
state?: ImmutabilityState;
570582
}
571583

584+
/** Soft delete Settings of vault */
585+
export interface SoftDeleteSettings {
586+
softDeleteState?: SoftDeleteState;
587+
/** Soft delete retention period in days */
588+
softDeleteRetentionPeriodInDays?: number;
589+
}
590+
572591
/** Identifies the unique system identifier for each Azure resource. */
573592
export interface Sku {
574593
/** Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig */
@@ -1203,6 +1222,75 @@ export enum KnownImmutabilityState {
12031222
*/
12041223
export type ImmutabilityState = string;
12051224

1225+
/** Known values of {@link SoftDeleteState} that the service accepts. */
1226+
export enum KnownSoftDeleteState {
1227+
/** Invalid */
1228+
Invalid = "Invalid",
1229+
/** Enabled */
1230+
Enabled = "Enabled",
1231+
/** Disabled */
1232+
Disabled = "Disabled",
1233+
/** AlwaysON */
1234+
AlwaysON = "AlwaysON"
1235+
}
1236+
1237+
/**
1238+
* Defines values for SoftDeleteState. \
1239+
* {@link KnownSoftDeleteState} can be used interchangeably with SoftDeleteState,
1240+
* this enum contains the known values that the service supports.
1241+
* ### Known values supported by the service
1242+
* **Invalid** \
1243+
* **Enabled** \
1244+
* **Disabled** \
1245+
* **AlwaysON**
1246+
*/
1247+
export type SoftDeleteState = string;
1248+
1249+
/** Known values of {@link MultiUserAuthorization} that the service accepts. */
1250+
export enum KnownMultiUserAuthorization {
1251+
/** Invalid */
1252+
Invalid = "Invalid",
1253+
/** Enabled */
1254+
Enabled = "Enabled",
1255+
/** Disabled */
1256+
Disabled = "Disabled"
1257+
}
1258+
1259+
/**
1260+
* Defines values for MultiUserAuthorization. \
1261+
* {@link KnownMultiUserAuthorization} can be used interchangeably with MultiUserAuthorization,
1262+
* this enum contains the known values that the service supports.
1263+
* ### Known values supported by the service
1264+
* **Invalid** \
1265+
* **Enabled** \
1266+
* **Disabled**
1267+
*/
1268+
export type MultiUserAuthorization = string;
1269+
1270+
/** Known values of {@link SecureScoreLevel} that the service accepts. */
1271+
export enum KnownSecureScoreLevel {
1272+
/** None */
1273+
None = "None",
1274+
/** Minimum */
1275+
Minimum = "Minimum",
1276+
/** Adequate */
1277+
Adequate = "Adequate",
1278+
/** Maximum */
1279+
Maximum = "Maximum"
1280+
}
1281+
1282+
/**
1283+
* Defines values for SecureScoreLevel. \
1284+
* {@link KnownSecureScoreLevel} can be used interchangeably with SecureScoreLevel,
1285+
* this enum contains the known values that the service supports.
1286+
* ### Known values supported by the service
1287+
* **None** \
1288+
* **Minimum** \
1289+
* **Adequate** \
1290+
* **Maximum**
1291+
*/
1292+
export type SecureScoreLevel = string;
1293+
12061294
/** Known values of {@link SkuName} that the service accepts. */
12071295
export enum KnownSkuName {
12081296
/** Standard */

0 commit comments

Comments
 (0)