Skip to content

Commit

Permalink
CodeGen from PR 25574 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge d870e299c87a66a5af723190ee27627b54102dac into 0762e82bcccef4a032e29dda5e4c07fd7cc822a6
  • Loading branch information
SDKAuto committed Aug 29, 2023
1 parent bee1434 commit c41731f
Show file tree
Hide file tree
Showing 10 changed files with 266 additions and 102 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-08-29)

**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": "6d88f13f86c5d474571cc876572152fc67bcbad1",
"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/typescript@6.0.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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/recoveryservicesbackup/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.0-rc.9"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.2",
"use": "@autorest/typescript@^6.0.4"
}
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,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 Expand Up @@ -48,9 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/arm-recoveryservices": "^5.2.0",
"ts-node": "^10.0.0"
"ts-node": "^10.0.0",
"@azure/dev-tool": "^1.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -113,13 +112,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"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservicesbackup/arm-recoveryservicesbackup"
}
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
Loading

0 comments on commit c41731f

Please sign in to comment.