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
14 changes: 7 additions & 7 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 17 additions & 10 deletions sdk/recoveryservicesbackup/arm-recoveryservicesbackup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
# Release History

## 10.1.0 (2023-03-01)

**Features**

## 10.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface ExtendedLocation
- Added Interface SecuredVMDetails
- Added Interface TargetDiskNetworkAccessSettings
- Added Type Alias TargetDiskNetworkAccessOption
- Interface BmsrpQueryObject has a new optional parameter includeSoftDeletedRP
- Interface IaasVMRecoveryPoint has a new optional parameter isPrivateAccessEnabledOnAnyDisk
- Interface IaasVMRecoveryPoint has a new optional parameter securityType
- Interface IaasVMRestoreRequest has a new optional parameter extendedLocation
- Interface IaasVMRestoreRequest has a new optional parameter securedVMDetails
- Interface IaasVMRestoreRequest has a new optional parameter targetDiskNetworkAccessSettings
- Interface RecoveryPointProperties has a new optional parameter isSoftDeleted


## 10.0.0 (2023-01-18)

**Features**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "0e20dd2e4e2a40e83840c30cce2efc4847fd9cb9",
"commit": "bbf4bb04656aa83d1f6cbc53e49eb6e5aad6b351",
"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=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\recoveryservicesbackup\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.7 --generate-sample=true",
"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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/recoveryservicesbackup/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.5",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.4",
"use": "@autorest/typescript@6.0.0-rc.7"
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.0-rc.5"
}
23 changes: 7 additions & 16 deletions sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for RecoveryServicesBackupClient.",
"version": "10.0.1",
"version": "10.1.0",
"engines": {
"node": ">=14.0.0"
},
Expand All @@ -29,17 +29,16 @@
"types": "./types/arm-recoveryservicesbackup.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
Expand All @@ -50,6 +49,7 @@
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservicesbackup/arm-recoveryservicesbackup",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down Expand Up @@ -110,14 +110,5 @@
}
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservicesbackup/arm-recoveryservicesbackup",
"//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 @@ -1280,6 +1280,7 @@ export interface BMSRefreshContainersQueryObject {
export interface BmsrpQueryObject {
endDate?: Date;
extendedInfo?: boolean;
includeSoftDeletedRP?: boolean;
moveReadyRPOnly?: boolean;
restorePointQueryType?: RestorePointQueryType;
startDate?: Date;
Expand Down Expand Up @@ -1594,6 +1595,12 @@ export interface ExportJobsOperationResultsGetOptionalParams extends coreClient.
// @public
export type ExportJobsOperationResultsGetResponse = OperationResultInfoBaseResource;

// @public
export interface ExtendedLocation {
name?: string;
type?: string;
}

// @public
export interface ExtendedProperties {
diskExclusionProperties?: DiskExclusionProperties;
Expand Down Expand Up @@ -1745,6 +1752,7 @@ export type IaaSVMProtectableItemUnion = IaaSVMProtectableItem | AzureIaaSClassi
export interface IaasVMRecoveryPoint extends RecoveryPoint {
isInstantIlrSessionActive?: boolean;
isManagedVirtualMachine?: boolean;
isPrivateAccessEnabledOnAnyDisk?: boolean;
isSourceVMEncrypted?: boolean;
keyAndSecret?: KeyAndSecretDetails;
objectType: "IaasVMRecoveryPoint";
Expand All @@ -1759,6 +1767,7 @@ export interface IaasVMRecoveryPoint extends RecoveryPoint {
recoveryPointTierDetails?: RecoveryPointTierInformationV2[];
recoveryPointTime?: Date;
recoveryPointType?: string;
securityType?: string;
sourceVMStorageType?: string;
virtualMachineSize?: string;
zones?: string[];
Expand All @@ -1770,6 +1779,7 @@ export interface IaasVMRestoreRequest extends RestoreRequest {
createNewCloudService?: boolean;
diskEncryptionSetId?: string;
encryptionDetails?: EncryptionDetails;
extendedLocation?: ExtendedLocation;
identityBasedRestoreDetails?: IdentityBasedRestoreDetails;
identityInfo?: IdentityInfo;
objectType: "IaasVMRestoreRequest" | "IaasVMRestoreWithRehydrationRequest";
Expand All @@ -1779,9 +1789,11 @@ export interface IaasVMRestoreRequest extends RestoreRequest {
region?: string;
restoreDiskLunList?: number[];
restoreWithManagedDisks?: boolean;
securedVMDetails?: SecuredVMDetails;
sourceResourceId?: string;
storageAccountId?: string;
subnetId?: string;
targetDiskNetworkAccessSettings?: TargetDiskNetworkAccessSettings;
targetDomainNameId?: string;
targetResourceGroupId?: string;
targetVirtualMachineId?: string;
Expand Down Expand Up @@ -3363,6 +3375,7 @@ export interface RecoveryPointMoveReadinessInfo {
// @public
export interface RecoveryPointProperties {
expiryTime?: string;
isSoftDeleted?: boolean;
ruleName?: string;
}

Expand Down Expand Up @@ -3762,6 +3775,11 @@ export type SchedulePolicyUnion = SchedulePolicy | LogSchedulePolicy | LongTermS
// @public
export type ScheduleRunType = string;

// @public
export interface SecuredVMDetails {
securedVMOsDiskEncryptionSetId?: string;
}

// @public
export interface SecurityPinBase {
resourceGuardOperationRequests?: string[];
Expand Down Expand Up @@ -3858,6 +3876,15 @@ export interface TargetAFSRestoreInfo {
targetResourceId?: string;
}

// @public
export type TargetDiskNetworkAccessOption = "SameAsOnSourceDisks" | "EnablePrivateAccessForAllDisks" | "EnablePublicAccessForAllDisks";

// @public
export interface TargetDiskNetworkAccessSettings {
targetDiskAccessId?: string;
targetDiskNetworkAccessOption?: TargetDiskNetworkAccessOption;
}

// @public
export interface TargetRestoreInfo {
containerId?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,8 @@ export interface RecoveryPointProperties {
expiryTime?: string;
/** Rule name tagged on Recovery Point that governs life cycle */
ruleName?: string;
/** Bool to indicate whether RP is in soft delete state or not */
isSoftDeleted?: boolean;
}

/** Restore file specs like file path, type and target folder path info. */
Expand Down Expand Up @@ -1466,6 +1468,8 @@ export interface BmsrpQueryObject {
extendedInfo?: boolean;
/** Whether the RP can be moved to another tier */
moveReadyRPOnly?: boolean;
/** Flag to indicate whether Soft Deleted RPs should be included/excluded from result. */
includeSoftDeletedRP?: boolean;
}

/** Disk information */
Expand Down Expand Up @@ -1673,6 +1677,28 @@ export interface RecoveryPointDiskConfiguration {
excludedDiskList?: DiskInformation[];
}

/** The extended location of Recovery point where VM was present. */
export interface ExtendedLocation {
/** Name of the extended location. */
name?: string;
/** Type of the extended location. Possible values include: 'EdgeZone' */
type?: string;
}

/** Restore request parameters for Secured VMs */
export interface SecuredVMDetails {
/** Gets or Sets Disk Encryption Set Id for Secured VM OS Disk */
securedVMOsDiskEncryptionSetId?: string;
}

/** Specifies target network access settings for disks of VM to be restored. */
export interface TargetDiskNetworkAccessSettings {
/** Network access settings to be used for restored disks */
targetDiskNetworkAccessOption?: TargetDiskNetworkAccessOption;
/** Gets or sets the ARM resource ID of the target disk access to be used when TargetDiskNetworkAccessOption is set to TargetDiskNetworkAccessOption.UseNew */
targetDiskAccessId?: string;
}

/** Filters to list the jobs. */
export interface JobQueryObject {
/** Status of the job. */
Expand Down Expand Up @@ -2628,8 +2654,12 @@ export interface IaasVMRecoveryPoint extends RecoveryPoint {
recoveryPointMoveReadinessInfo?: {
[propertyName: string]: RecoveryPointMoveReadinessInfo;
};
/** Security Type of the Disk */
securityType?: string;
/** Properties of Recovery Point */
recoveryPointProperties?: RecoveryPointProperties;
/** This flag denotes if any of the disks in the VM are using Private access network setting */
isPrivateAccessEnabledOnAnyDisk?: boolean;
}

/** AzureFileShare Restore Request */
Expand Down Expand Up @@ -2744,6 +2774,15 @@ export interface IaasVMRestoreRequest extends RestoreRequest {
identityInfo?: IdentityInfo;
/** IaaS VM workload specific restore details for restores using managed identity. */
identityBasedRestoreDetails?: IdentityBasedRestoreDetails;
/**
* Target extended location where the VM should be restored,
* should be null if restore is to be done in public cloud
*/
extendedLocation?: ExtendedLocation;
/** Stores Secured VM Details */
securedVMDetails?: SecuredVMDetails;
/** Specifies target network access settings for disks of VM to be restored, */
targetDiskNetworkAccessSettings?: TargetDiskNetworkAccessSettings;
}

/** Azure VM (Mercury) workload-specific backup policy. */
Expand Down Expand Up @@ -5483,6 +5522,11 @@ export type DayOfWeek =
| "Thursday"
| "Friday"
| "Saturday";
/** Defines values for TargetDiskNetworkAccessOption. */
export type TargetDiskNetworkAccessOption =
| "SameAsOnSourceDisks"
| "EnablePrivateAccessForAllDisks"
| "EnablePublicAccessForAllDisks";
/** Defines values for WeekOfMonth. */
export type WeekOfMonth =
| "First"
Expand Down
Loading