@azure/arm-recoveryservicesbackup 10.1.1-alpha.20230823.1 → 11.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.
Files changed (100) hide show
  1. package/CHANGELOG.md +24 -8
  2. package/dist/index.js +108 -38
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/backupEnginesGetSample.js +1 -1
  7. package/dist-esm/samples-dev/backupEnginesListSample.js +1 -1
  8. package/dist-esm/samples-dev/backupJobsListSample.js +3 -3
  9. package/dist-esm/samples-dev/backupOperationResultsGetSample.js +1 -1
  10. package/dist-esm/samples-dev/backupOperationStatusesGetSample.js +1 -1
  11. package/dist-esm/samples-dev/backupPoliciesListSample.js +3 -3
  12. package/dist-esm/samples-dev/backupProtectableItemsListSample.js +1 -1
  13. package/dist-esm/samples-dev/backupProtectedItemsListSample.js +1 -1
  14. package/dist-esm/samples-dev/backupProtectionContainersListSample.js +1 -1
  15. package/dist-esm/samples-dev/backupProtectionIntentListSample.js +1 -1
  16. package/dist-esm/samples-dev/backupResourceEncryptionConfigsGetSample.js +1 -1
  17. package/dist-esm/samples-dev/backupResourceEncryptionConfigsUpdateSample.js +1 -1
  18. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrGetSample.js +1 -1
  19. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrPatchSample.js +1 -1
  20. package/dist-esm/samples-dev/backupResourceStorageConfigsNonCrrUpdateSample.js +1 -1
  21. package/dist-esm/samples-dev/backupResourceVaultConfigsGetSample.js +1 -1
  22. package/dist-esm/samples-dev/backupResourceVaultConfigsPutSample.js +1 -1
  23. package/dist-esm/samples-dev/backupResourceVaultConfigsUpdateSample.js +1 -1
  24. package/dist-esm/samples-dev/backupStatusGetSample.js +1 -1
  25. package/dist-esm/samples-dev/backupUsageSummariesListSample.js +2 -2
  26. package/dist-esm/samples-dev/backupWorkloadItemsListSample.js +1 -1
  27. package/dist-esm/samples-dev/backupsTriggerSample.js +1 -1
  28. package/dist-esm/samples-dev/bmsPrepareDataMoveOperationResultGetSample.js +1 -1
  29. package/dist-esm/samples-dev/bmsPrepareDataMoveSample.js +1 -1
  30. package/dist-esm/samples-dev/bmsTriggerDataMoveSample.js +1 -1
  31. package/dist-esm/samples-dev/deletedProtectionContainersListSample.js +1 -1
  32. package/dist-esm/samples-dev/exportJobsOperationResultsGetSample.js +1 -1
  33. package/dist-esm/samples-dev/featureSupportValidateSample.js +1 -1
  34. package/dist-esm/samples-dev/getOperationStatusSample.js +1 -1
  35. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsProvisionSample.js +1 -1
  36. package/dist-esm/samples-dev/itemLevelRecoveryConnectionsRevokeSample.js +1 -1
  37. package/dist-esm/samples-dev/jobCancellationsTriggerSample.js +1 -1
  38. package/dist-esm/samples-dev/jobDetailsGetSample.js +1 -1
  39. package/dist-esm/samples-dev/jobOperationResultsGetSample.js +1 -1
  40. package/dist-esm/samples-dev/jobsExportSample.js +1 -1
  41. package/dist-esm/samples-dev/moveRecoveryPointSample.js +1 -1
  42. package/dist-esm/samples-dev/operationValidateSample.js +2 -2
  43. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  44. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +1 -1
  45. package/dist-esm/samples-dev/privateEndpointConnectionGetSample.js +1 -1
  46. package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js +2 -1
  47. package/dist-esm/samples-dev/privateEndpointConnectionPutSample.js.map +1 -1
  48. package/dist-esm/samples-dev/privateEndpointGetOperationStatusSample.js +1 -1
  49. package/dist-esm/samples-dev/protectableContainersListSample.js +1 -1
  50. package/dist-esm/samples-dev/protectedItemOperationResultsGetSample.js +1 -1
  51. package/dist-esm/samples-dev/protectedItemOperationStatusesGetSample.js +1 -1
  52. package/dist-esm/samples-dev/protectedItemsCreateOrUpdateSample.js +2 -2
  53. package/dist-esm/samples-dev/protectedItemsDeleteSample.js +1 -1
  54. package/dist-esm/samples-dev/protectedItemsGetSample.js +2 -2
  55. package/dist-esm/samples-dev/protectionContainerOperationResultsGetSample.js +1 -1
  56. package/dist-esm/samples-dev/protectionContainerRefreshOperationResultsGetSample.js +1 -1
  57. package/dist-esm/samples-dev/protectionContainersGetSample.js +1 -1
  58. package/dist-esm/samples-dev/protectionContainersInquireSample.js +1 -1
  59. package/dist-esm/samples-dev/protectionContainersRefreshSample.js +1 -1
  60. package/dist-esm/samples-dev/protectionContainersRegisterSample.js +1 -1
  61. package/dist-esm/samples-dev/protectionContainersUnregisterSample.js +1 -1
  62. package/dist-esm/samples-dev/protectionIntentCreateOrUpdateSample.js +1 -1
  63. package/dist-esm/samples-dev/protectionIntentDeleteSample.js +1 -1
  64. package/dist-esm/samples-dev/protectionIntentGetSample.js +1 -1
  65. package/dist-esm/samples-dev/protectionIntentValidateSample.js +1 -1
  66. package/dist-esm/samples-dev/protectionPoliciesCreateOrUpdateSample.js +7 -7
  67. package/dist-esm/samples-dev/protectionPoliciesDeleteSample.js +1 -1
  68. package/dist-esm/samples-dev/protectionPoliciesGetSample.js +2 -2
  69. package/dist-esm/samples-dev/protectionPolicyOperationResultsGetSample.js +1 -1
  70. package/dist-esm/samples-dev/protectionPolicyOperationStatusesGetSample.js +1 -1
  71. package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
  72. package/dist-esm/samples-dev/recoveryPointsListSample.js +1 -1
  73. package/dist-esm/samples-dev/recoveryPointsRecommendedForMoveListSample.js +1 -1
  74. package/dist-esm/samples-dev/resourceGuardProxiesGetSample.js +1 -1
  75. package/dist-esm/samples-dev/resourceGuardProxyDeleteSample.js +1 -1
  76. package/dist-esm/samples-dev/resourceGuardProxyGetSample.js +1 -1
  77. package/dist-esm/samples-dev/resourceGuardProxyPutSample.js +1 -1
  78. package/dist-esm/samples-dev/resourceGuardProxyUnlockDeleteSample.js +1 -1
  79. package/dist-esm/samples-dev/restoresTriggerSample.js +6 -6
  80. package/dist-esm/samples-dev/securityPiNsGetSample.js +1 -1
  81. package/dist-esm/samples-dev/validateOperationResultsGetSample.js +1 -1
  82. package/dist-esm/samples-dev/validateOperationStatusesGetSample.js +1 -1
  83. package/dist-esm/samples-dev/validateOperationTriggerSample.js +1 -1
  84. package/dist-esm/src/models/index.d.ts +60 -21
  85. package/dist-esm/src/models/index.d.ts.map +1 -1
  86. package/dist-esm/src/models/index.js +12 -0
  87. package/dist-esm/src/models/index.js.map +1 -1
  88. package/dist-esm/src/models/mappers.d.ts +3 -3
  89. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  90. package/dist-esm/src/models/mappers.js +91 -33
  91. package/dist-esm/src/models/mappers.js.map +1 -1
  92. package/dist-esm/src/models/parameters.js +1 -1
  93. package/dist-esm/src/recoveryServicesBackupClient.js +2 -2
  94. package/package.json +4 -4
  95. package/review/arm-recoveryservicesbackup.api.md +25 -7
  96. package/src/models/index.ts +63 -22
  97. package/src/models/mappers.ts +95 -34
  98. package/src/models/parameters.ts +1 -1
  99. package/src/recoveryServicesBackupClient.ts +2 -2
  100. package/types/arm-recoveryservicesbackup.d.ts +52 -11
@@ -576,7 +576,7 @@ export declare type AzureVmWorkloadItemUnion = AzureVmWorkloadItem | AzureVmWork
576
576
  /** Azure VM workload-specific protectable item. */
577
577
  export declare interface AzureVmWorkloadProtectableItem extends WorkloadProtectableItem {
578
578
  /** Polymorphic discriminator, which specifies the different types this object can be */
579
- protectableItemType: "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "SAPHanaHSR" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
579
+ protectableItemType: "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
580
580
  /** Name for instance or AG */
581
581
  parentName?: string;
582
582
  /**
@@ -596,9 +596,11 @@ export declare interface AzureVmWorkloadProtectableItem extends WorkloadProtecta
596
596
  subprotectableitemcount?: number;
597
597
  /** Pre-backup validation for protectable objects */
598
598
  prebackupvalidation?: PreBackupValidation;
599
+ /** Indicates if item is protectable */
600
+ isProtectable?: boolean;
599
601
  }
600
602
 
601
- export declare type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSAPHanaDBInstance | AzureVmWorkloadSAPHanaHSR | AzureVmWorkloadSQLAvailabilityGroupProtectableItem | AzureVmWorkloadSQLDatabaseProtectableItem | AzureVmWorkloadSQLInstanceProtectableItem;
603
+ export declare type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSAPHanaDBInstance | AzureVmWorkloadSAPHanaHSRProtectableItem | AzureVmWorkloadSQLAvailabilityGroupProtectableItem | AzureVmWorkloadSQLDatabaseProtectableItem | AzureVmWorkloadSQLInstanceProtectableItem;
602
604
 
603
605
  /** Azure VM workload-specific protected item. */
604
606
  export declare interface AzureVmWorkloadProtectedItem extends ProtectedItem {
@@ -638,6 +640,8 @@ export declare interface AzureVmWorkloadProtectedItem extends ProtectedItem {
638
640
  kpisHealths?: {
639
641
  [propertyName: string]: KPIResourceHealthDetails;
640
642
  };
643
+ /** List of the nodes in case of distributed container. */
644
+ nodesList?: DistributedNodesInfo[];
641
645
  }
642
646
 
643
647
  /** Additional information on Azure Workload for SQL specific backup item. */
@@ -728,10 +732,10 @@ export declare interface AzureVmWorkloadSAPHanaDBInstanceProtectedItem extends A
728
732
  protectedItemType: "AzureVmWorkloadSAPHanaDBInstance";
729
733
  }
730
734
 
731
- /** Azure VM workload-specific protectable item representing SAP HANA Dbinstance. */
732
- export declare interface AzureVmWorkloadSAPHanaHSR extends AzureVmWorkloadProtectableItem {
735
+ /** Azure VM workload-specific protectable item representing HANA HSR. */
736
+ export declare interface AzureVmWorkloadSAPHanaHSRProtectableItem extends AzureVmWorkloadProtectableItem {
733
737
  /** Polymorphic discriminator, which specifies the different types this object can be */
734
- protectableItemType: "SAPHanaHSR";
738
+ protectableItemType: "HanaHSRContainer";
735
739
  }
736
740
 
737
741
  /** Azure VM workload-specific protectable item representing SAP HANA System. */
@@ -750,6 +754,8 @@ export declare interface AzureVmWorkloadSAPHanaSystemWorkloadItem extends AzureV
750
754
  export declare interface AzureVmWorkloadSQLAvailabilityGroupProtectableItem extends AzureVmWorkloadProtectableItem {
751
755
  /** Polymorphic discriminator, which specifies the different types this object can be */
752
756
  protectableItemType: "SQLAvailabilityGroupContainer";
757
+ /** List of the nodes in case of distributed container. */
758
+ nodesList?: DistributedNodesInfo[];
753
759
  }
754
760
 
755
761
  /** Azure VM workload-specific protectable item representing SQL Database. */
@@ -1646,9 +1652,11 @@ export declare interface BackupResourceVaultConfig {
1646
1652
  enhancedSecurityState?: EnhancedSecurityState;
1647
1653
  /** Soft Delete feature state */
1648
1654
  softDeleteFeatureState?: SoftDeleteFeatureState;
1655
+ /** Soft delete retention period in days */
1656
+ softDeleteRetentionPeriodInDays?: number;
1649
1657
  /** ResourceGuard Operation Requests */
1650
1658
  resourceGuardOperationRequests?: string[];
1651
- /** Is soft delete feature state editable */
1659
+ /** This flag is no longer in use. Please use 'softDeleteFeatureState' to set the soft delete state for the vault */
1652
1660
  isSoftDeleteFeatureStateEditable?: boolean;
1653
1661
  }
1654
1662
 
@@ -2288,6 +2296,8 @@ export declare interface DistributedNodesInfo {
2288
2296
  status?: string;
2289
2297
  /** Error Details if the Status is non-success. */
2290
2298
  errorDetail?: ErrorDetail;
2299
+ /** ARM resource id of the node */
2300
+ sourceResourceId?: string;
2291
2301
  }
2292
2302
 
2293
2303
  /** Data Protection Manager (DPM) specific backup engine. */
@@ -2990,6 +3000,11 @@ export declare interface InquiryValidation {
2990
3000
  * NOTE: This property will not be serialized. It can only be populated by the server.
2991
3001
  */
2992
3002
  readonly additionalDetail?: string;
3003
+ /**
3004
+ * Dictionary to store the count of ProtectableItems with key POType.
3005
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3006
+ */
3007
+ readonly protectableItemCount?: Record<string, unknown>;
2993
3008
  }
2994
3009
 
2995
3010
  /** Target details for file / folder restore. */
@@ -3973,7 +3988,9 @@ export declare enum KnownSoftDeleteFeatureState {
3973
3988
  /** Enabled */
3974
3989
  Enabled = "Enabled",
3975
3990
  /** Disabled */
3976
- Disabled = "Disabled"
3991
+ Disabled = "Disabled",
3992
+ /** AlwaysON */
3993
+ AlwaysON = "AlwaysON"
3977
3994
  }
3978
3995
 
3979
3996
  /** Known values of {@link SQLDataDirectoryType} that the service accepts. */
@@ -4072,6 +4089,16 @@ export declare enum KnownValidationStatus {
4072
4089
  Failed = "Failed"
4073
4090
  }
4074
4091
 
4092
+ /** Known values of {@link VaultSubResourceType} that the service accepts. */
4093
+ export declare enum KnownVaultSubResourceType {
4094
+ /** AzureBackup */
4095
+ AzureBackup = "AzureBackup",
4096
+ /** AzureBackupSecondary */
4097
+ AzureBackupSecondary = "AzureBackup_secondary",
4098
+ /** AzureSiteRecovery */
4099
+ AzureSiteRecovery = "AzureSiteRecovery"
4100
+ }
4101
+
4075
4102
  /** Known values of {@link WorkloadItemType} that the service accepts. */
4076
4103
  export declare enum KnownWorkloadItemType {
4077
4104
  /** Invalid */
@@ -4748,6 +4775,8 @@ export declare interface PrivateEndpointConnection {
4748
4775
  provisioningState?: ProvisioningState;
4749
4776
  /** Gets or sets private endpoint associated with the private endpoint connection */
4750
4777
  privateEndpoint?: PrivateEndpoint;
4778
+ /** Group Ids for the Private Endpoint */
4779
+ groupIds?: VaultSubResourceType[];
4751
4780
  /** Gets or sets private link service connection state */
4752
4781
  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
4753
4782
  }
@@ -4875,7 +4904,7 @@ export declare interface PrivateLinkServiceConnectionState {
4875
4904
  /** Gets or sets description */
4876
4905
  description?: string;
4877
4906
  /** Gets or sets actions required */
4878
- actionRequired?: string;
4907
+ actionsRequired?: string;
4879
4908
  }
4880
4909
 
4881
4910
  /** Protectable Container Class. */
@@ -4981,7 +5010,7 @@ export declare interface ProtectedItem {
4981
5010
  /** Name of the policy used for protection */
4982
5011
  policyName?: string;
4983
5012
  /** Soft delete retention period in days */
4984
- softDeleteRetentionPeriod?: number;
5013
+ softDeleteRetentionPeriodInDays?: number;
4985
5014
  }
4986
5015
 
4987
5016
  /**
@@ -6437,7 +6466,8 @@ export declare interface SimpleSchedulePolicyV2 extends SchedulePolicy {
6437
6466
  * ### Known values supported by the service
6438
6467
  * **Invalid** \
6439
6468
  * **Enabled** \
6440
- * **Disabled**
6469
+ * **Disabled** \
6470
+ * **AlwaysON**
6441
6471
  */
6442
6472
  export declare type SoftDeleteFeatureState = string;
6443
6473
 
@@ -6820,6 +6850,17 @@ export declare interface VaultStorageConfigOperationResultResponse {
6820
6850
 
6821
6851
  export declare type VaultStorageConfigOperationResultResponseUnion = VaultStorageConfigOperationResultResponse | PrepareDataMoveResponse;
6822
6852
 
6853
+ /**
6854
+ * Defines values for VaultSubResourceType. \
6855
+ * {@link KnownVaultSubResourceType} can be used interchangeably with VaultSubResourceType,
6856
+ * this enum contains the known values that the service supports.
6857
+ * ### Known values supported by the service
6858
+ * **AzureBackup** \
6859
+ * **AzureBackup_secondary** \
6860
+ * **AzureSiteRecovery**
6861
+ */
6862
+ export declare type VaultSubResourceType = string;
6863
+
6823
6864
  /** Weekly retention format. */
6824
6865
  export declare interface WeeklyRetentionFormat {
6825
6866
  /** List of days of the week. */
@@ -6904,7 +6945,7 @@ export declare type WorkloadItemUnion = WorkloadItem | AzureVmWorkloadItemUnion;
6904
6945
  /** Base class for backup item. Workload-specific backup items are derived from this class. */
6905
6946
  export declare interface WorkloadProtectableItem {
6906
6947
  /** Polymorphic discriminator, which specifies the different types this object can be */
6907
- protectableItemType: "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "SAPHanaHSR" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
6948
+ protectableItemType: "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
6908
6949
  /** Type of backup management to backup an item. */
6909
6950
  backupManagementType?: string;
6910
6951
  /** Type of workload for the backup management */