Skip to content
Closed
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-01-22)

**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": "27446cba002d1ecc57b2a82a4e3f27c683b38d56",
"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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/recoveryservicesbackup/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
"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.20220105.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 @@ -88,19 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/RecoveryServicesBackupClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": ["azure"],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-recoveryservicesbackup?view=azure-node-preview"
}
}
"autoPublish": true
}
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 @@ -106,7 +106,8 @@ export type SchedulePolicyUnion =
| SchedulePolicy
| LogSchedulePolicy
| LongTermSchedulePolicy
| SimpleSchedulePolicy;
| SimpleSchedulePolicy
| SimpleSchedulePolicyV2;
export type RetentionPolicyUnion =
| RetentionPolicy
| LongTermRetentionPolicy
Expand Down Expand Up @@ -1129,7 +1130,8 @@ export interface SchedulePolicy {
schedulePolicyType:
| "LogSchedulePolicy"
| "LongTermSchedulePolicy"
| "SimpleSchedulePolicy";
| "SimpleSchedulePolicy"
| "SimpleSchedulePolicyV2";
}

/** Base class for retention policy. */
Expand Down Expand Up @@ -1531,6 +1533,17 @@ export interface HourlySchedule {
scheduleWindowDuration?: number;
}

export interface DailySchedule {
/** List of times of day this schedule has to be run. */
scheduleRunTimes?: Date[];
}

export interface WeeklySchedule {
scheduleRunDays?: DayOfWeek[];
/** List of times of day this schedule has to be run. */
scheduleRunTimes?: Date[];
}

/** IaaS VM workload specific restore details for restores using managed identity */
export interface IdentityBasedRestoreDetails {
/** Gets the class type. */
Expand Down Expand Up @@ -2669,6 +2682,7 @@ export type AzureIaaSVMProtectionPolicy = ProtectionPolicy & {
instantRpRetentionRangeInDays?: number;
/** TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". */
timeZone?: string;
policyType?: IaasvmPolicyType;
};

/** Azure SQL workload-specific backup policy. */
Expand Down Expand Up @@ -3168,6 +3182,20 @@ export type SimpleSchedulePolicy = SchedulePolicy & {
scheduleWeeklyFrequency?: number;
};

/** The V2 policy schedule for IaaS that supports hourly backups. */
export type SimpleSchedulePolicyV2 = SchedulePolicy & {
/** Polymorphic discriminator, which specifies the different types this object can be */
schedulePolicyType: "SimpleSchedulePolicyV2";
/** Frequency of the schedule operation of this policy. */
scheduleRunFrequency?: ScheduleRunType;
/** hourly schedule of this policy */
hourlySchedule?: HourlySchedule;
/** Daily schedule of this policy */
dailySchedule?: DailySchedule;
/** Weekly schedule of this policy */
weeklySchedule?: WeeklySchedule;
};

/** Long term retention policy. */
export type LongTermRetentionPolicy = RetentionPolicy & {
/** Polymorphic discriminator, which specifies the different types this object can be */
Expand Down Expand Up @@ -3700,7 +3728,9 @@ export enum KnownProtectionIntentItemType {
Invalid = "Invalid",
AzureResourceItem = "AzureResourceItem",
RecoveryServiceVaultItem = "RecoveryServiceVaultItem",
AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent"
AzureWorkloadContainerAutoProtectionIntent = "AzureWorkloadContainerAutoProtectionIntent",
AzureWorkloadAutoProtectionIntent = "AzureWorkloadAutoProtectionIntent",
AzureWorkloadSQLAutoProtectionIntent = "AzureWorkloadSQLAutoProtectionIntent"
}

/**
Expand All @@ -3711,7 +3741,9 @@ export enum KnownProtectionIntentItemType {
* **Invalid** \
* **AzureResourceItem** \
* **RecoveryServiceVaultItem** \
* **AzureWorkloadContainerAutoProtectionIntent**
* **AzureWorkloadContainerAutoProtectionIntent** \
* **AzureWorkloadAutoProtectionIntent** \
* **AzureWorkloadSQLAutoProtectionIntent**
*/
export type ProtectionIntentItemType = string;

Expand Down Expand Up @@ -4001,7 +4033,10 @@ export enum KnownContainerType {
VMAppContainer = "VMAppContainer",
SqlagWorkLoadContainer = "SQLAGWorkLoadContainer",
StorageContainer = "StorageContainer",
GenericContainer = "GenericContainer"
GenericContainer = "GenericContainer",
MicrosoftClassicComputeVirtualMachines = "Microsoft.ClassicCompute/virtualMachines",
MicrosoftComputeVirtualMachines = "Microsoft.Compute/virtualMachines",
AzureWorkloadContainer = "AzureWorkloadContainer"
}

/**
Expand All @@ -4023,7 +4058,10 @@ export enum KnownContainerType {
* **VMAppContainer** \
* **SQLAGWorkLoadContainer** \
* **StorageContainer** \
* **GenericContainer**
* **GenericContainer** \
* **Microsoft.ClassicCompute\/virtualMachines** \
* **Microsoft.Compute\/virtualMachines** \
* **AzureWorkloadContainer**
*/
export type ContainerType = string;

Expand Down Expand Up @@ -4223,6 +4261,24 @@ export enum KnownHealthStatus {
*/
export type HealthStatus = string;

/** Known values of {@link IaasvmPolicyType} that the service accepts. */
export enum KnownIaasvmPolicyType {
Invalid = "Invalid",
V1 = "V1",
V2 = "V2"
}

/**
* Defines values for IaasvmPolicyType. \
* {@link KnownIaasvmPolicyType} can be used interchangeably with IaasvmPolicyType,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Invalid** \
* **V1** \
* **V2**
*/
export type IaasvmPolicyType = string;

/** Known values of {@link ProtectedItemState} that the service accepts. */
export enum KnownProtectedItemState {
Invalid = "Invalid",
Expand Down
Loading