Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Release History

## 8.1.0 (2022-02-14)

**Features**

- Added Interface DailySchedule
- Added Interface WeeklySchedule
- Added Type Alias IaasvmPolicyType
- Added Type Alias SimpleSchedulePolicyV2
- Type Alias AzureIaaSVMProtectionPolicy has a new parameter policyType
- Added Enum KnownIaasvmPolicyType
- Enum KnownContainerType has a new value AzureWorkloadContainer
- Enum KnownContainerType has a new value MicrosoftClassicComputeVirtualMachines
- Enum KnownContainerType has a new value MicrosoftComputeVirtualMachines
- Enum KnownProtectionIntentItemType has a new value AzureWorkloadAutoProtectionIntent
- Enum KnownProtectionIntentItemType has a new value AzureWorkloadSQLAutoProtectionIntent


## 8.0.0 (2022-01-20)

The package of @azure/arm-recoveryservicesbackup is using our next generation design principles since version 8.0.0, which contains breaking changes.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
"commit": "7c98de7664d4565c088350015ccd0cfc102eab49",
"readme": "specification/recoveryservicesbackup/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/recoveryservicesbackup/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --generate-sample=true",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/recoveryservicesbackup/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220128.1 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20220114.1"
"use": "@autorest/typescript@6.0.0-alpha.16.20220128.1"
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-recoveryservicesbackup.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for RecoveryServicesBackupClient.",
"version": "8.0.0",
"engines": { "node": ">=12.0.0" },
"version": "8.1.0",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -14,7 +16,13 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -41,7 +49,9 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down Expand Up @@ -91,16 +101,18 @@
"//metadata": {
"constantPaths": [
{
"path": "src/RecoveryServicesBackupClient.ts",
"path": "src/recoveryServicesBackupClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": ["azure"],
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-recoveryservicesbackup?view=azure-node-preview"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export type AzureIaaSVMProtectionPolicy = ProtectionPolicy & {
retentionPolicy?: RetentionPolicyUnion;
instantRpRetentionRangeInDays?: number;
timeZone?: string;
policyType?: IaasvmPolicyType;
};

// @public
Expand Down Expand Up @@ -1373,6 +1374,11 @@ export interface DailyRetentionSchedule {
retentionTimes?: Date[];
}

// @public (undocumented)
export interface DailySchedule {
scheduleRunTimes?: Date[];
}

// @public
export type DataMoveLevel = string;

Expand Down Expand Up @@ -1682,6 +1688,9 @@ export type IaasVmilrRegistrationRequest = ILRRequest & {
renewExistingRegistration?: boolean;
};

// @public
export type IaasvmPolicyType = string;

// @public
export type IaaSVMProtectableItem = WorkloadProtectableItem & {
protectableItemType: "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines";
Expand Down Expand Up @@ -2029,6 +2038,8 @@ export enum KnownContainerType {
// (undocumented)
AzureSqlContainer = "AzureSqlContainer",
// (undocumented)
AzureWorkloadContainer = "AzureWorkloadContainer",
// (undocumented)
Cluster = "Cluster",
// (undocumented)
DPMContainer = "DPMContainer",
Expand All @@ -2043,6 +2054,10 @@ export enum KnownContainerType {
// (undocumented)
MABContainer = "MABContainer",
// (undocumented)
MicrosoftClassicComputeVirtualMachines = "Microsoft.ClassicCompute/virtualMachines",
// (undocumented)
MicrosoftComputeVirtualMachines = "Microsoft.Compute/virtualMachines",
// (undocumented)
SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
// (undocumented)
StorageContainer = "StorageContainer",
Expand Down Expand Up @@ -2186,6 +2201,16 @@ export enum KnownHealthStatus {
Passed = "Passed"
}

// @public
export enum KnownIaasvmPolicyType {
// (undocumented)
Invalid = "Invalid",
// (undocumented)
V1 = "V1",
// (undocumented)
V2 = "V2"
}

// @public
export enum KnownInfrastructureEncryptionState {
// (undocumented)
Expand Down Expand Up @@ -2423,8 +2448,12 @@ export enum KnownProtectionIntentItemType {
// (undocumented)
AzureResourceItem = "AzureResourceItem",
// (undocumented)
AzureWorkloadAutoProtectionIntent = "AzureWorkloadAutoProtectionIntent",
// (undocumented)
AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent",
// (undocumented)
AzureWorkloadSQLAutoProtectionIntent = "AzureWorkloadSQLAutoProtectionIntent",
// (undocumented)
Invalid = "Invalid",
// (undocumented)
RecoveryServiceVaultItem = "RecoveryServiceVaultItem"
Expand Down Expand Up @@ -3963,11 +3992,11 @@ export type RetentionScheduleFormat = string;

// @public
export interface SchedulePolicy {
schedulePolicyType: "LogSchedulePolicy" | "LongTermSchedulePolicy" | "SimpleSchedulePolicy";
schedulePolicyType: "LogSchedulePolicy" | "LongTermSchedulePolicy" | "SimpleSchedulePolicy" | "SimpleSchedulePolicyV2";
}

// @public (undocumented)
export type SchedulePolicyUnion = SchedulePolicy | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy;
export type SchedulePolicyUnion = SchedulePolicy | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy | SimpleSchedulePolicyV2;

// @public
export type ScheduleRunType = string;
Expand Down Expand Up @@ -4013,6 +4042,15 @@ export type SimpleSchedulePolicy = SchedulePolicy & {
scheduleWeeklyFrequency?: number;
};

// @public
export type SimpleSchedulePolicyV2 = SchedulePolicy & {
schedulePolicyType: "SimpleSchedulePolicyV2";
scheduleRunFrequency?: ScheduleRunType;
hourlySchedule?: HourlySchedule;
dailySchedule?: DailySchedule;
weeklySchedule?: WeeklySchedule;
};

// @public
export type SoftDeleteFeatureState = string;

Expand Down Expand Up @@ -4215,6 +4253,13 @@ export interface WeeklyRetentionSchedule {
retentionTimes?: Date[];
}

// @public (undocumented)
export interface WeeklySchedule {
// (undocumented)
scheduleRunDays?: DayOfWeek[];
scheduleRunTimes?: Date[];
}

// @public
export type WeekOfMonth = "First" | "Second" | "Third" | "Fourth" | "Last" | "Invalid";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* This sample demonstrates how to Provides the result of the refresh operation triggered by the BeginRefresh operation.
*
* @summary Provides the result of the refresh operation triggered by the BeginRefresh operation.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-10-01/examples/Common/RefreshContainers_OperationResults.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-12-01/examples/Common/RefreshContainers_OperationResults.json
*/
import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
import { DefaultAzureCredential } from "@azure/identity";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ GetCancelOperationResult API.
*
* @summary Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call
GetCancelOperationResult API.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-10-01/examples/Common/TriggerCancelJob.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-12-01/examples/Common/TriggerCancelJob.json
*/
import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
import { DefaultAzureCredential } from "@azure/identity";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* This sample demonstrates how to Fetches the result of any operation.
*
* @summary Fetches the result of any operation.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-10-01/examples/Common/CancelJobOperationResult.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-12-01/examples/Common/CancelJobOperationResult.json
*/
import { RecoveryServicesBackupClient } from "@azure/arm-recoveryservicesbackup";
import { DefaultAzureCredential } from "@azure/identity";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* This sample demonstrates how to It will validate if given feature with resource properties is supported in service
*
* @summary It will validate if given feature with resource properties is supported in service
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-10-01/examples/AzureIaasVm/BackupFeature_Validate.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-12-01/examples/AzureIaasVm/BackupFeature_Validate.json
*/
import {
AzureVMResourceFeatureSupportRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* This sample demonstrates how to Create Intent for Enabling backup of an item. This is a synchronous operation.
*
* @summary Create Intent for Enabling backup of an item. This is a synchronous operation.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-10-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-12-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json
*/
import {
ProtectionIntentResource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ using GetPolicyOperationResult API.
*
* @summary Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
using GetPolicyOperationResult API.
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-10-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Daily.json
* x-ms-original-file: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2021-12-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Daily.json
*/
import {
ProtectionPolicyResource,
Expand Down
Loading