Skip to content

Commit 78417df

Browse files
author
SDKAuto
committed
CodeGen from PR 27833 in Azure/azure-rest-api-specs
Merge 277f40c3359f84cc095ab45d702d84e5b16d82e3 into ead20be2d8d680dfee3605e6f18148e65cbb79e4
1 parent fe8adc1 commit 78417df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+4428
-4102
lines changed

sdk/dataprotection/arm-dataprotection/CHANGELOG.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
# Release History
2+
3+
## 2.1.0 (2024-03-26)
4+
5+
**Features**
26

3-
## 2.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added Interface CmkKekIdentity
8+
- Added Interface CmkKeyVaultProperties
9+
- Added Interface EncryptionSettings
10+
- Added Type Alias BcdrSecurityLevel
11+
- Added Type Alias EncryptionState
12+
- Added Type Alias IdentityType
13+
- Added Type Alias InfrastructureEncryptionState
14+
- Interface BackupVault has a new optional parameter bcdrSecurityLevel
15+
- Interface KubernetesClusterRestoreCriteria has a new optional parameter resourceModifierReference
16+
- Interface KubernetesClusterVaultTierRestoreCriteria has a new optional parameter resourceModifierReference
17+
- Interface SecuritySettings has a new optional parameter encryptionSettings
18+
- Added Enum KnownBcdrSecurityLevel
19+
- Added Enum KnownEncryptionState
20+
- Added Enum KnownIdentityType
21+
- Added Enum KnownInfrastructureEncryptionState
22+
23+
1324
## 2.0.0 (2023-12-05)
1425

1526
**Features**

sdk/dataprotection/arm-dataprotection/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) 2023 Microsoft
3+
Copyright (c) 2024 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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "cb798ffa99c193a88388f358965f377fde3699e8",
2+
"commit": "8bf919b0730d585384708f4e4d8a756c4ea711dd",
33
"readme": "specification/dataprotection/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.7 --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\\dataprotection\\resource-manager\\readme.md --use=@autorest/[email protected] --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.7 --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/dataprotection/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
66
"release_tool": "@azure-tools/[email protected]",
7-
"use": "@autorest/[email protected]"
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/dataprotection/arm-dataprotection/package.json

Lines changed: 5 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 DataProtectionClient.",
6-
"version": "2.0.1",
6+
"version": "2.1.0",
77
"engines": {
88
"node": ">=18.0.0"
99
},
@@ -12,8 +12,8 @@
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
1414
"@azure/core-client": "^1.7.0",
15-
"@azure/core-auth": "^1.3.0",
16-
"@azure/core-rest-pipeline": "^1.12.0",
15+
"@azure/core-auth": "^1.6.0",
16+
"@azure/core-rest-pipeline": "^1.14.0",
1717
"tslib": "^2.2.0"
1818
},
1919
"keywords": [
@@ -78,7 +78,6 @@
7878
"pack": "npm pack 2>&1",
7979
"extract-api": "api-extractor run --local",
8080
"lint": "echo skipped",
81-
"audit": "echo skipped",
8281
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
8382
"build:node": "echo skipped",
8483
"build:browser": "echo skipped",
@@ -107,13 +106,5 @@
107106
]
108107
},
109108
"autoPublish": true,
110-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dataprotection/arm-dataprotection",
111-
"//sampleConfiguration": {
112-
"productName": "",
113-
"productSlugs": [
114-
"azure"
115-
],
116-
"disableDocsMs": true,
117-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-dataprotection?view=azure-node-preview"
118-
}
119-
}
109+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dataprotection/arm-dataprotection"
110+
}

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

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ export interface BackupSchedule {
618618

619619
// @public
620620
export interface BackupVault {
621+
readonly bcdrSecurityLevel?: BcdrSecurityLevel;
621622
featureSettings?: FeatureSettings;
622623
readonly isVaultProtectedByResourceGuard?: boolean;
623624
monitoringSettings?: MonitoringSettings;
@@ -777,6 +778,9 @@ export interface BaseResourceProperties {
777778
// @public (undocumented)
778779
export type BaseResourcePropertiesUnion = BaseResourceProperties | DefaultResourceProperties;
779780

781+
// @public
782+
export type BcdrSecurityLevel = string;
783+
780784
// @public
781785
export interface BlobBackupDatasourceParameters extends BackupDatasourceParameters {
782786
containersList: string[];
@@ -841,6 +845,17 @@ export interface CloudError {
841845
error?: ErrorModel;
842846
}
843847

848+
// @public
849+
export interface CmkKekIdentity {
850+
identityId?: string;
851+
identityType?: IdentityType;
852+
}
853+
854+
// @public
855+
export interface CmkKeyVaultProperties {
856+
keyUri?: string;
857+
}
858+
844859
// @public
845860
export interface CopyOnExpiryOption extends CopyOption {
846861
objectType: "CopyOnExpiryOption";
@@ -1269,6 +1284,17 @@ export interface DppWorkerRequest {
12691284
uri?: string;
12701285
}
12711286

1287+
// @public
1288+
export interface EncryptionSettings {
1289+
infrastructureEncryption?: InfrastructureEncryptionState;
1290+
kekIdentity?: CmkKekIdentity;
1291+
keyVaultProperties?: CmkKeyVaultProperties;
1292+
state?: EncryptionState;
1293+
}
1294+
1295+
// @public
1296+
export type EncryptionState = string;
1297+
12721298
// @public
12731299
export interface ErrorAdditionalInfo {
12741300
readonly info?: Record<string, unknown>;
@@ -1453,6 +1479,9 @@ export interface IdentityDetails {
14531479
useSystemAssignedIdentity?: boolean;
14541480
}
14551481

1482+
// @public
1483+
export type IdentityType = string;
1484+
14561485
// @public
14571486
export interface ImmediateCopyOption extends CopyOption {
14581487
objectType: "ImmediateCopyOption";
@@ -1466,6 +1495,9 @@ export interface ImmutabilitySettings {
14661495
// @public
14671496
export type ImmutabilityState = string;
14681497

1498+
// @public
1499+
export type InfrastructureEncryptionState = string;
1500+
14691501
// @public
14701502
export interface InnerError {
14711503
additionalInfo?: {
@@ -1567,6 +1599,15 @@ export enum KnownAlertsState {
15671599
Enabled = "Enabled"
15681600
}
15691601

1602+
// @public
1603+
export enum KnownBcdrSecurityLevel {
1604+
Excellent = "Excellent",
1605+
Fair = "Fair",
1606+
Good = "Good",
1607+
NotSupported = "NotSupported",
1608+
Poor = "Poor"
1609+
}
1610+
15701611
// @public
15711612
export enum KnownCreatedByType {
15721613
Application = "Application",
@@ -1622,6 +1663,13 @@ export enum KnownDayOfWeek {
16221663
Wednesday = "Wednesday"
16231664
}
16241665

1666+
// @public
1667+
export enum KnownEncryptionState {
1668+
Disabled = "Disabled",
1669+
Enabled = "Enabled",
1670+
Inconsistent = "Inconsistent"
1671+
}
1672+
16251673
// @public
16261674
export enum KnownExistingResourcePolicy {
16271675
Patch = "Patch",
@@ -1644,13 +1692,25 @@ export enum KnownFeatureType {
16441692
Invalid = "Invalid"
16451693
}
16461694

1695+
// @public
1696+
export enum KnownIdentityType {
1697+
SystemAssigned = "SystemAssigned",
1698+
UserAssigned = "UserAssigned"
1699+
}
1700+
16471701
// @public
16481702
export enum KnownImmutabilityState {
16491703
Disabled = "Disabled",
16501704
Locked = "Locked",
16511705
Unlocked = "Unlocked"
16521706
}
16531707

1708+
// @public
1709+
export enum KnownInfrastructureEncryptionState {
1710+
Disabled = "Disabled",
1711+
Enabled = "Enabled"
1712+
}
1713+
16541714
// @public
16551715
export enum KnownMonth {
16561716
April = "April",
@@ -1844,6 +1904,7 @@ export interface KubernetesClusterRestoreCriteria extends ItemLevelRestoreCriter
18441904
};
18451905
objectType: "KubernetesClusterRestoreCriteria";
18461906
persistentVolumeRestoreMode?: PersistentVolumeRestoreMode;
1907+
resourceModifierReference?: NamespacedNameResource;
18471908
restoreHookReferences?: NamespacedNameResource[];
18481909
}
18491910

@@ -1861,6 +1922,7 @@ export interface KubernetesClusterVaultTierRestoreCriteria extends ItemLevelRest
18611922
};
18621923
objectType: "KubernetesClusterVaultTierRestoreCriteria";
18631924
persistentVolumeRestoreMode?: PersistentVolumeRestoreMode;
1925+
resourceModifierReference?: NamespacedNameResource;
18641926
restoreHookReferences?: NamespacedNameResource[];
18651927
stagingResourceGroupId?: string;
18661928
stagingStorageAccountId?: string;
@@ -2484,6 +2546,7 @@ export type SecureScoreLevel = string;
24842546

24852547
// @public
24862548
export interface SecuritySettings {
2549+
encryptionSettings?: EncryptionSettings;
24872550
immutabilitySettings?: ImmutabilitySettings;
24882551
softDeleteSettings?: SoftDeleteSettings;
24892552
}

0 commit comments

Comments
 (0)