@azure/arm-dataprotection 1.0.0-beta.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/dist/index.js +706 -1053
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/backupInstancesAdhocBackupSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesGetBackupInstanceOperationResultSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesListSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesResumeBackupsSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesResumeProtectionSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesStopProtectionSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesSuspendBackupsSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesSyncBackupInstanceSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesTriggerRehydrateSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesTriggerRestoreSample.js +3 -3
- package/dist-esm/samples-dev/backupInstancesValidateForBackupSample.js +1 -1
- package/dist-esm/samples-dev/backupInstancesValidateForRestoreSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/backupVaultsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/backupVaultsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/backupVaultsGetInResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsGetInSubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/backupVaultsGetSample.js +2 -2
- package/dist-esm/samples-dev/backupVaultsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/dataProtectionCheckFeatureSupportSample.js +1 -1
- package/dist-esm/samples-dev/dataProtectionOperationsListSample.js +1 -1
- package/dist-esm/samples-dev/deletedBackupInstancesGetSample.js +1 -1
- package/dist-esm/samples-dev/deletedBackupInstancesListSample.js +1 -1
- package/dist-esm/samples-dev/deletedBackupInstancesUndeleteSample.js +1 -1
- package/dist-esm/samples-dev/exportJobsOperationResultGetSample.js +1 -1
- package/dist-esm/samples-dev/exportJobsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/jobsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobsListSample.js +1 -1
- package/dist-esm/samples-dev/operationResultGetSample.js +1 -1
- package/dist-esm/samples-dev/operationStatusBackupVaultContextGetSample.js +1 -1
- package/dist-esm/samples-dev/operationStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/operationStatusResourceGroupContextGetSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsListSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetBackupSecurityPinRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultBackupSecurityPinRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteProtectedItemRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDisableSoftDeleteRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectedItemRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDeleteProtectedItemRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDeleteResourceGuardProxyRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetDisableSoftDeleteRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInSubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectedItemRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectionPolicyRequestsObjectsSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsPatchSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardsPatchSample.js.map +1 -1
- package/dist-esm/samples-dev/resourceGuardsPutSample.js +1 -1
- package/dist-esm/samples-dev/restorableTimeRangesFindSample.js +1 -1
- package/dist-esm/src/dataProtectionClient.d.ts +2 -4
- package/dist-esm/src/dataProtectionClient.d.ts.map +1 -1
- package/dist-esm/src/dataProtectionClient.js +4 -6
- package/dist-esm/src/dataProtectionClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +86 -121
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +14 -16
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -8
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +119 -171
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +11 -31
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/backupInstances.d.ts +66 -66
- package/dist-esm/src/operations/backupInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/backupInstances.js +187 -103
- package/dist-esm/src/operations/backupInstances.js.map +1 -1
- package/dist-esm/src/operations/backupPolicies.d.ts +6 -6
- package/dist-esm/src/operations/backupPolicies.js +6 -6
- package/dist-esm/src/operations/backupVaultOperationResults.d.ts +1 -1
- package/dist-esm/src/operations/backupVaultOperationResults.js +1 -1
- package/dist-esm/src/operations/backupVaults.d.ts +21 -14
- package/dist-esm/src/operations/backupVaults.d.ts.map +1 -1
- package/dist-esm/src/operations/backupVaults.js +77 -22
- package/dist-esm/src/operations/backupVaults.js.map +1 -1
- package/dist-esm/src/operations/deletedBackupInstances.d.ts +8 -8
- package/dist-esm/src/operations/deletedBackupInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/deletedBackupInstances.js +16 -12
- package/dist-esm/src/operations/deletedBackupInstances.js.map +1 -1
- package/dist-esm/src/operations/exportJobs.d.ts +4 -4
- package/dist-esm/src/operations/exportJobs.d.ts.map +1 -1
- package/dist-esm/src/operations/exportJobs.js +13 -9
- package/dist-esm/src/operations/exportJobs.js.map +1 -1
- package/dist-esm/src/operations/exportJobsOperationResult.d.ts +1 -1
- package/dist-esm/src/operations/exportJobsOperationResult.js +1 -1
- package/dist-esm/src/operations/index.d.ts +0 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +0 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/jobs.d.ts +4 -4
- package/dist-esm/src/operations/jobs.js +4 -4
- package/dist-esm/src/operations/operationStatusBackupVaultContext.d.ts +1 -1
- package/dist-esm/src/operations/operationStatusBackupVaultContext.js +1 -1
- package/dist-esm/src/operations/operationStatusResourceGroupContext.d.ts +1 -1
- package/dist-esm/src/operations/operationStatusResourceGroupContext.js +1 -1
- package/dist-esm/src/operations/recoveryPoints.d.ts +8 -8
- package/dist-esm/src/operations/recoveryPoints.js +8 -8
- package/dist-esm/src/operations/resourceGuards.d.ts +33 -33
- package/dist-esm/src/operations/resourceGuards.d.ts.map +1 -1
- package/dist-esm/src/operations/resourceGuards.js +35 -32
- package/dist-esm/src/operations/resourceGuards.js.map +1 -1
- package/dist-esm/src/operations/restorableTimeRanges.d.ts +2 -2
- package/dist-esm/src/operations/restorableTimeRanges.js +2 -2
- package/dist-esm/src/operationsInterfaces/backupInstances.d.ts +64 -64
- package/dist-esm/src/operationsInterfaces/backupInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/backupPolicies.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/backupVaultOperationResults.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/backupVaults.d.ts +19 -12
- package/dist-esm/src/operationsInterfaces/backupVaults.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/deletedBackupInstances.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/deletedBackupInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/exportJobs.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/exportJobs.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/exportJobsOperationResult.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/jobs.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/operationStatusBackupVaultContext.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/operationStatusResourceGroupContext.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/resourceGuards.d.ts +19 -19
- package/dist-esm/src/operationsInterfaces/resourceGuards.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/restorableTimeRanges.d.ts +2 -2
- package/dist-esm/test/dataprotection_operations_test.spec.js +3 -3
- package/dist-esm/test/dataprotection_operations_test.spec.js.map +1 -1
- package/package.json +10 -10
- package/review/arm-dataprotection.api.md +72 -164
- package/src/dataProtectionClient.ts +5 -15
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +93 -146
- package/src/models/mappers.ts +129 -185
- package/src/models/parameters.ts +12 -36
- package/src/operations/backupInstances.ts +227 -169
- package/src/operations/backupPolicies.ts +6 -6
- package/src/operations/backupVaultOperationResults.ts +1 -1
- package/src/operations/backupVaults.ts +112 -36
- package/src/operations/deletedBackupInstances.ts +21 -17
- package/src/operations/exportJobs.ts +22 -15
- package/src/operations/exportJobsOperationResult.ts +1 -1
- package/src/operations/index.ts +0 -2
- package/src/operations/jobs.ts +4 -4
- package/src/operations/operationStatusBackupVaultContext.ts +1 -1
- package/src/operations/operationStatusResourceGroupContext.ts +1 -1
- package/src/operations/recoveryPoints.ts +8 -8
- package/src/operations/resourceGuards.ts +37 -34
- package/src/operations/restorableTimeRanges.ts +2 -2
- package/src/operationsInterfaces/backupInstances.ts +70 -70
- package/src/operationsInterfaces/backupPolicies.ts +4 -4
- package/src/operationsInterfaces/backupVaultOperationResults.ts +1 -1
- package/src/operationsInterfaces/backupVaults.ts +25 -14
- package/src/operationsInterfaces/deletedBackupInstances.ts +6 -6
- package/src/operationsInterfaces/exportJobs.ts +5 -5
- package/src/operationsInterfaces/exportJobsOperationResult.ts +1 -1
- package/src/operationsInterfaces/index.ts +0 -2
- package/src/operationsInterfaces/jobs.ts +2 -2
- package/src/operationsInterfaces/operationStatusBackupVaultContext.ts +1 -1
- package/src/operationsInterfaces/operationStatusResourceGroupContext.ts +1 -1
- package/src/operationsInterfaces/recoveryPoints.ts +4 -4
- package/src/operationsInterfaces/resourceGuards.ts +19 -19
- package/src/operationsInterfaces/restorableTimeRanges.ts +2 -2
- package/types/arm-dataprotection.d.ts +225 -322
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.d.ts +0 -2
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.js +0 -52
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.js +0 -40
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.js +0 -40
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.js +0 -53
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.js +0 -45
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.js.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.js +0 -46
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.js.map +0 -1
- package/dist-esm/src/operations/backupInstancesExtensionRouting.d.ts +0 -35
- package/dist-esm/src/operations/backupInstancesExtensionRouting.d.ts.map +0 -1
- package/dist-esm/src/operations/backupInstancesExtensionRouting.js +0 -134
- package/dist-esm/src/operations/backupInstancesExtensionRouting.js.map +0 -1
- package/dist-esm/src/operations/dppResourceGuardProxy.d.ts +0 -66
- package/dist-esm/src/operations/dppResourceGuardProxy.d.ts.map +0 -1
- package/dist-esm/src/operations/dppResourceGuardProxy.js +0 -287
- package/dist-esm/src/operations/dppResourceGuardProxy.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.js +0 -9
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.d.ts +0 -42
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.js +0 -9
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.js.map +0 -1
- package/src/operations/backupInstancesExtensionRouting.ts +0 -161
- package/src/operations/dppResourceGuardProxy.ts +0 -383
- package/src/operationsInterfaces/backupInstancesExtensionRouting.ts +0 -27
- package/src/operationsInterfaces/dppResourceGuardProxy.ts +0 -88
package/src/models/index.ts
CHANGED
|
@@ -95,6 +95,8 @@ export interface BackupVault {
|
|
|
95
95
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
96
96
|
*/
|
|
97
97
|
readonly isVaultProtectedByResourceGuard?: boolean;
|
|
98
|
+
/** Feature Settings */
|
|
99
|
+
featureSettings?: FeatureSettings;
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
/** Monitoring Settings */
|
|
@@ -152,7 +154,35 @@ export interface StorageSetting {
|
|
|
152
154
|
type?: StorageSettingTypes;
|
|
153
155
|
}
|
|
154
156
|
|
|
155
|
-
|
|
157
|
+
/** Class containing feature settings of vault */
|
|
158
|
+
export interface FeatureSettings {
|
|
159
|
+
/** CrossSubscriptionRestore Settings */
|
|
160
|
+
crossSubscriptionRestoreSettings?: CrossSubscriptionRestoreSettings;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/** CrossSubscriptionRestore Settings */
|
|
164
|
+
export interface CrossSubscriptionRestoreSettings {
|
|
165
|
+
/** CrossSubscriptionRestore state */
|
|
166
|
+
state?: CrossSubscriptionRestoreState;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/** Identity details */
|
|
170
|
+
export interface DppIdentityDetails {
|
|
171
|
+
/**
|
|
172
|
+
* The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
|
|
173
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
174
|
+
*/
|
|
175
|
+
readonly principalId?: string;
|
|
176
|
+
/**
|
|
177
|
+
* A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
|
|
178
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
179
|
+
*/
|
|
180
|
+
readonly tenantId?: string;
|
|
181
|
+
/** The identityType which can be either SystemAssigned or None */
|
|
182
|
+
type?: string;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export interface DppBaseTrackedResource {
|
|
156
186
|
/** Optional ETag. */
|
|
157
187
|
eTag?: string;
|
|
158
188
|
/**
|
|
@@ -160,8 +190,6 @@ export interface DppTrackedResource {
|
|
|
160
190
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
161
191
|
*/
|
|
162
192
|
readonly id?: string;
|
|
163
|
-
/** Input Managed Identity Details */
|
|
164
|
-
identity?: DppIdentityDetails;
|
|
165
193
|
/** Resource location. */
|
|
166
194
|
location?: string;
|
|
167
195
|
/**
|
|
@@ -183,22 +211,6 @@ export interface DppTrackedResource {
|
|
|
183
211
|
readonly systemData?: SystemData;
|
|
184
212
|
}
|
|
185
213
|
|
|
186
|
-
/** Identity details */
|
|
187
|
-
export interface DppIdentityDetails {
|
|
188
|
-
/**
|
|
189
|
-
* The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
|
|
190
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
191
|
-
*/
|
|
192
|
-
readonly principalId?: string;
|
|
193
|
-
/**
|
|
194
|
-
* A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
|
|
195
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
196
|
-
*/
|
|
197
|
-
readonly tenantId?: string;
|
|
198
|
-
/** The identityType which can be either SystemAssigned or None */
|
|
199
|
-
type?: string;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
214
|
/** Metadata pertaining to creation and last modification of the resource. */
|
|
203
215
|
export interface SystemData {
|
|
204
216
|
/** The identity that created the resource. */
|
|
@@ -211,7 +223,7 @@ export interface SystemData {
|
|
|
211
223
|
lastModifiedBy?: string;
|
|
212
224
|
/** The type of identity that last modified the resource. */
|
|
213
225
|
lastModifiedByType?: CreatedByType;
|
|
214
|
-
/** The
|
|
226
|
+
/** The timestamp of resource last modification (UTC) */
|
|
215
227
|
lastModifiedAt?: Date;
|
|
216
228
|
}
|
|
217
229
|
|
|
@@ -312,6 +324,8 @@ export interface PatchBackupVaultInput {
|
|
|
312
324
|
monitoringSettings?: MonitoringSettings;
|
|
313
325
|
/** Security Settings */
|
|
314
326
|
securitySettings?: SecuritySettings;
|
|
327
|
+
/** Feature Settings */
|
|
328
|
+
featureSettings?: FeatureSettings;
|
|
315
329
|
}
|
|
316
330
|
|
|
317
331
|
/** CheckNameAvailability Request */
|
|
@@ -909,7 +923,7 @@ export interface ResourceGuard {
|
|
|
909
923
|
* Provisioning state of the BackupVault resource
|
|
910
924
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
911
925
|
*/
|
|
912
|
-
readonly provisioningState?:
|
|
926
|
+
readonly provisioningState?: ProvisioningState;
|
|
913
927
|
/**
|
|
914
928
|
* This flag indicates whether auto approval is allowed or not.
|
|
915
929
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -948,6 +962,12 @@ export interface DppTrackedResourceList {
|
|
|
948
962
|
nextLink?: string;
|
|
949
963
|
}
|
|
950
964
|
|
|
965
|
+
/** Patch Request content for Microsoft.DataProtection Resource Guard resources */
|
|
966
|
+
export interface PatchResourceGuardInput {
|
|
967
|
+
/** Resource Guard tags. */
|
|
968
|
+
tags?: { [propertyName: string]: string };
|
|
969
|
+
}
|
|
970
|
+
|
|
951
971
|
/** Base for all lists of V2 resources. */
|
|
952
972
|
export interface DppBaseResourceList {
|
|
953
973
|
/** List of Dpp resources. */
|
|
@@ -975,30 +995,6 @@ export interface DppBaseResource {
|
|
|
975
995
|
readonly type?: string;
|
|
976
996
|
}
|
|
977
997
|
|
|
978
|
-
export interface ResourceGuardProxyBase {
|
|
979
|
-
resourceGuardResourceId?: string;
|
|
980
|
-
resourceGuardOperationDetails?: ResourceGuardOperationDetail[];
|
|
981
|
-
lastUpdatedTime?: string;
|
|
982
|
-
description?: string;
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
export interface ResourceGuardOperationDetail {
|
|
986
|
-
vaultCriticalOperation?: string;
|
|
987
|
-
defaultResourceRequest?: string;
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
/** Request body of unlock delete API. */
|
|
991
|
-
export interface UnlockDeleteRequest {
|
|
992
|
-
resourceGuardOperationRequests?: string[];
|
|
993
|
-
resourceToBeDeleted?: string;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
/** Response of Unlock Delete API. */
|
|
997
|
-
export interface UnlockDeleteResponse {
|
|
998
|
-
/** This is the time when unlock delete privileges will get expired. */
|
|
999
|
-
unlockDeleteExpiryTime?: string;
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
998
|
/** Delete Option */
|
|
1003
999
|
export interface DeleteOption {
|
|
1004
1000
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -1172,6 +1168,12 @@ export interface TargetDetails {
|
|
|
1172
1168
|
restoreTargetLocationType: RestoreTargetLocationType;
|
|
1173
1169
|
/** Url denoting the restore destination. It can point to container / file share etc */
|
|
1174
1170
|
url: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* Full ARM Id denoting the restore destination. It is the ARM Id pointing to container / file share
|
|
1173
|
+
* This is optional if the target subscription can be identified with the URL field. If not
|
|
1174
|
+
* then this is needed if CrossSubscriptionRestore field of BackupVault is in any of the disabled states
|
|
1175
|
+
*/
|
|
1176
|
+
targetResourceArmId?: string;
|
|
1175
1177
|
}
|
|
1176
1178
|
|
|
1177
1179
|
/** Tagging criteria */
|
|
@@ -1196,13 +1198,12 @@ export interface SecretStoreResource {
|
|
|
1196
1198
|
value?: string;
|
|
1197
1199
|
}
|
|
1198
1200
|
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
properties: BackupVault;
|
|
1201
|
+
export interface DppTrackedResource extends DppBaseTrackedResource {
|
|
1202
|
+
/** Input Managed Identity Details */
|
|
1203
|
+
identity?: DppIdentityDetails;
|
|
1203
1204
|
}
|
|
1204
1205
|
|
|
1205
|
-
export interface ResourceGuardResource extends
|
|
1206
|
+
export interface ResourceGuardResource extends DppBaseTrackedResource {
|
|
1206
1207
|
/** ResourceGuardResource properties */
|
|
1207
1208
|
properties?: ResourceGuard;
|
|
1208
1209
|
}
|
|
@@ -1243,12 +1244,6 @@ export interface DeletedBackupInstanceResourceList extends DppResourceList {
|
|
|
1243
1244
|
value?: DeletedBackupInstanceResource[];
|
|
1244
1245
|
}
|
|
1245
1246
|
|
|
1246
|
-
/** List of ResourceGuardProxyBase resources */
|
|
1247
|
-
export interface ResourceGuardProxyBaseResourceList extends DppResourceList {
|
|
1248
|
-
/** List of resources. */
|
|
1249
|
-
value?: ResourceGuardProxyBaseResource[];
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
1247
|
/** Operation Job Extended Info */
|
|
1253
1248
|
export interface OperationJobExtendedInfo extends OperationExtendedInfo {
|
|
1254
1249
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
@@ -1317,11 +1312,6 @@ export interface DeletedBackupInstanceResource extends DppResource {
|
|
|
1317
1312
|
properties?: DeletedBackupInstance;
|
|
1318
1313
|
}
|
|
1319
1314
|
|
|
1320
|
-
export interface ResourceGuardProxyBaseResource extends DppResource {
|
|
1321
|
-
/** ResourceGuardProxyBaseResource properties */
|
|
1322
|
-
properties?: ResourceGuardProxyBase;
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
1315
|
/** Deleted Backup Instance */
|
|
1326
1316
|
export interface DeletedBackupInstance extends BackupInstance {
|
|
1327
1317
|
/**
|
|
@@ -1397,6 +1387,8 @@ export interface AzureBackupDiscreteRecoveryPoint
|
|
|
1397
1387
|
recoveryPointType?: string;
|
|
1398
1388
|
retentionTagName?: string;
|
|
1399
1389
|
retentionTagVersion?: string;
|
|
1390
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
1391
|
+
readonly expiryTime?: Date;
|
|
1400
1392
|
}
|
|
1401
1393
|
|
|
1402
1394
|
/** Azure backup recoveryPoint based restore request */
|
|
@@ -1619,7 +1611,7 @@ export interface KubernetesClusterRestoreCriteria
|
|
|
1619
1611
|
excludedResourceTypes?: string[];
|
|
1620
1612
|
/** Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore. */
|
|
1621
1613
|
labelSelectors?: string[];
|
|
1622
|
-
/** Gets or sets the PV Restore Mode property. This property sets whether volumes needs to be restored. */
|
|
1614
|
+
/** Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored. */
|
|
1623
1615
|
persistentVolumeRestoreMode?: PersistentVolumeRestoreMode;
|
|
1624
1616
|
/** Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore. */
|
|
1625
1617
|
conflictPolicy?: ExistingResourcePolicy;
|
|
@@ -1627,6 +1619,12 @@ export interface KubernetesClusterRestoreCriteria
|
|
|
1627
1619
|
namespaceMappings?: { [propertyName: string]: string };
|
|
1628
1620
|
}
|
|
1629
1621
|
|
|
1622
|
+
/** Backup Vault Resource */
|
|
1623
|
+
export interface BackupVaultResource extends DppTrackedResource {
|
|
1624
|
+
/** BackupVaultResource properties */
|
|
1625
|
+
properties: BackupVault;
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1630
1628
|
/** AzureBackup Restore with Rehydration Request */
|
|
1631
1629
|
export interface AzureBackupRestoreWithRehydrationRequest
|
|
1632
1630
|
extends AzureBackupRecoveryPointBasedRestoreRequest {
|
|
@@ -1917,8 +1915,8 @@ export type ImmutabilityState = string;
|
|
|
1917
1915
|
export enum KnownStorageSettingStoreTypes {
|
|
1918
1916
|
/** ArchiveStore */
|
|
1919
1917
|
ArchiveStore = "ArchiveStore",
|
|
1920
|
-
/**
|
|
1921
|
-
|
|
1918
|
+
/** OperationalStore */
|
|
1919
|
+
OperationalStore = "OperationalStore",
|
|
1922
1920
|
/** VaultStore */
|
|
1923
1921
|
VaultStore = "VaultStore"
|
|
1924
1922
|
}
|
|
@@ -1929,7 +1927,7 @@ export enum KnownStorageSettingStoreTypes {
|
|
|
1929
1927
|
* this enum contains the known values that the service supports.
|
|
1930
1928
|
* ### Known values supported by the service
|
|
1931
1929
|
* **ArchiveStore** \
|
|
1932
|
-
* **
|
|
1930
|
+
* **OperationalStore** \
|
|
1933
1931
|
* **VaultStore**
|
|
1934
1932
|
*/
|
|
1935
1933
|
export type StorageSettingStoreTypes = string;
|
|
@@ -1955,6 +1953,27 @@ export enum KnownStorageSettingTypes {
|
|
|
1955
1953
|
*/
|
|
1956
1954
|
export type StorageSettingTypes = string;
|
|
1957
1955
|
|
|
1956
|
+
/** Known values of {@link CrossSubscriptionRestoreState} that the service accepts. */
|
|
1957
|
+
export enum KnownCrossSubscriptionRestoreState {
|
|
1958
|
+
/** Disabled */
|
|
1959
|
+
Disabled = "Disabled",
|
|
1960
|
+
/** PermanentlyDisabled */
|
|
1961
|
+
PermanentlyDisabled = "PermanentlyDisabled",
|
|
1962
|
+
/** Enabled */
|
|
1963
|
+
Enabled = "Enabled"
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* Defines values for CrossSubscriptionRestoreState. \
|
|
1968
|
+
* {@link KnownCrossSubscriptionRestoreState} can be used interchangeably with CrossSubscriptionRestoreState,
|
|
1969
|
+
* this enum contains the known values that the service supports.
|
|
1970
|
+
* ### Known values supported by the service
|
|
1971
|
+
* **Disabled** \
|
|
1972
|
+
* **PermanentlyDisabled** \
|
|
1973
|
+
* **Enabled**
|
|
1974
|
+
*/
|
|
1975
|
+
export type CrossSubscriptionRestoreState = string;
|
|
1976
|
+
|
|
1958
1977
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
1959
1978
|
export enum KnownCreatedByType {
|
|
1960
1979
|
/** User */
|
|
@@ -2138,6 +2157,8 @@ export enum KnownSourceDataStoreType {
|
|
|
2138
2157
|
ArchiveStore = "ArchiveStore",
|
|
2139
2158
|
/** SnapshotStore */
|
|
2140
2159
|
SnapshotStore = "SnapshotStore",
|
|
2160
|
+
/** OperationalStore */
|
|
2161
|
+
OperationalStore = "OperationalStore",
|
|
2141
2162
|
/** VaultStore */
|
|
2142
2163
|
VaultStore = "VaultStore"
|
|
2143
2164
|
}
|
|
@@ -2149,6 +2170,7 @@ export enum KnownSourceDataStoreType {
|
|
|
2149
2170
|
* ### Known values supported by the service
|
|
2150
2171
|
* **ArchiveStore** \
|
|
2151
2172
|
* **SnapshotStore** \
|
|
2173
|
+
* **OperationalStore** \
|
|
2152
2174
|
* **VaultStore**
|
|
2153
2175
|
*/
|
|
2154
2176
|
export type SourceDataStoreType = string;
|
|
@@ -2192,33 +2214,6 @@ export enum KnownRestoreSourceDataStoreType {
|
|
|
2192
2214
|
*/
|
|
2193
2215
|
export type RestoreSourceDataStoreType = string;
|
|
2194
2216
|
|
|
2195
|
-
/** Known values of {@link ResourceGuardProvisioningState} that the service accepts. */
|
|
2196
|
-
export enum KnownResourceGuardProvisioningState {
|
|
2197
|
-
/** Failed */
|
|
2198
|
-
Failed = "Failed",
|
|
2199
|
-
/** Provisioning */
|
|
2200
|
-
Provisioning = "Provisioning",
|
|
2201
|
-
/** Succeeded */
|
|
2202
|
-
Succeeded = "Succeeded",
|
|
2203
|
-
/** Unknown */
|
|
2204
|
-
Unknown = "Unknown",
|
|
2205
|
-
/** Updating */
|
|
2206
|
-
Updating = "Updating"
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
/**
|
|
2210
|
-
* Defines values for ResourceGuardProvisioningState. \
|
|
2211
|
-
* {@link KnownResourceGuardProvisioningState} can be used interchangeably with ResourceGuardProvisioningState,
|
|
2212
|
-
* this enum contains the known values that the service supports.
|
|
2213
|
-
* ### Known values supported by the service
|
|
2214
|
-
* **Failed** \
|
|
2215
|
-
* **Provisioning** \
|
|
2216
|
-
* **Succeeded** \
|
|
2217
|
-
* **Unknown** \
|
|
2218
|
-
* **Updating**
|
|
2219
|
-
*/
|
|
2220
|
-
export type ResourceGuardProvisioningState = string;
|
|
2221
|
-
|
|
2222
2217
|
/** Known values of {@link RehydrationStatus} that the service accepts. */
|
|
2223
2218
|
export enum KnownRehydrationStatus {
|
|
2224
2219
|
/** CreateINProgress */
|
|
@@ -2539,7 +2534,12 @@ export type BackupVaultsCreateOrUpdateResponse = BackupVaultResource;
|
|
|
2539
2534
|
|
|
2540
2535
|
/** Optional parameters. */
|
|
2541
2536
|
export interface BackupVaultsDeleteOptionalParams
|
|
2542
|
-
extends coreClient.OperationOptions {
|
|
2537
|
+
extends coreClient.OperationOptions {
|
|
2538
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2539
|
+
updateIntervalInMs?: number;
|
|
2540
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2541
|
+
resumeFrom?: string;
|
|
2542
|
+
}
|
|
2543
2543
|
|
|
2544
2544
|
/** Optional parameters. */
|
|
2545
2545
|
export interface BackupVaultsUpdateOptionalParams
|
|
@@ -2816,20 +2816,6 @@ export interface BackupInstancesListNextOptionalParams
|
|
|
2816
2816
|
/** Contains response data for the listNext operation. */
|
|
2817
2817
|
export type BackupInstancesListNextResponse = BackupInstanceResourceList;
|
|
2818
2818
|
|
|
2819
|
-
/** Optional parameters. */
|
|
2820
|
-
export interface BackupInstancesExtensionRoutingListOptionalParams
|
|
2821
|
-
extends coreClient.OperationOptions {}
|
|
2822
|
-
|
|
2823
|
-
/** Contains response data for the list operation. */
|
|
2824
|
-
export type BackupInstancesExtensionRoutingListResponse = BackupInstanceResourceList;
|
|
2825
|
-
|
|
2826
|
-
/** Optional parameters. */
|
|
2827
|
-
export interface BackupInstancesExtensionRoutingListNextOptionalParams
|
|
2828
|
-
extends coreClient.OperationOptions {}
|
|
2829
|
-
|
|
2830
|
-
/** Contains response data for the listNext operation. */
|
|
2831
|
-
export type BackupInstancesExtensionRoutingListNextResponse = BackupInstanceResourceList;
|
|
2832
|
-
|
|
2833
2819
|
/** Optional parameters. */
|
|
2834
2820
|
export interface RecoveryPointsListOptionalParams
|
|
2835
2821
|
extends coreClient.OperationOptions {
|
|
@@ -3110,45 +3096,6 @@ export interface ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextOptional
|
|
|
3110
3096
|
/** Contains response data for the getUpdateProtectedItemRequestsObjectsNext operation. */
|
|
3111
3097
|
export type ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextResponse = DppBaseResourceList;
|
|
3112
3098
|
|
|
3113
|
-
/** Optional parameters. */
|
|
3114
|
-
export interface DppResourceGuardProxyListOptionalParams
|
|
3115
|
-
extends coreClient.OperationOptions {}
|
|
3116
|
-
|
|
3117
|
-
/** Contains response data for the list operation. */
|
|
3118
|
-
export type DppResourceGuardProxyListResponse = ResourceGuardProxyBaseResourceList;
|
|
3119
|
-
|
|
3120
|
-
/** Optional parameters. */
|
|
3121
|
-
export interface DppResourceGuardProxyGetOptionalParams
|
|
3122
|
-
extends coreClient.OperationOptions {}
|
|
3123
|
-
|
|
3124
|
-
/** Contains response data for the get operation. */
|
|
3125
|
-
export type DppResourceGuardProxyGetResponse = ResourceGuardProxyBaseResource;
|
|
3126
|
-
|
|
3127
|
-
/** Optional parameters. */
|
|
3128
|
-
export interface DppResourceGuardProxyPutOptionalParams
|
|
3129
|
-
extends coreClient.OperationOptions {}
|
|
3130
|
-
|
|
3131
|
-
/** Contains response data for the put operation. */
|
|
3132
|
-
export type DppResourceGuardProxyPutResponse = ResourceGuardProxyBaseResource;
|
|
3133
|
-
|
|
3134
|
-
/** Optional parameters. */
|
|
3135
|
-
export interface DppResourceGuardProxyDeleteOptionalParams
|
|
3136
|
-
extends coreClient.OperationOptions {}
|
|
3137
|
-
|
|
3138
|
-
/** Optional parameters. */
|
|
3139
|
-
export interface DppResourceGuardProxyUnlockDeleteOptionalParams
|
|
3140
|
-
extends coreClient.OperationOptions {}
|
|
3141
|
-
|
|
3142
|
-
/** Contains response data for the unlockDelete operation. */
|
|
3143
|
-
export type DppResourceGuardProxyUnlockDeleteResponse = UnlockDeleteResponse;
|
|
3144
|
-
|
|
3145
|
-
/** Optional parameters. */
|
|
3146
|
-
export interface DppResourceGuardProxyListNextOptionalParams
|
|
3147
|
-
extends coreClient.OperationOptions {}
|
|
3148
|
-
|
|
3149
|
-
/** Contains response data for the listNext operation. */
|
|
3150
|
-
export type DppResourceGuardProxyListNextResponse = ResourceGuardProxyBaseResourceList;
|
|
3151
|
-
|
|
3152
3099
|
/** Optional parameters. */
|
|
3153
3100
|
export interface DataProtectionClientOptionalParams
|
|
3154
3101
|
extends coreClient.ServiceClientOptions {
|