@azure/arm-recoveryservicesbackup 10.1.1-alpha.20230823.1 → 11.0.0-alpha.20230904.1
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 +24 -8
- package/dist/index.js +108 -38
- 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/backupEnginesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupEnginesListSample.js +1 -1
- package/dist-esm/samples-dev/backupJobsListSample.js +3 -3
- package/dist-esm/samples-dev/backupOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/backupPoliciesListSample.js +3 -3
- package/dist-esm/samples-dev/backupProtectableItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectedItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/backupProtectionIntentListSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js +1 -1
- package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/backupStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/backupUsageSummariesListSample.js +2 -2
- package/dist-esm/samples-dev/backupWorkloadItemsListSample.js +1 -1
- package/dist-esm/samples-dev/backupsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js +1 -1
- package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js +1 -1
- package/dist-esm/samples-dev/deletedProtectionContainersListSample.js +1 -1
- package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/featureSupportValidateSample.js +1 -1
- package/dist-esm/samples-dev/getOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js +1 -1
- package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js +1 -1
- package/dist-esm/samples-dev/jobCancellationsTriggerSample.js +1 -1
- package/dist-esm/samples-dev/jobDetailsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/jobsExportSample.js +1 -1
- package/dist-esm/samples-dev/moveRecoveryPointSample.js +1 -1
- package/dist-esm/samples-dev/operationValidateSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js +2 -1
- package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js +1 -1
- package/dist-esm/samples-dev/protectableContainersListSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/protectedItemsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectedItemsGetSample.js +2 -2
- package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersInquireSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersRefreshSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersRegisterSample.js +1 -1
- package/dist-esm/samples-dev/protectionContainersUnregisterSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionIntentValidateSample.js +1 -1
- package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js +7 -7
- package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/protectionPoliciesGetSample.js +2 -2
- package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.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/recoveryPointsRecommendedForMoveListSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyGetSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyPutSample.js +1 -1
- package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js +1 -1
- package/dist-esm/samples-dev/restoresTriggerSample.js +6 -6
- package/dist-esm/samples-dev/securityPiNsGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationStatusesGetSample.js +1 -1
- package/dist-esm/samples-dev/validateOperationTriggerSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +60 -21
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -3
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +91 -33
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/recoveryServicesBackupClient.js +2 -2
- package/package.json +3 -3
- package/review/arm-recoveryservicesbackup.api.md +25 -7
- package/src/models/index.ts +63 -22
- package/src/models/mappers.ts +95 -34
- package/src/models/parameters.ts +1 -1
- package/src/recoveryServicesBackupClient.ts +2 -2
- package/types/arm-recoveryservicesbackup.d.ts +52 -11
|
@@ -36,7 +36,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
36
36
|
requestContentType: "application/json; charset=utf-8",
|
|
37
37
|
credential: credentials
|
|
38
38
|
};
|
|
39
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/
|
|
39
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/11.0.0`;
|
|
40
40
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
41
41
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
42
42
|
: `${packageDetails}`;
|
|
@@ -69,7 +69,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
69
69
|
this.subscriptionId = subscriptionId;
|
|
70
70
|
// Assigning values to Constant parameters
|
|
71
71
|
this.$host = options.$host || "https://management.azure.com";
|
|
72
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
72
|
+
this.apiVersion = options.apiVersion || "2023-04-01";
|
|
73
73
|
this.backupResourceStorageConfigsNonCRR = new BackupResourceStorageConfigsNonCRRImpl(this);
|
|
74
74
|
this.protectionIntentOperations = new ProtectionIntentOperationsImpl(this);
|
|
75
75
|
this.backupStatus = new BackupStatusImpl(this);
|
package/package.json
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for RecoveryServicesBackupClient.",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "11.0.0-alpha.20230904.1",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=14.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@azure/core-lro": "^2.5.
|
|
11
|
+
"@azure/core-lro": "^2.5.4",
|
|
12
12
|
"@azure/abort-controller": "^1.0.0",
|
|
13
13
|
"@azure/core-paging": "^1.2.0",
|
|
14
14
|
"@azure/core-client": "^1.7.0",
|
|
15
15
|
"@azure/core-auth": "^1.3.0",
|
|
16
|
-
"@azure/core-rest-pipeline": "^1.
|
|
16
|
+
"@azure/core-rest-pipeline": "^1.12.0",
|
|
17
17
|
"tslib": "^2.2.0"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
@@ -377,17 +377,18 @@ export type AzureVmWorkloadItemUnion = AzureVmWorkloadItem | AzureVmWorkloadSAPA
|
|
|
377
377
|
export interface AzureVmWorkloadProtectableItem extends WorkloadProtectableItem {
|
|
378
378
|
isAutoProtectable?: boolean;
|
|
379
379
|
isAutoProtected?: boolean;
|
|
380
|
+
isProtectable?: boolean;
|
|
380
381
|
parentName?: string;
|
|
381
382
|
parentUniqueName?: string;
|
|
382
383
|
prebackupvalidation?: PreBackupValidation;
|
|
383
|
-
protectableItemType: "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "
|
|
384
|
+
protectableItemType: "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
|
|
384
385
|
serverName?: string;
|
|
385
386
|
subinquireditemcount?: number;
|
|
386
387
|
subprotectableitemcount?: number;
|
|
387
388
|
}
|
|
388
389
|
|
|
389
390
|
// @public (undocumented)
|
|
390
|
-
export type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSAPHanaDBInstance |
|
|
391
|
+
export type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSAPHanaDBInstance | AzureVmWorkloadSAPHanaHSRProtectableItem | AzureVmWorkloadSQLAvailabilityGroupProtectableItem | AzureVmWorkloadSQLDatabaseProtectableItem | AzureVmWorkloadSQLInstanceProtectableItem;
|
|
391
392
|
|
|
392
393
|
// @public
|
|
393
394
|
export interface AzureVmWorkloadProtectedItem extends ProtectedItem {
|
|
@@ -399,6 +400,7 @@ export interface AzureVmWorkloadProtectedItem extends ProtectedItem {
|
|
|
399
400
|
lastBackupErrorDetail?: ErrorDetail;
|
|
400
401
|
lastBackupStatus?: LastBackupStatus;
|
|
401
402
|
lastBackupTime?: Date;
|
|
403
|
+
nodesList?: DistributedNodesInfo[];
|
|
402
404
|
parentName?: string;
|
|
403
405
|
parentType?: string;
|
|
404
406
|
protectedItemDataSourceId?: string;
|
|
@@ -478,8 +480,8 @@ export interface AzureVmWorkloadSAPHanaDBInstanceProtectedItem extends AzureVmWo
|
|
|
478
480
|
}
|
|
479
481
|
|
|
480
482
|
// @public
|
|
481
|
-
export interface
|
|
482
|
-
protectableItemType: "
|
|
483
|
+
export interface AzureVmWorkloadSAPHanaHSRProtectableItem extends AzureVmWorkloadProtectableItem {
|
|
484
|
+
protectableItemType: "HanaHSRContainer";
|
|
483
485
|
}
|
|
484
486
|
|
|
485
487
|
// @public
|
|
@@ -494,6 +496,7 @@ export interface AzureVmWorkloadSAPHanaSystemWorkloadItem extends AzureVmWorkloa
|
|
|
494
496
|
|
|
495
497
|
// @public
|
|
496
498
|
export interface AzureVmWorkloadSQLAvailabilityGroupProtectableItem extends AzureVmWorkloadProtectableItem {
|
|
499
|
+
nodesList?: DistributedNodesInfo[];
|
|
497
500
|
protectableItemType: "SQLAvailabilityGroupContainer";
|
|
498
501
|
}
|
|
499
502
|
|
|
@@ -1087,6 +1090,7 @@ export interface BackupResourceVaultConfig {
|
|
|
1087
1090
|
isSoftDeleteFeatureStateEditable?: boolean;
|
|
1088
1091
|
resourceGuardOperationRequests?: string[];
|
|
1089
1092
|
softDeleteFeatureState?: SoftDeleteFeatureState;
|
|
1093
|
+
softDeleteRetentionPeriodInDays?: number;
|
|
1090
1094
|
storageModelType?: StorageType;
|
|
1091
1095
|
storageType?: StorageType;
|
|
1092
1096
|
storageTypeState?: StorageTypeState;
|
|
@@ -1451,6 +1455,7 @@ export interface DiskInformation {
|
|
|
1451
1455
|
export interface DistributedNodesInfo {
|
|
1452
1456
|
errorDetail?: ErrorDetail;
|
|
1453
1457
|
nodeName?: string;
|
|
1458
|
+
sourceResourceId?: string;
|
|
1454
1459
|
status?: string;
|
|
1455
1460
|
}
|
|
1456
1461
|
|
|
@@ -1852,6 +1857,7 @@ export type InquiryStatus = string;
|
|
|
1852
1857
|
export interface InquiryValidation {
|
|
1853
1858
|
readonly additionalDetail?: string;
|
|
1854
1859
|
errorDetail?: ErrorDetail;
|
|
1860
|
+
readonly protectableItemCount?: Record<string, unknown>;
|
|
1855
1861
|
status?: string;
|
|
1856
1862
|
}
|
|
1857
1863
|
|
|
@@ -2437,6 +2443,7 @@ export enum KnownScheduleRunType {
|
|
|
2437
2443
|
|
|
2438
2444
|
// @public
|
|
2439
2445
|
export enum KnownSoftDeleteFeatureState {
|
|
2446
|
+
AlwaysON = "AlwaysON",
|
|
2440
2447
|
Disabled = "Disabled",
|
|
2441
2448
|
Enabled = "Enabled",
|
|
2442
2449
|
Invalid = "Invalid"
|
|
@@ -2506,6 +2513,13 @@ export enum KnownValidationStatus {
|
|
|
2506
2513
|
Succeeded = "Succeeded"
|
|
2507
2514
|
}
|
|
2508
2515
|
|
|
2516
|
+
// @public
|
|
2517
|
+
export enum KnownVaultSubResourceType {
|
|
2518
|
+
AzureBackup = "AzureBackup",
|
|
2519
|
+
AzureBackupSecondary = "AzureBackup_secondary",
|
|
2520
|
+
AzureSiteRecovery = "AzureSiteRecovery"
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2509
2523
|
// @public
|
|
2510
2524
|
export enum KnownWorkloadItemType {
|
|
2511
2525
|
Invalid = "Invalid",
|
|
@@ -2900,6 +2914,7 @@ export interface PrivateEndpoint {
|
|
|
2900
2914
|
|
|
2901
2915
|
// @public
|
|
2902
2916
|
export interface PrivateEndpointConnection {
|
|
2917
|
+
groupIds?: VaultSubResourceType[];
|
|
2903
2918
|
privateEndpoint?: PrivateEndpoint;
|
|
2904
2919
|
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
2905
2920
|
provisioningState?: ProvisioningState;
|
|
@@ -2958,7 +2973,7 @@ export interface PrivateEndpointOperations {
|
|
|
2958
2973
|
|
|
2959
2974
|
// @public
|
|
2960
2975
|
export interface PrivateLinkServiceConnectionState {
|
|
2961
|
-
|
|
2976
|
+
actionsRequired?: string;
|
|
2962
2977
|
description?: string;
|
|
2963
2978
|
status?: PrivateEndpointConnectionStatus;
|
|
2964
2979
|
}
|
|
@@ -3025,7 +3040,7 @@ export interface ProtectedItem {
|
|
|
3025
3040
|
policyName?: string;
|
|
3026
3041
|
protectedItemType: "AzureFileShareProtectedItem" | "AzureIaaSVMProtectedItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "Microsoft.Sql/servers/databases" | "AzureVmWorkloadProtectedItem" | "AzureVmWorkloadSAPAseDatabase" | "AzureVmWorkloadSAPHanaDatabase" | "AzureVmWorkloadSAPHanaDBInstance" | "AzureVmWorkloadSQLDatabase" | "DPMProtectedItem" | "GenericProtectedItem" | "MabFileFolderProtectedItem";
|
|
3027
3042
|
resourceGuardOperationRequests?: string[];
|
|
3028
|
-
|
|
3043
|
+
softDeleteRetentionPeriodInDays?: number;
|
|
3029
3044
|
sourceResourceId?: string;
|
|
3030
3045
|
readonly workloadType?: DataSourceType;
|
|
3031
3046
|
}
|
|
@@ -4041,6 +4056,9 @@ export interface VaultStorageConfigOperationResultResponse {
|
|
|
4041
4056
|
// @public (undocumented)
|
|
4042
4057
|
export type VaultStorageConfigOperationResultResponseUnion = VaultStorageConfigOperationResultResponse | PrepareDataMoveResponse;
|
|
4043
4058
|
|
|
4059
|
+
// @public
|
|
4060
|
+
export type VaultSubResourceType = string;
|
|
4061
|
+
|
|
4044
4062
|
// @public
|
|
4045
4063
|
export interface WeeklyRetentionFormat {
|
|
4046
4064
|
daysOfTheWeek?: DayOfWeek[];
|
|
@@ -4100,7 +4118,7 @@ export type WorkloadItemUnion = WorkloadItem | AzureVmWorkloadItemUnion;
|
|
|
4100
4118
|
export interface WorkloadProtectableItem {
|
|
4101
4119
|
backupManagementType?: string;
|
|
4102
4120
|
friendlyName?: string;
|
|
4103
|
-
protectableItemType: "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "
|
|
4121
|
+
protectableItemType: "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
|
|
4104
4122
|
protectionState?: ProtectionStatus;
|
|
4105
4123
|
workloadType?: string;
|
|
4106
4124
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -168,7 +168,7 @@ export type AzureVmWorkloadProtectableItemUnion =
|
|
|
168
168
|
| AzureVmWorkloadSAPHanaDatabaseProtectableItem
|
|
169
169
|
| AzureVmWorkloadSAPHanaSystemProtectableItem
|
|
170
170
|
| AzureVmWorkloadSAPHanaDBInstance
|
|
171
|
-
|
|
|
171
|
+
| AzureVmWorkloadSAPHanaHSRProtectableItem
|
|
172
172
|
| AzureVmWorkloadSQLAvailabilityGroupProtectableItem
|
|
173
173
|
| AzureVmWorkloadSQLDatabaseProtectableItem
|
|
174
174
|
| AzureVmWorkloadSQLInstanceProtectableItem;
|
|
@@ -490,9 +490,11 @@ export interface BackupResourceVaultConfig {
|
|
|
490
490
|
enhancedSecurityState?: EnhancedSecurityState;
|
|
491
491
|
/** Soft Delete feature state */
|
|
492
492
|
softDeleteFeatureState?: SoftDeleteFeatureState;
|
|
493
|
+
/** Soft delete retention period in days */
|
|
494
|
+
softDeleteRetentionPeriodInDays?: number;
|
|
493
495
|
/** ResourceGuard Operation Requests */
|
|
494
496
|
resourceGuardOperationRequests?: string[];
|
|
495
|
-
/**
|
|
497
|
+
/** This flag is no longer in use. Please use 'softDeleteFeatureState' to set the soft delete state for the vault */
|
|
496
498
|
isSoftDeleteFeatureStateEditable?: boolean;
|
|
497
499
|
}
|
|
498
500
|
|
|
@@ -513,6 +515,8 @@ export interface PrivateEndpointConnection {
|
|
|
513
515
|
provisioningState?: ProvisioningState;
|
|
514
516
|
/** Gets or sets private endpoint associated with the private endpoint connection */
|
|
515
517
|
privateEndpoint?: PrivateEndpoint;
|
|
518
|
+
/** Group Ids for the Private Endpoint */
|
|
519
|
+
groupIds?: VaultSubResourceType[];
|
|
516
520
|
/** Gets or sets private link service connection state */
|
|
517
521
|
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
518
522
|
}
|
|
@@ -530,7 +534,7 @@ export interface PrivateLinkServiceConnectionState {
|
|
|
530
534
|
/** Gets or sets description */
|
|
531
535
|
description?: string;
|
|
532
536
|
/** Gets or sets actions required */
|
|
533
|
-
|
|
537
|
+
actionsRequired?: string;
|
|
534
538
|
}
|
|
535
539
|
|
|
536
540
|
/** An error response from the Container Instance service. */
|
|
@@ -699,7 +703,7 @@ export interface ProtectedItem {
|
|
|
699
703
|
/** Name of the policy used for protection */
|
|
700
704
|
policyName?: string;
|
|
701
705
|
/** Soft delete retention period in days */
|
|
702
|
-
|
|
706
|
+
softDeleteRetentionPeriodInDays?: number;
|
|
703
707
|
}
|
|
704
708
|
|
|
705
709
|
/** Base class for backup copies. Workload-specific backup copies are derived from this class. */
|
|
@@ -974,7 +978,7 @@ export interface WorkloadProtectableItem {
|
|
|
974
978
|
| "SAPHanaDatabase"
|
|
975
979
|
| "SAPHanaSystem"
|
|
976
980
|
| "SAPHanaDBInstance"
|
|
977
|
-
| "
|
|
981
|
+
| "HanaHSRContainer"
|
|
978
982
|
| "SQLAvailabilityGroupContainer"
|
|
979
983
|
| "SQLDataBase"
|
|
980
984
|
| "SQLInstance";
|
|
@@ -1349,6 +1353,21 @@ export interface AzureVmWorkloadProtectedItemExtendedInfo {
|
|
|
1349
1353
|
recoveryModel?: string;
|
|
1350
1354
|
}
|
|
1351
1355
|
|
|
1356
|
+
/** This is used to represent the various nodes of the distributed container. */
|
|
1357
|
+
export interface DistributedNodesInfo {
|
|
1358
|
+
/** Name of the node under a distributed container. */
|
|
1359
|
+
nodeName?: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Status of this Node.
|
|
1362
|
+
* Failed | Succeeded
|
|
1363
|
+
*/
|
|
1364
|
+
status?: string;
|
|
1365
|
+
/** Error Details if the Status is non-success. */
|
|
1366
|
+
errorDetail?: ErrorDetail;
|
|
1367
|
+
/** ARM resource id of the node */
|
|
1368
|
+
sourceResourceId?: string;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1352
1371
|
/** Azure storage specific error information */
|
|
1353
1372
|
export interface AzureWorkloadErrorInfo {
|
|
1354
1373
|
/** Error code. */
|
|
@@ -1912,19 +1931,11 @@ export interface InquiryValidation {
|
|
|
1912
1931
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1913
1932
|
*/
|
|
1914
1933
|
readonly additionalDetail?: string;
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
/** This is used to represent the various nodes of the distributed container. */
|
|
1918
|
-
export interface DistributedNodesInfo {
|
|
1919
|
-
/** Name of the node under a distributed container. */
|
|
1920
|
-
nodeName?: string;
|
|
1921
1934
|
/**
|
|
1922
|
-
*
|
|
1923
|
-
*
|
|
1935
|
+
* Dictionary to store the count of ProtectableItems with key POType.
|
|
1936
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1924
1937
|
*/
|
|
1925
|
-
|
|
1926
|
-
/** Error Details if the Status is non-success. */
|
|
1927
|
-
errorDetail?: ErrorDetail;
|
|
1938
|
+
readonly protectableItemCount?: Record<string, unknown>;
|
|
1928
1939
|
}
|
|
1929
1940
|
|
|
1930
1941
|
/** Pre-backup validation for Azure VM Workload provider. */
|
|
@@ -2508,6 +2519,8 @@ export interface AzureVmWorkloadProtectedItem extends ProtectedItem {
|
|
|
2508
2519
|
extendedInfo?: AzureVmWorkloadProtectedItemExtendedInfo;
|
|
2509
2520
|
/** Health details of different KPIs */
|
|
2510
2521
|
kpisHealths?: { [propertyName: string]: KPIResourceHealthDetails };
|
|
2522
|
+
/** List of the nodes in case of distributed container. */
|
|
2523
|
+
nodesList?: DistributedNodesInfo[];
|
|
2511
2524
|
}
|
|
2512
2525
|
|
|
2513
2526
|
/** Additional information on Backup engine specific backup item. */
|
|
@@ -3280,7 +3293,7 @@ export interface AzureVmWorkloadProtectableItem
|
|
|
3280
3293
|
| "SAPHanaDatabase"
|
|
3281
3294
|
| "SAPHanaSystem"
|
|
3282
3295
|
| "SAPHanaDBInstance"
|
|
3283
|
-
| "
|
|
3296
|
+
| "HanaHSRContainer"
|
|
3284
3297
|
| "SQLAvailabilityGroupContainer"
|
|
3285
3298
|
| "SQLDataBase"
|
|
3286
3299
|
| "SQLInstance";
|
|
@@ -3303,6 +3316,8 @@ export interface AzureVmWorkloadProtectableItem
|
|
|
3303
3316
|
subprotectableitemcount?: number;
|
|
3304
3317
|
/** Pre-backup validation for protectable objects */
|
|
3305
3318
|
prebackupvalidation?: PreBackupValidation;
|
|
3319
|
+
/** Indicates if item is protectable */
|
|
3320
|
+
isProtectable?: boolean;
|
|
3306
3321
|
}
|
|
3307
3322
|
|
|
3308
3323
|
/** Azure IaaS VM workload-specific Health Details. */
|
|
@@ -3633,11 +3648,11 @@ export interface AzureVmWorkloadSAPHanaDBInstance
|
|
|
3633
3648
|
protectableItemType: "SAPHanaDBInstance";
|
|
3634
3649
|
}
|
|
3635
3650
|
|
|
3636
|
-
/** Azure VM workload-specific protectable item representing
|
|
3637
|
-
export interface
|
|
3651
|
+
/** Azure VM workload-specific protectable item representing HANA HSR. */
|
|
3652
|
+
export interface AzureVmWorkloadSAPHanaHSRProtectableItem
|
|
3638
3653
|
extends AzureVmWorkloadProtectableItem {
|
|
3639
3654
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3640
|
-
protectableItemType: "
|
|
3655
|
+
protectableItemType: "HanaHSRContainer";
|
|
3641
3656
|
}
|
|
3642
3657
|
|
|
3643
3658
|
/** Azure VM workload-specific protectable item representing SQL Availability Group. */
|
|
@@ -3645,6 +3660,8 @@ export interface AzureVmWorkloadSQLAvailabilityGroupProtectableItem
|
|
|
3645
3660
|
extends AzureVmWorkloadProtectableItem {
|
|
3646
3661
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3647
3662
|
protectableItemType: "SQLAvailabilityGroupContainer";
|
|
3663
|
+
/** List of the nodes in case of distributed container. */
|
|
3664
|
+
nodesList?: DistributedNodesInfo[];
|
|
3648
3665
|
}
|
|
3649
3666
|
|
|
3650
3667
|
/** Azure VM workload-specific protectable item representing SQL Database. */
|
|
@@ -4114,7 +4131,9 @@ export enum KnownSoftDeleteFeatureState {
|
|
|
4114
4131
|
/** Enabled */
|
|
4115
4132
|
Enabled = "Enabled",
|
|
4116
4133
|
/** Disabled */
|
|
4117
|
-
Disabled = "Disabled"
|
|
4134
|
+
Disabled = "Disabled",
|
|
4135
|
+
/** AlwaysON */
|
|
4136
|
+
AlwaysON = "AlwaysON"
|
|
4118
4137
|
}
|
|
4119
4138
|
|
|
4120
4139
|
/**
|
|
@@ -4124,7 +4143,8 @@ export enum KnownSoftDeleteFeatureState {
|
|
|
4124
4143
|
* ### Known values supported by the service
|
|
4125
4144
|
* **Invalid** \
|
|
4126
4145
|
* **Enabled** \
|
|
4127
|
-
* **Disabled**
|
|
4146
|
+
* **Disabled** \
|
|
4147
|
+
* **AlwaysON**
|
|
4128
4148
|
*/
|
|
4129
4149
|
export type SoftDeleteFeatureState = string;
|
|
4130
4150
|
|
|
@@ -4230,6 +4250,27 @@ export enum KnownProvisioningState {
|
|
|
4230
4250
|
*/
|
|
4231
4251
|
export type ProvisioningState = string;
|
|
4232
4252
|
|
|
4253
|
+
/** Known values of {@link VaultSubResourceType} that the service accepts. */
|
|
4254
|
+
export enum KnownVaultSubResourceType {
|
|
4255
|
+
/** AzureBackup */
|
|
4256
|
+
AzureBackup = "AzureBackup",
|
|
4257
|
+
/** AzureBackupSecondary */
|
|
4258
|
+
AzureBackupSecondary = "AzureBackup_secondary",
|
|
4259
|
+
/** AzureSiteRecovery */
|
|
4260
|
+
AzureSiteRecovery = "AzureSiteRecovery"
|
|
4261
|
+
}
|
|
4262
|
+
|
|
4263
|
+
/**
|
|
4264
|
+
* Defines values for VaultSubResourceType. \
|
|
4265
|
+
* {@link KnownVaultSubResourceType} can be used interchangeably with VaultSubResourceType,
|
|
4266
|
+
* this enum contains the known values that the service supports.
|
|
4267
|
+
* ### Known values supported by the service
|
|
4268
|
+
* **AzureBackup** \
|
|
4269
|
+
* **AzureBackup_secondary** \
|
|
4270
|
+
* **AzureSiteRecovery**
|
|
4271
|
+
*/
|
|
4272
|
+
export type VaultSubResourceType = string;
|
|
4273
|
+
|
|
4233
4274
|
/** Known values of {@link PrivateEndpointConnectionStatus} that the service accepts. */
|
|
4234
4275
|
export enum KnownPrivateEndpointConnectionStatus {
|
|
4235
4276
|
/** Pending */
|
package/src/models/mappers.ts
CHANGED
|
@@ -750,6 +750,12 @@ export const BackupResourceVaultConfig: coreClient.CompositeMapper = {
|
|
|
750
750
|
name: "String"
|
|
751
751
|
}
|
|
752
752
|
},
|
|
753
|
+
softDeleteRetentionPeriodInDays: {
|
|
754
|
+
serializedName: "softDeleteRetentionPeriodInDays",
|
|
755
|
+
type: {
|
|
756
|
+
name: "Number"
|
|
757
|
+
}
|
|
758
|
+
},
|
|
753
759
|
resourceGuardOperationRequests: {
|
|
754
760
|
serializedName: "resourceGuardOperationRequests",
|
|
755
761
|
type: {
|
|
@@ -828,6 +834,17 @@ export const PrivateEndpointConnection: coreClient.CompositeMapper = {
|
|
|
828
834
|
className: "PrivateEndpoint"
|
|
829
835
|
}
|
|
830
836
|
},
|
|
837
|
+
groupIds: {
|
|
838
|
+
serializedName: "groupIds",
|
|
839
|
+
type: {
|
|
840
|
+
name: "Sequence",
|
|
841
|
+
element: {
|
|
842
|
+
type: {
|
|
843
|
+
name: "String"
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
},
|
|
831
848
|
privateLinkServiceConnectionState: {
|
|
832
849
|
serializedName: "privateLinkServiceConnectionState",
|
|
833
850
|
type: {
|
|
@@ -871,8 +888,8 @@ export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = {
|
|
|
871
888
|
name: "String"
|
|
872
889
|
}
|
|
873
890
|
},
|
|
874
|
-
|
|
875
|
-
serializedName: "
|
|
891
|
+
actionsRequired: {
|
|
892
|
+
serializedName: "actionsRequired",
|
|
876
893
|
type: {
|
|
877
894
|
name: "String"
|
|
878
895
|
}
|
|
@@ -1290,8 +1307,8 @@ export const ProtectedItem: coreClient.CompositeMapper = {
|
|
|
1290
1307
|
name: "String"
|
|
1291
1308
|
}
|
|
1292
1309
|
},
|
|
1293
|
-
|
|
1294
|
-
serializedName: "
|
|
1310
|
+
softDeleteRetentionPeriodInDays: {
|
|
1311
|
+
serializedName: "softDeleteRetentionPeriodInDays",
|
|
1295
1312
|
type: {
|
|
1296
1313
|
name: "Number"
|
|
1297
1314
|
}
|
|
@@ -3000,6 +3017,40 @@ export const AzureVmWorkloadProtectedItemExtendedInfo: coreClient.CompositeMappe
|
|
|
3000
3017
|
}
|
|
3001
3018
|
};
|
|
3002
3019
|
|
|
3020
|
+
export const DistributedNodesInfo: coreClient.CompositeMapper = {
|
|
3021
|
+
type: {
|
|
3022
|
+
name: "Composite",
|
|
3023
|
+
className: "DistributedNodesInfo",
|
|
3024
|
+
modelProperties: {
|
|
3025
|
+
nodeName: {
|
|
3026
|
+
serializedName: "nodeName",
|
|
3027
|
+
type: {
|
|
3028
|
+
name: "String"
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3031
|
+
status: {
|
|
3032
|
+
serializedName: "status",
|
|
3033
|
+
type: {
|
|
3034
|
+
name: "String"
|
|
3035
|
+
}
|
|
3036
|
+
},
|
|
3037
|
+
errorDetail: {
|
|
3038
|
+
serializedName: "errorDetail",
|
|
3039
|
+
type: {
|
|
3040
|
+
name: "Composite",
|
|
3041
|
+
className: "ErrorDetail"
|
|
3042
|
+
}
|
|
3043
|
+
},
|
|
3044
|
+
sourceResourceId: {
|
|
3045
|
+
serializedName: "sourceResourceId",
|
|
3046
|
+
type: {
|
|
3047
|
+
name: "String"
|
|
3048
|
+
}
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3052
|
+
};
|
|
3053
|
+
|
|
3003
3054
|
export const AzureWorkloadErrorInfo: coreClient.CompositeMapper = {
|
|
3004
3055
|
type: {
|
|
3005
3056
|
name: "Composite",
|
|
@@ -4680,33 +4731,13 @@ export const InquiryValidation: coreClient.CompositeMapper = {
|
|
|
4680
4731
|
type: {
|
|
4681
4732
|
name: "String"
|
|
4682
4733
|
}
|
|
4683
|
-
}
|
|
4684
|
-
}
|
|
4685
|
-
}
|
|
4686
|
-
};
|
|
4687
|
-
|
|
4688
|
-
export const DistributedNodesInfo: coreClient.CompositeMapper = {
|
|
4689
|
-
type: {
|
|
4690
|
-
name: "Composite",
|
|
4691
|
-
className: "DistributedNodesInfo",
|
|
4692
|
-
modelProperties: {
|
|
4693
|
-
nodeName: {
|
|
4694
|
-
serializedName: "nodeName",
|
|
4695
|
-
type: {
|
|
4696
|
-
name: "String"
|
|
4697
|
-
}
|
|
4698
|
-
},
|
|
4699
|
-
status: {
|
|
4700
|
-
serializedName: "status",
|
|
4701
|
-
type: {
|
|
4702
|
-
name: "String"
|
|
4703
|
-
}
|
|
4704
4734
|
},
|
|
4705
|
-
|
|
4706
|
-
serializedName: "
|
|
4735
|
+
protectableItemCount: {
|
|
4736
|
+
serializedName: "protectableItemCount",
|
|
4737
|
+
readOnly: true,
|
|
4707
4738
|
type: {
|
|
4708
|
-
name: "
|
|
4709
|
-
|
|
4739
|
+
name: "Dictionary",
|
|
4740
|
+
value: { type: { name: "any" } }
|
|
4710
4741
|
}
|
|
4711
4742
|
}
|
|
4712
4743
|
}
|
|
@@ -6296,6 +6327,18 @@ export const AzureVmWorkloadProtectedItem: coreClient.CompositeMapper = {
|
|
|
6296
6327
|
type: { name: "Composite", className: "KPIResourceHealthDetails" }
|
|
6297
6328
|
}
|
|
6298
6329
|
}
|
|
6330
|
+
},
|
|
6331
|
+
nodesList: {
|
|
6332
|
+
serializedName: "nodesList",
|
|
6333
|
+
type: {
|
|
6334
|
+
name: "Sequence",
|
|
6335
|
+
element: {
|
|
6336
|
+
type: {
|
|
6337
|
+
name: "Composite",
|
|
6338
|
+
className: "DistributedNodesInfo"
|
|
6339
|
+
}
|
|
6340
|
+
}
|
|
6341
|
+
}
|
|
6299
6342
|
}
|
|
6300
6343
|
}
|
|
6301
6344
|
}
|
|
@@ -8440,6 +8483,12 @@ export const AzureVmWorkloadProtectableItem: coreClient.CompositeMapper = {
|
|
|
8440
8483
|
name: "Composite",
|
|
8441
8484
|
className: "PreBackupValidation"
|
|
8442
8485
|
}
|
|
8486
|
+
},
|
|
8487
|
+
isProtectable: {
|
|
8488
|
+
serializedName: "isProtectable",
|
|
8489
|
+
type: {
|
|
8490
|
+
name: "Boolean"
|
|
8491
|
+
}
|
|
8443
8492
|
}
|
|
8444
8493
|
}
|
|
8445
8494
|
}
|
|
@@ -9178,11 +9227,11 @@ export const AzureVmWorkloadSAPHanaDBInstance: coreClient.CompositeMapper = {
|
|
|
9178
9227
|
}
|
|
9179
9228
|
};
|
|
9180
9229
|
|
|
9181
|
-
export const
|
|
9182
|
-
serializedName: "
|
|
9230
|
+
export const AzureVmWorkloadSAPHanaHSRProtectableItem: coreClient.CompositeMapper = {
|
|
9231
|
+
serializedName: "HanaHSRContainer",
|
|
9183
9232
|
type: {
|
|
9184
9233
|
name: "Composite",
|
|
9185
|
-
className: "
|
|
9234
|
+
className: "AzureVmWorkloadSAPHanaHSRProtectableItem",
|
|
9186
9235
|
uberParent: "AzureVmWorkloadProtectableItem",
|
|
9187
9236
|
polymorphicDiscriminator:
|
|
9188
9237
|
AzureVmWorkloadProtectableItem.type.polymorphicDiscriminator,
|
|
@@ -9201,7 +9250,19 @@ export const AzureVmWorkloadSQLAvailabilityGroupProtectableItem: coreClient.Comp
|
|
|
9201
9250
|
polymorphicDiscriminator:
|
|
9202
9251
|
AzureVmWorkloadProtectableItem.type.polymorphicDiscriminator,
|
|
9203
9252
|
modelProperties: {
|
|
9204
|
-
...AzureVmWorkloadProtectableItem.type.modelProperties
|
|
9253
|
+
...AzureVmWorkloadProtectableItem.type.modelProperties,
|
|
9254
|
+
nodesList: {
|
|
9255
|
+
serializedName: "nodesList",
|
|
9256
|
+
type: {
|
|
9257
|
+
name: "Sequence",
|
|
9258
|
+
element: {
|
|
9259
|
+
type: {
|
|
9260
|
+
name: "Composite",
|
|
9261
|
+
className: "DistributedNodesInfo"
|
|
9262
|
+
}
|
|
9263
|
+
}
|
|
9264
|
+
}
|
|
9265
|
+
}
|
|
9205
9266
|
}
|
|
9206
9267
|
}
|
|
9207
9268
|
};
|
|
@@ -9542,7 +9603,7 @@ export let discriminators = {
|
|
|
9542
9603
|
"AzureVmWorkloadProtectableItem.SAPHanaDatabase": AzureVmWorkloadSAPHanaDatabaseProtectableItem,
|
|
9543
9604
|
"AzureVmWorkloadProtectableItem.SAPHanaSystem": AzureVmWorkloadSAPHanaSystemProtectableItem,
|
|
9544
9605
|
"AzureVmWorkloadProtectableItem.SAPHanaDBInstance": AzureVmWorkloadSAPHanaDBInstance,
|
|
9545
|
-
"AzureVmWorkloadProtectableItem.
|
|
9606
|
+
"AzureVmWorkloadProtectableItem.HanaHSRContainer": AzureVmWorkloadSAPHanaHSRProtectableItem,
|
|
9546
9607
|
"AzureVmWorkloadProtectableItem.SQLAvailabilityGroupContainer": AzureVmWorkloadSQLAvailabilityGroupProtectableItem,
|
|
9547
9608
|
"AzureVmWorkloadProtectableItem.SQLDataBase": AzureVmWorkloadSQLDatabaseProtectableItem,
|
|
9548
9609
|
"AzureVmWorkloadProtectableItem.SQLInstance": AzureVmWorkloadSQLInstanceProtectableItem,
|
package/src/models/parameters.ts
CHANGED
|
@@ -63,7 +63,7 @@ export const $host: OperationURLParameter = {
|
|
|
63
63
|
export const apiVersion: OperationQueryParameter = {
|
|
64
64
|
parameterPath: "apiVersion",
|
|
65
65
|
mapper: {
|
|
66
|
-
defaultValue: "2023-
|
|
66
|
+
defaultValue: "2023-04-01",
|
|
67
67
|
isConstant: true,
|
|
68
68
|
serializedName: "api-version",
|
|
69
69
|
type: {
|
|
@@ -168,7 +168,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
168
168
|
credential: credentials
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
-
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/
|
|
171
|
+
const packageDetails = `azsdk-js-arm-recoveryservicesbackup/11.0.0`;
|
|
172
172
|
const userAgentPrefix =
|
|
173
173
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
174
174
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -221,7 +221,7 @@ export class RecoveryServicesBackupClient extends coreClient.ServiceClient {
|
|
|
221
221
|
|
|
222
222
|
// Assigning values to Constant parameters
|
|
223
223
|
this.$host = options.$host || "https://management.azure.com";
|
|
224
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
224
|
+
this.apiVersion = options.apiVersion || "2023-04-01";
|
|
225
225
|
this.backupResourceStorageConfigsNonCRR = new BackupResourceStorageConfigsNonCRRImpl(
|
|
226
226
|
this
|
|
227
227
|
);
|