Skip to content

Commit

Permalink
[mgmt] recoveryservicesbackup release (#27004)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Sep 4, 2023
1 parent ae1a239 commit 78d7af9
Show file tree
Hide file tree
Showing 247 changed files with 820 additions and 681 deletions.
32 changes: 24 additions & 8 deletions sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
# Release History

## 11.0.0 (2023-09-01)

**Features**

## 10.1.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added Interface AzureVmWorkloadSAPHanaHSRProtectableItem
- Added Type Alias VaultSubResourceType
- Interface AzureVmWorkloadProtectableItem has a new optional parameter isProtectable
- Interface AzureVmWorkloadProtectedItem has a new optional parameter nodesList
- Interface AzureVmWorkloadSQLAvailabilityGroupProtectableItem has a new optional parameter nodesList
- Interface BackupResourceVaultConfig has a new optional parameter softDeleteRetentionPeriodInDays
- Interface DistributedNodesInfo has a new optional parameter sourceResourceId
- Interface InquiryValidation has a new optional parameter protectableItemCount
- Interface PrivateEndpointConnection has a new optional parameter groupIds
- Interface PrivateLinkServiceConnectionState has a new optional parameter actionsRequired
- Interface ProtectedItem has a new optional parameter softDeleteRetentionPeriodInDays
- Added Enum KnownVaultSubResourceType
- Enum KnownSoftDeleteFeatureState has a new value AlwaysON

### Other Changes
**Breaking Changes**

- Interface PrivateLinkServiceConnectionState no longer has parameter actionRequired
- Interface ProtectedItem no longer has parameter softDeleteRetentionPeriod
- Type of parameter protectableItemType of interface AzureVmWorkloadProtectableItem is changed from "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "SAPHanaHSR" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance" to "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance"
- Type of parameter protectableItemType of interface WorkloadProtectableItem is changed from "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "SAPHanaHSR" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance" to "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance"


## 10.1.0 (2023-03-10)

**Features**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "4f4044394791773e6e7e82a9bd90d3935caaca1b",
"commit": "95c0363e4cae8756c6a33b58add67776db427bbc",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\recoveryservicesbackup\\resource-manager\\readme.md --use=@autorest/[email protected].0-rc.9 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\recoveryservicesbackup\\resource-manager\\readme.md --use=@autorest/[email protected].8 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/[email protected].0-rc.9"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.2",
"use": "@autorest/[email protected].8"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/recoveryservicesbackup/arm-recoveryservicesbackup",
"Tag": "js/recoveryservicesbackup/arm-recoveryservicesbackup_0894d41174"
"Tag": "js/recoveryservicesbackup/arm-recoveryservicesbackup_22a6773015"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for RecoveryServicesBackupClient.",
"version": "10.1.1",
"version": "11.0.0",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.0",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-rest-pipeline": "^1.12.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,17 +377,18 @@ export type AzureVmWorkloadItemUnion = AzureVmWorkloadItem | AzureVmWorkloadSAPA
export interface AzureVmWorkloadProtectableItem extends WorkloadProtectableItem {
isAutoProtectable?: boolean;
isAutoProtected?: boolean;
isProtectable?: boolean;
parentName?: string;
parentUniqueName?: string;
prebackupvalidation?: PreBackupValidation;
protectableItemType: "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "SAPHanaHSR" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
protectableItemType: "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
serverName?: string;
subinquireditemcount?: number;
subprotectableitemcount?: number;
}

// @public (undocumented)
export type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSAPHanaDBInstance | AzureVmWorkloadSAPHanaHSR | AzureVmWorkloadSQLAvailabilityGroupProtectableItem | AzureVmWorkloadSQLDatabaseProtectableItem | AzureVmWorkloadSQLInstanceProtectableItem;
export type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSAPHanaDBInstance | AzureVmWorkloadSAPHanaHSRProtectableItem | AzureVmWorkloadSQLAvailabilityGroupProtectableItem | AzureVmWorkloadSQLDatabaseProtectableItem | AzureVmWorkloadSQLInstanceProtectableItem;

// @public
export interface AzureVmWorkloadProtectedItem extends ProtectedItem {
Expand All @@ -399,6 +400,7 @@ export interface AzureVmWorkloadProtectedItem extends ProtectedItem {
lastBackupErrorDetail?: ErrorDetail;
lastBackupStatus?: LastBackupStatus;
lastBackupTime?: Date;
nodesList?: DistributedNodesInfo[];
parentName?: string;
parentType?: string;
protectedItemDataSourceId?: string;
Expand Down Expand Up @@ -478,8 +480,8 @@ export interface AzureVmWorkloadSAPHanaDBInstanceProtectedItem extends AzureVmWo
}

// @public
export interface AzureVmWorkloadSAPHanaHSR extends AzureVmWorkloadProtectableItem {
protectableItemType: "SAPHanaHSR";
export interface AzureVmWorkloadSAPHanaHSRProtectableItem extends AzureVmWorkloadProtectableItem {
protectableItemType: "HanaHSRContainer";
}

// @public
Expand All @@ -494,6 +496,7 @@ export interface AzureVmWorkloadSAPHanaSystemWorkloadItem extends AzureVmWorkloa

// @public
export interface AzureVmWorkloadSQLAvailabilityGroupProtectableItem extends AzureVmWorkloadProtectableItem {
nodesList?: DistributedNodesInfo[];
protectableItemType: "SQLAvailabilityGroupContainer";
}

Expand Down Expand Up @@ -1087,6 +1090,7 @@ export interface BackupResourceVaultConfig {
isSoftDeleteFeatureStateEditable?: boolean;
resourceGuardOperationRequests?: string[];
softDeleteFeatureState?: SoftDeleteFeatureState;
softDeleteRetentionPeriodInDays?: number;
storageModelType?: StorageType;
storageType?: StorageType;
storageTypeState?: StorageTypeState;
Expand Down Expand Up @@ -1451,6 +1455,7 @@ export interface DiskInformation {
export interface DistributedNodesInfo {
errorDetail?: ErrorDetail;
nodeName?: string;
sourceResourceId?: string;
status?: string;
}

Expand Down Expand Up @@ -1852,6 +1857,7 @@ export type InquiryStatus = string;
export interface InquiryValidation {
readonly additionalDetail?: string;
errorDetail?: ErrorDetail;
readonly protectableItemCount?: Record<string, unknown>;
status?: string;
}

Expand Down Expand Up @@ -2437,6 +2443,7 @@ export enum KnownScheduleRunType {

// @public
export enum KnownSoftDeleteFeatureState {
AlwaysON = "AlwaysON",
Disabled = "Disabled",
Enabled = "Enabled",
Invalid = "Invalid"
Expand Down Expand Up @@ -2506,6 +2513,13 @@ export enum KnownValidationStatus {
Succeeded = "Succeeded"
}

// @public
export enum KnownVaultSubResourceType {
AzureBackup = "AzureBackup",
AzureBackupSecondary = "AzureBackup_secondary",
AzureSiteRecovery = "AzureSiteRecovery"
}

// @public
export enum KnownWorkloadItemType {
Invalid = "Invalid",
Expand Down Expand Up @@ -2900,6 +2914,7 @@ export interface PrivateEndpoint {

// @public
export interface PrivateEndpointConnection {
groupIds?: VaultSubResourceType[];
privateEndpoint?: PrivateEndpoint;
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
provisioningState?: ProvisioningState;
Expand Down Expand Up @@ -2958,7 +2973,7 @@ export interface PrivateEndpointOperations {

// @public
export interface PrivateLinkServiceConnectionState {
actionRequired?: string;
actionsRequired?: string;
description?: string;
status?: PrivateEndpointConnectionStatus;
}
Expand Down Expand Up @@ -3025,7 +3040,7 @@ export interface ProtectedItem {
policyName?: string;
protectedItemType: "AzureFileShareProtectedItem" | "AzureIaaSVMProtectedItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "Microsoft.Sql/servers/databases" | "AzureVmWorkloadProtectedItem" | "AzureVmWorkloadSAPAseDatabase" | "AzureVmWorkloadSAPHanaDatabase" | "AzureVmWorkloadSAPHanaDBInstance" | "AzureVmWorkloadSQLDatabase" | "DPMProtectedItem" | "GenericProtectedItem" | "MabFileFolderProtectedItem";
resourceGuardOperationRequests?: string[];
softDeleteRetentionPeriod?: number;
softDeleteRetentionPeriodInDays?: number;
sourceResourceId?: string;
readonly workloadType?: DataSourceType;
}
Expand Down Expand Up @@ -4041,6 +4056,9 @@ export interface VaultStorageConfigOperationResultResponse {
// @public (undocumented)
export type VaultStorageConfigOperationResultResponseUnion = VaultStorageConfigOperationResultResponse | PrepareDataMoveResponse;

// @public
export type VaultSubResourceType = string;

// @public
export interface WeeklyRetentionFormat {
daysOfTheWeek?: DayOfWeek[];
Expand Down Expand Up @@ -4100,7 +4118,7 @@ export type WorkloadItemUnion = WorkloadItem | AzureVmWorkloadItemUnion;
export interface WorkloadProtectableItem {
backupManagementType?: string;
friendlyName?: string;
protectableItemType: "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "SAPHanaHSR" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
protectableItemType: "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance";
protectionState?: ProtectionStatus;
workloadType?: string;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Returns backup management server registered to Recovery Services Vault.
*
* @summary Returns backup management server registered to Recovery Services Vault.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Dpm/BackupEngines_Get.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Dpm/BackupEngines_Get.json
*/
async function getDpmOrAzureBackupServerOrLajollaBackupEngineDetails() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
*
* @summary Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Dpm/BackupEngines_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Dpm/BackupEngines_List.json
*/
async function listDpmOrAzureBackupServerOrLajollaBackupEngines() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Provides a pageable list of jobs.
*
* @summary Provides a pageable list of jobs.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ListJobs.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ListJobs.json
*/
async function listAllJobs() {
const subscriptionId =
Expand All @@ -43,7 +43,7 @@ async function listAllJobs() {
* This sample demonstrates how to Provides a pageable list of jobs.
*
* @summary Provides a pageable list of jobs.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ListJobsWithAllSupportedFilters.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ListJobsWithAllSupportedFilters.json
*/
async function listJobsWithFilters() {
const subscriptionId =
Expand Down Expand Up @@ -72,7 +72,7 @@ async function listJobsWithFilters() {
* This sample demonstrates how to Provides a pageable list of jobs.
*
* @summary Provides a pageable list of jobs.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json
*/
async function listJobsWithTimeFilter() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ part of the Location header of the operation response.
status code in the response would be Accepted. It will continue to be in this state till it reaches completion. On
successful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is
part of the Location header of the operation response.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ProtectedItem_Delete_OperationResult.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ProtectedItem_Delete_OperationResult.json
*/
async function getResultForProtectedItemDeleteOperation() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ create jobs. This method returns the list of jobs when the operation is complete
* @summary Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed
or failed. You can refer to the OperationStatus enum for all the possible states of an operation. Some operations
create jobs. This method returns the list of jobs when the operation is complete.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/Common/ProtectedItem_Delete_OperationStatus.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Common/ProtectedItem_Delete_OperationStatus.json
*/
async function getProtectedItemDeleteOperationStatus() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ scoped results.
*
* @summary Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
scoped results.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/BackupPolicies_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/BackupPolicies_List.json
*/
async function listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVM() {
const subscriptionId =
Expand Down Expand Up @@ -53,7 +53,7 @@ scoped results.
*
* @summary Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
scoped results.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/V2Policy/v2-List-Policies.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/V2Policy/v2-List-Policies.json
*/
async function listProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVMWithBothV1AndV2Policies() {
const subscriptionId =
Expand Down Expand Up @@ -83,7 +83,7 @@ scoped results.
*
* @summary Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
scoped results.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureWorkload/BackupPolicies_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureWorkload/BackupPolicies_List.json
*/
async function listProtectionPoliciesWithBackupManagementTypeFilterAsAzureWorkload() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pagination parameters.
*
* @summary Provides a pageable list of protectable objects within your subscription according to the query filter and the
pagination parameters.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/BackupProtectableItems_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/BackupProtectableItems_List.json
*/
async function listProtectableItemsWithBackupManagementTypeFilterAsAzureIaasVM() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Provides a pageable list of all items that are backed up within a vault.
*
* @summary Provides a pageable list of all items that are backed up within a vault.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/examples/AzureIaasVm/BackupProtectedItems_List.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/AzureIaasVm/BackupProtectedItems_List.json
*/
async function listProtectedItemsWithBackupManagementTypeFilterAsAzureIaasVM() {
const subscriptionId =
Expand Down
Loading

0 comments on commit 78d7af9

Please sign in to comment.