Skip to content

Commit ae60875

Browse files
authored
[mgmt] dataprotection release (#36061)
Azure/sdk-release-request#6593
1 parent e1e0433 commit ae60875

File tree

563 files changed

+25934
-31134
lines changed

Some content is hidden

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

563 files changed

+25934
-31134
lines changed

pnpm-lock.yaml

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

sdk/dataprotection/arm-dataprotection/CHANGELOG.md

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

3+
## 4.0.0 (2025-09-26)
4+
5+
### Features Added
6+
- Added operation group DataProtectionOperations
7+
- Added operation BackupInstancesOperations.adhocBackup
8+
- Added operation BackupInstancesOperations.createOrUpdate
9+
- Added operation BackupInstancesOperations.delete
10+
- Added operation BackupInstancesOperations.resumeBackups
11+
- Added operation BackupInstancesOperations.resumeProtection
12+
- Added operation BackupInstancesOperations.stopProtection
13+
- Added operation BackupInstancesOperations.suspendBackups
14+
- Added operation BackupInstancesOperations.syncBackupInstance
15+
- Added operation BackupInstancesOperations.triggerCrossRegionRestore
16+
- Added operation BackupInstancesOperations.triggerRehydrate
17+
- Added operation BackupInstancesOperations.triggerRestore
18+
- Added operation BackupInstancesOperations.validateCrossRegionRestore
19+
- Added operation BackupInstancesOperations.validateForBackup
20+
- Added operation BackupInstancesOperations.validateForModifyBackup
21+
- Added operation BackupInstancesOperations.validateForRestore
22+
- Added operation BackupVaultsOperations.createOrUpdate
23+
- Added operation BackupVaultsOperations.delete
24+
- Added operation BackupVaultsOperations.update
25+
- Added operation DeletedBackupInstancesOperations.undelete
26+
- Added operation ExportJobsOperations.trigger
27+
- Added Interface BackupVaultsListInResourceGroupOptionalParams
28+
- Added Interface BackupVaultsListInSubscriptionOptionalParams
29+
- Added Interface Operation
30+
- Added Interface OperationDisplay
31+
- Added Interface PagedAsyncIterableIterator
32+
- Added Interface PageSettings
33+
- Added Interface ProxyResource
34+
- Added Interface Resource
35+
- Added Interface ResourceGuardsListBackupSecurityPINRequestsObjectsOptionalParams
36+
- Added Interface ResourceGuardsListDeleteProtectedItemRequestsObjectsOptionalParams
37+
- Added Interface ResourceGuardsListDeleteResourceGuardProxyRequestsObjectsOptionalParams
38+
- Added Interface ResourceGuardsListDisableSoftDeleteRequestsObjectsOptionalParams
39+
- Added Interface ResourceGuardsListResourcesInResourceGroupOptionalParams
40+
- Added Interface ResourceGuardsListResourcesInSubscriptionOptionalParams
41+
- Added Interface ResourceGuardsListUpdateProtectedItemRequestsObjectsOptionalParams
42+
- Added Interface ResourceGuardsListUpdateProtectionPolicyRequestsObjectsOptionalParams
43+
- Added Interface RestorePollerOptions
44+
- Added Interface TrackedResource
45+
- Interface DppBaseResource has a new optional parameter systemData
46+
- Added Type Alias ActionType
47+
- Added Type Alias AzureSupportedClouds
48+
- Added Type Alias Origin
49+
- Added Enum AzureClouds
50+
- Added Enum KnownActionType
51+
- Added Enum KnownOrigin
52+
- Added Enum KnownVersions
53+
54+
### Breaking Changes
55+
- Removed operation BackupInstances.beginAdhocBackup
56+
- Removed operation BackupInstances.beginAdhocBackupAndWait
57+
- Removed operation BackupInstances.beginCreateOrUpdate
58+
- Removed operation BackupInstances.beginCreateOrUpdateAndWait
59+
- Removed operation BackupInstances.beginDelete
60+
- Removed operation BackupInstances.beginDeleteAndWait
61+
- Removed operation BackupInstances.beginResumeBackups
62+
- Removed operation BackupInstances.beginResumeBackupsAndWait
63+
- Removed operation BackupInstances.beginResumeProtection
64+
- Removed operation BackupInstances.beginResumeProtectionAndWait
65+
- Removed operation BackupInstances.beginStopProtection
66+
- Removed operation BackupInstances.beginStopProtectionAndWait
67+
- Removed operation BackupInstances.beginSuspendBackups
68+
- Removed operation BackupInstances.beginSuspendBackupsAndWait
69+
- Removed operation BackupInstances.beginSyncBackupInstance
70+
- Removed operation BackupInstances.beginSyncBackupInstanceAndWait
71+
- Removed operation BackupInstances.beginTriggerCrossRegionRestore
72+
- Removed operation BackupInstances.beginTriggerCrossRegionRestoreAndWait
73+
- Removed operation BackupInstances.beginTriggerRehydrate
74+
- Removed operation BackupInstances.beginTriggerRehydrateAndWait
75+
- Removed operation BackupInstances.beginTriggerRestore
76+
- Removed operation BackupInstances.beginTriggerRestoreAndWait
77+
- Removed operation BackupInstances.beginValidateCrossRegionRestore
78+
- Removed operation BackupInstances.beginValidateCrossRegionRestoreAndWait
79+
- Removed operation BackupInstances.beginValidateForBackup
80+
- Removed operation BackupInstances.beginValidateForBackupAndWait
81+
- Removed operation BackupInstances.beginValidateForModifyBackup
82+
- Removed operation BackupInstances.beginValidateForModifyBackupAndWait
83+
- Removed operation BackupInstances.beginValidateForRestore
84+
- Removed operation BackupInstances.beginValidateForRestoreAndWait
85+
- Removed operation BackupVaults.beginCreateOrUpdate
86+
- Removed operation BackupVaults.beginCreateOrUpdateAndWait
87+
- Removed operation BackupVaults.beginDelete
88+
- Removed operation BackupVaults.beginDeleteAndWait
89+
- Removed operation BackupVaults.beginUpdate
90+
- Removed operation BackupVaults.beginUpdateAndWait
91+
- Removed operation DataProtectionOperations.checkFeatureSupport
92+
- Removed operation DeletedBackupInstances.beginUndelete
93+
- Removed operation DeletedBackupInstances.beginUndeleteAndWait
94+
- Removed operation ExportJobs.beginTrigger
95+
- Removed operation ExportJobs.beginTriggerAndWait
96+
- Operation BackupInstances.get has a new signature
97+
- Operation BackupInstances.getBackupInstanceOperationResult has a new signature
98+
- Operation BackupPolicies.createOrUpdate has a new signature
99+
- Operation BackupPolicies.get has a new signature
100+
- Operation DeletedBackupInstances.get has a new signature
101+
- Operation OperationStatus.get has a new signature
102+
- Operation OperationStatusBackupVaultContext.get has a new signature
103+
- Operation OperationStatusResourceGroupContext.get has a new signature
104+
- Operation RecoveryPoints.get has a new signature
105+
- Removed Interface AzureBackupFindRestorableTimeRangesRequestResource
106+
- Removed Interface AzureBackupJobResourceList
107+
- Removed Interface AzureBackupRecoveryPointResourceList
108+
- Removed Interface BackupInstanceResourceList
109+
- Removed Interface BackupVaultResourceList
110+
- Removed Interface BackupVaultsGetInResourceGroupOptionalParams
111+
- Removed Interface BackupVaultsGetInSubscriptionOptionalParams
112+
- Removed Interface BaseBackupPolicyResourceList
113+
- Removed Interface ClientDiscoveryDisplay
114+
- Removed Interface ClientDiscoveryForLogSpecification
115+
- Removed Interface ClientDiscoveryForProperties
116+
- Removed Interface ClientDiscoveryForServiceSpecification
117+
- Removed Interface ClientDiscoveryResponse
118+
- Removed Interface ClientDiscoveryValueForSingleApi
119+
- Removed Interface DeletedBackupInstanceResourceList
120+
- Removed Interface DppBaseResourceList
121+
- Removed Interface DppBaseTrackedResource
122+
- Removed Interface DppProxyResource
123+
- Removed Interface DppTrackedResource
124+
- Removed Interface DppWorkerRequest
125+
- Removed Interface RecoveryPointsFilters
126+
- Removed Interface ResourceGuardProxyBaseResourceList
127+
- Removed Interface ResourceGuardResourceList
128+
- Removed Interface ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams
129+
- Removed Interface ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams
130+
- Removed Interface ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams
131+
- Removed Interface ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams
132+
- Removed Interface ResourceGuardsGetResourcesInResourceGroupOptionalParams
133+
- Removed Interface ResourceGuardsGetResourcesInSubscriptionOptionalParams
134+
- Removed Interface ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams
135+
- Removed Interface ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams
136+
- Type of parameter objectType of interface AuthCredentials is changed from "SecretStoreBasedAuthCredentials" to string
137+
- Type of parameter objectType of interface AzureBackupRecoveryPoint is changed from "AzureBackupDiscreteRecoveryPoint" to string
138+
- Type of parameter objectType of interface AzureBackupRestoreRequest is changed from "AzureBackupRecoveryPointBasedRestoreRequest" | "AzureBackupRestoreWithRehydrationRequest" | "AzureBackupRecoveryTimeBasedRestoreRequest" to string
139+
- Type of parameter objectType of interface BackupCriteria is changed from "ScheduleBasedBackupCriteria" to string
140+
- Type of parameter objectType of interface BackupDatasourceParameters is changed from "KubernetesClusterBackupDatasourceParameters" | "BlobBackupDatasourceParameters" | "AdlsBlobBackupDatasourceParameters" to string
141+
- Type of parameter objectType of interface BackupParameters is changed from "AzureBackupParams" to string
142+
- Type of parameter objectType of interface BaseBackupPolicy is changed from "BackupPolicy" to string
143+
- Type of parameter objectType of interface BasePolicyRule is changed from "AzureBackupRule" | "AzureRetentionRule" to string
144+
- Type of parameter objectType of interface BaseResourceProperties is changed from "DefaultResourceProperties" to ResourcePropertiesObjectType
145+
- Type of parameter objectType of interface CopyOption is changed from "CopyOnExpiryOption" | "CustomCopyOption" | "ImmediateCopyOption" to string
146+
- Type of parameter objectType of interface DataStoreParameters is changed from "AzureOperationalStoreParameters" to string
147+
- Type of parameter objectType of interface DeleteOption is changed from "AbsoluteDeleteOption" to string
148+
- Type of parameter objectType of interface FeatureValidationRequestBase is changed from "FeatureValidationRequest" to string
149+
- Type of parameter objectType of interface FeatureValidationResponseBase is changed from "FeatureValidationResponse" to string
150+
- Type of parameter objectType of interface ItemLevelRestoreCriteria is changed from "ItemPathBasedRestoreCriteria" | "RangeBasedItemLevelRestoreCriteria" | "KubernetesStorageClassRestoreCriteria" | "KubernetesPVRestoreCriteria" | "KubernetesClusterRestoreCriteria" | "KubernetesClusterVaultTierRestoreCriteria" to string
151+
- Type of parameter objectType of interface OperationExtendedInfo is changed from "OperationJobExtendedInfo" to string
152+
- Type of parameter objectType of interface RestoreTargetInfoBase is changed from "ItemLevelRestoreTargetInfo" | "RestoreFilesTargetInfo" | "RestoreTargetInfo" to string
153+
- Type of parameter objectType of interface TriggerContext is changed from "AdhocBasedTriggerContext" | "ScheduleBasedTriggerContext" to string
154+
- Parameter location of interface BackupVaultResource is now required
155+
- Parameter location of interface ResourceGuardResource is now required
156+
- Type alias "AuthCredentialsUnion" has been changed
157+
- Type alias "AzureBackupRecoveryPointBasedRestoreRequestUnion" has been changed
158+
- Type alias "AzureBackupRecoveryPointUnion" has been changed
159+
- Type alias "AzureBackupRestoreRequestUnion" has been changed
160+
- Type alias "BackupCriteriaUnion" has been changed
161+
- Type alias "BackupDatasourceParametersUnion" has been changed
162+
- Type alias "BackupParametersUnion" has been changed
163+
- Type alias "BaseBackupPolicyUnion" has been changed
164+
- Type alias "BasePolicyRuleUnion" has been changed
165+
- Type alias "BaseResourcePropertiesUnion" has been changed
166+
- Type alias "CopyOptionUnion" has been changed
167+
- Type alias "DataStoreParametersUnion" has been changed
168+
- Type alias "DeleteOptionUnion" has been changed
169+
- Type alias "FeatureValidationRequestBaseUnion" has been changed
170+
- Type alias "FeatureValidationResponseBaseUnion" has been changed
171+
- Type alias "ItemLevelRestoreCriteriaUnion" has been changed
172+
- Type alias "OperationExtendedInfoUnion" has been changed
173+
- Type alias "RestoreTargetInfoBaseUnion" has been changed
174+
- Type alias "TriggerContextUnion" has been changed
175+
3176
## 3.0.0 (2025-08-18)
4177

5178
### Features Added

sdk/dataprotection/arm-dataprotection/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Open API 2.0 Specs for Azure Data Protection service
66

7-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dataprotection/arm-dataprotection) |
8-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-dataprotection) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-dataprotection) |
10-
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dataprotection/arm-dataprotection)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-dataprotection)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-dataprotection?view=azure-node-preview)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dataprotection/arm-dataprotection/samples)
1113

1214
## Getting started
1315

@@ -63,14 +65,15 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6365
import { InteractiveBrowserCredential } from "@azure/identity";
6466
import { DataProtectionClient } from "@azure/arm-dataprotection";
6567

66-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6768
const credential = new InteractiveBrowserCredential({
6869
tenantId: "<YOUR_TENANT_ID>",
6970
clientId: "<YOUR_CLIENT_ID>",
7071
});
72+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
7173
const client = new DataProtectionClient(credential, subscriptionId);
7274
```
7375

76+
7477
### JavaScript Bundle
7578
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7679

@@ -96,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
9699

97100
## Next steps
98101

99-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dataprotection/arm-dataprotection/samples) directory for detailed examples on how to use this library.
100103

101104
## Contributing
102105

@@ -106,9 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
106109

107110
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
108111

109-
110-
[azure_cli]: https://learn.microsoft.com/cli/azure
111-
[azure_sub]: https://azure.microsoft.com/free/
112112
[azure_sub]: https://azure.microsoft.com/free/
113113
[azure_portal]: https://portal.azure.com
114114
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/dataprotection/arm-dataprotection/_meta.json

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"extends": "../../../api-extractor-base.json"
3-
}
1+
{ "extends": "../../../api-extractor-base.json" }

sdk/dataprotection/arm-dataprotection/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/dataprotection/arm-dataprotection",
5-
"Tag": "js/dataprotection/arm-dataprotection_40b1a816a0"
5+
"Tag": "js/dataprotection/arm-dataprotection_7579d7ea93"
66
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";
2+
3+
export default azsdkEslint.config([
4+
{
5+
rules: {
6+
"@azure/azure-sdk/ts-modules-only-named": "warn",
7+
"@azure/azure-sdk/ts-package-json-types": "warn",
8+
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
9+
"@azure/azure-sdk/ts-package-json-files-required": "off",
10+
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
11+
"tsdoc/syntax": "warn",
12+
},
13+
},
14+
]);
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"apiVersion": "2025-07-01",
3+
"emitterVersion": "0.44.0"
4+
}

0 commit comments

Comments
 (0)