Skip to content

Commit

Permalink
CodeGen from PR 22628 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Add flush rest api specs  (Azure#22628)

* Adds base for updating Microsoft.Cache from version preview/2022-11-01-preview to version 2023-03-01-preview

* Updates readme

* Updates API version in new specs and examples

* Adding flush rest api specs

* Add pattern for cluster and database parameters

* Minor changes

* fix lint error . 2. Revert parameter pattern change
 Please enter the commit message for your changes. Lines starting

* updating the texts

* Make the ids of the flush parameters to be optional
  • Loading branch information
SDKAuto committed Feb 22, 2023
1 parent f361777 commit 2d66f6d
Show file tree
Hide file tree
Showing 18 changed files with 1,135 additions and 75 deletions.
60 changes: 30 additions & 30 deletions common/config/rush/pnpm-lock.yaml

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

46 changes: 36 additions & 10 deletions sdk/redisenterprise/arm-redisenterprisecache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,41 @@
# Release History

## 2.3.0-beta.1 (2023-02-22)

**Features**

## 2.2.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group Skus
- Added operation Databases.beginFlush
- Added operation Databases.beginFlushAndWait
- Added Interface Capability
- Added Interface ClusterPropertiesEncryption
- Added Interface ClusterPropertiesEncryptionCustomerManagedKeyEncryption
- Added Interface ClusterPropertiesEncryptionCustomerManagedKeyEncryptionKeyIdentity
- Added Interface DatabasesFlushHeaders
- Added Interface DatabasesFlushOptionalParams
- Added Interface FlushParameters
- Added Interface LocationInfo
- Added Interface ManagedServiceIdentity
- Added Interface RegionSkuDetail
- Added Interface RegionSkuDetails
- Added Interface SkuDetail
- Added Interface SkusListOptionalParams
- Added Interface SystemData
- Added Interface UserAssignedIdentity
- Added Type Alias CreatedByType
- Added Type Alias ManagedServiceIdentityType
- Added Type Alias Name
- Added Type Alias SkusListResponse
- Interface Cluster has a new optional parameter encryption
- Interface Cluster has a new optional parameter identity
- Interface ClusterUpdate has a new optional parameter encryption
- Interface ClusterUpdate has a new optional parameter identity
- Interface Resource has a new optional parameter systemData
- Added Enum KnownCreatedByType
- Added Enum KnownManagedServiceIdentityType
- Added Enum KnownName


## 2.2.0 (2022-12-07)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/redisenterprise/arm-redisenterprisecache/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Microsoft
Copyright (c) 2023 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion sdk/redisenterprise/arm-redisenterprisecache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REST API for managing Redis Enterprise resources in Azure.

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redisenterprise/arm-redisenterprisecache) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-redisenterprisecache) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-redisenterprisecache) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-redisenterprisecache?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/redisenterprise/arm-redisenterprisecache/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "d2122bd6c18c0e76f33e522288567c51ddfbc205",
"commit": "6949b0babd3fd6979ee4c3b8fdd1208f25ab9894",
"readme": "specification/redisenterprise/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\\redisenterprise\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.4 --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/redisenterprise/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.2",
"use": "@autorest/typescript@6.0.0-rc.4"
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.0-rc.5"
}
20 changes: 6 additions & 14 deletions sdk/redisenterprise/arm-redisenterprisecache/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 RedisEnterpriseManagementClient.",
"version": "2.2.1",
"version": "2.3.0-beta.1",
"engines": {
"node": ">=14.0.0"
},
Expand All @@ -29,9 +29,9 @@
"types": "./types/arm-redisenterprisecache.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",
Expand Down Expand Up @@ -110,13 +110,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-redisenterprisecache?view=azure-node-preview"
}
}
"autoPublish": true
}
Loading

0 comments on commit 2d66f6d

Please sign in to comment.