Skip to content

Commit

Permalink
CodeGen from PR 19659 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 722bee46c0d2c81fc09254216bb38385f7a3fc08 into 5646dda96ba2ca833448702e6ac856e19cd45a6a
  • Loading branch information
SDKAuto committed Jul 19, 2022
1 parent 38fc9d9 commit 8b365ce
Show file tree
Hide file tree
Showing 30 changed files with 1,310 additions and 240 deletions.
45 changes: 22 additions & 23 deletions common/config/rush/pnpm-lock.yaml

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# Release History

## 4.1.0 (2022-07-19)

**Features**

- Added operation ReplicationMigrationItems.beginPauseReplication
- Added operation ReplicationMigrationItems.beginPauseReplicationAndWait
- Added operation ReplicationMigrationItems.beginResumeReplication
- Added operation ReplicationMigrationItems.beginResumeReplicationAndWait
- Added Interface PauseReplicationInput
- Added Interface PauseReplicationInputProperties
- Added Interface ReplicationMigrationItemsPauseReplicationOptionalParams
- Added Interface ReplicationMigrationItemsResumeReplicationOptionalParams
- Added Interface ResumeReplicationInput
- Added Interface ResumeReplicationInputProperties
- Added Interface ResumeReplicationProviderSpecificInput
- Added Type Alias ReplicationMigrationItemsPauseReplicationResponse
- Added Type Alias ReplicationMigrationItemsResumeReplicationResponse
- Added Type Alias ResumeReplicationProviderSpecificInputUnion
- Added Type Alias VMwareCbtResumeReplicationInput
- Interface MigrationItemProperties has a new optional parameter lastMigrationStatus
- Interface MigrationItemProperties has a new optional parameter lastMigrationTime
- Interface MigrationItemProperties has a new optional parameter recoveryServicesProviderId
- Interface MigrationItemProperties has a new optional parameter replicationStatus
- Interface VMwareCbtNicDetails has a new optional parameter testIPAddress
- Interface VMwareCbtNicDetails has a new optional parameter testIPAddressType
- Interface VMwareCbtNicDetails has a new optional parameter testNetworkId
- Interface VMwareCbtNicDetails has a new optional parameter testSubnetName
- Interface VMwareCbtNicInput has a new optional parameter testStaticIPAddress
- Interface VMwareCbtNicInput has a new optional parameter testSubnetName
- Interface VMwareCbtProtectedDiskDetails has a new optional parameter seedBlobUri
- Interface VMwareCbtProtectedDiskDetails has a new optional parameter targetBlobUri
- Interface VMwareCbtUpdateDiskInput has a new optional parameter isOSDisk
- Type Alias VMwareCbtEnableMigrationInput has a new parameter testNetworkId
- Type Alias VMwareCbtEnableMigrationInput has a new parameter testSubnetName
- Type Alias VMwareCbtMigrationDetails has a new parameter storageAccountId
- Type Alias VMwareCbtMigrationDetails has a new parameter testNetworkId
- Type Alias VMwareCbtMigrationDetails has a new parameter resumeProgressPercentage
- Type Alias VMwareCbtMigrationDetails has a new parameter resumeRetryCount
- Type Alias VMwareCbtTestMigrateInput has a new parameter vmNics
- Type Alias VMwareCbtUpdateMigrationItemInput has a new parameter testNetworkId
- Enum KnownMigrationItemOperation has a new value PauseReplication
- Enum KnownMigrationItemOperation has a new value ResumeReplication
- Enum KnownMigrationState has a new value MigrationCompletedWithInformation
- Enum KnownMigrationState has a new value MigrationPartiallySucceeded
- Enum KnownMigrationState has a new value ProtectionSuspended
- Enum KnownMigrationState has a new value ResumeInitiated
- Enum KnownMigrationState has a new value ResumeInProgress
- Enum KnownMigrationState has a new value SuspendingProtection


## 4.0.0 (2022-01-20)

The package of @azure/arm-recoveryservices-siterecovery is using our next generation design principles since version 4.0.0, which contains breaking changes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- Latest versions of Safari, Chrome, Edge and Firefox.

See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Prerequisites

- An [Azure subscription][azure_sub].
Expand Down Expand Up @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { SiteRecoveryManagementClient } = require("@azure/arm-recoveryservices-siterecovery");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new SiteRecoveryManagementClient(new DefaultAzureCredential(), subscriptionId);

// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
// tenantId: "<YOUR_TENANT_ID>",
// clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new SiteRecoveryManagementClient(credential, subscriptionId);
```


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
"commit": "d67b22d21fc6491ed6cd2a9a546357ca5ac8b216",
"readme": "specification/recoveryservicessiterecovery/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/recoveryservicessiterecovery/resource-manager/readme.md --use=@autorest/[email protected].16.20220114.1",
"autorest_command": "autorest --version=3.7.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/recoveryservicessiterecovery/resource-manager/readme.md --use=@autorest/[email protected].19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected]"
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected]"
}
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-recoveryservices-siterecovery.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,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SiteRecoveryManagementClient.",
"version": "4.0.0",
"version": "4.1.0",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-client": "^1.5.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -29,20 +29,22 @@
"types": "./types/arm-recoveryservices-siterecovery.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "7.18.11",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.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": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery",
"repository": {
Expand Down Expand Up @@ -93,18 +95,18 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/SiteRecoveryManagementClient.ts",
"path": "src/siteRecoveryManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true
}
}
Loading

0 comments on commit 8b365ce

Please sign in to comment.