Skip to content
Merged
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
13 changes: 7 additions & 6 deletions common/config/rush/pnpm-lock.yaml

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

37 changes: 13 additions & 24 deletions sdk/redisenterprise/arm-redisenterprisecache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,38 @@
# Release History

## 2.3.0-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 2.3.0-beta.1 (2023-03-27)

## 3.0.0 (2024-01-31)

**Features**

- Added operation group Skus
- Added operation Databases.beginFlush
- Added operation Databases.beginFlushAndWait
- Added Interface Capability
- Added operation PrivateEndpointConnections.beginDelete
- Added operation PrivateEndpointConnections.beginDeleteAndWait
- 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 PrivateEndpointConnectionsDeleteHeaders
- Added Interface UserAssignedIdentity
- Added Type Alias CmkIdentityType
- Added Type Alias CreatedByType
- Added Type Alias ManagedServiceIdentityType
- 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
- Interface PrivateEndpointConnectionsDeleteOptionalParams has a new optional parameter resumeFrom
- Interface PrivateEndpointConnectionsDeleteOptionalParams has a new optional parameter updateIntervalInMs
- Added Enum KnownCmkIdentityType
- Added Enum KnownCreatedByType
- Added Enum KnownManagedServiceIdentityType
- Enum KnownResourceState has a new value Scaling
- Enum KnownResourceState has a new value ScalingFailed

**Breaking Changes**

- Removed operation PrivateEndpointConnections.delete


## 2.2.0 (2022-12-07)
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) 2023 Microsoft
Copyright (c) 2024 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?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-redisenterprisecache) |
[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": "72484575017c59f6eac35b75806055b76c569b19",
"commit": "f3cd6922dbe117d78b4f719bbf8b03db46b30808",
"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/[email protected].0-rc.10 --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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\redisenterprise\\resource-manager\\readme.md --use=@autorest/[email protected].13 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/[email protected].0-rc.10"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
"use": "@autorest/[email protected].13"
}
2 changes: 1 addition & 1 deletion sdk/redisenterprise/arm-redisenterprisecache/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/redisenterprise/arm-redisenterprisecache",
"Tag": "js/redisenterprise/arm-redisenterprisecache_cd555023fc"
"Tag": "js/redisenterprise/arm-redisenterprisecache_1189e65935"
}
15 changes: 8 additions & 7 deletions sdk/redisenterprise/arm-redisenterprisecache/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 RedisEnterpriseManagementClient.",
"version": "2.3.0-beta.2",
"version": "3.0.0",
"engines": {
"node": ">=18.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 All @@ -32,19 +32,20 @@
"mkdirp": "^2.1.2",
"typescript": "~5.3.3",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^4.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"esm": "^3.2.18",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0",
"@types/mocha": "^10.0.0"
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -78,7 +79,7 @@
"extract-api": "api-extractor run --local",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
"build:test": "echo skipped",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ export type ActionType = string;
// @public
export type AofFrequency = string;

// @public
export interface Capability {
name?: string;
value?: boolean;
}

// @public
export interface Cluster extends TrackedResource {
encryption?: ClusterPropertiesEncryption;
Expand Down Expand Up @@ -90,9 +84,6 @@ export interface ClusterUpdate {
// @public
export type CmkIdentityType = string;

// @public
export type CreatedByType = string;

// @public
export interface Database extends ProxyResource {
clientProtocol?: Protocol;
Expand Down Expand Up @@ -314,14 +305,6 @@ export enum KnownCmkIdentityType {
UserAssignedIdentity = "userAssignedIdentity"
}

// @public
export enum KnownCreatedByType {
Application = "Application",
Key = "Key",
ManagedIdentity = "ManagedIdentity",
User = "User"
}

// @public
export enum KnownEvictionPolicy {
AllKeysLFU = "AllKeysLFU",
Expand Down Expand Up @@ -408,6 +391,8 @@ export enum KnownResourceState {
EnableFailed = "EnableFailed",
Enabling = "Enabling",
Running = "Running",
Scaling = "Scaling",
ScalingFailed = "ScalingFailed",
UpdateFailed = "UpdateFailed",
Updating = "Updating"
}
Expand Down Expand Up @@ -439,12 +424,6 @@ export interface LinkedDatabase {
// @public
export type LinkState = string;

// @public
export interface LocationInfo {
capabilities?: Capability[];
location?: string;
}

// @public
export interface ManagedServiceIdentity {
readonly principalId?: string;
Expand Down Expand Up @@ -562,15 +541,24 @@ export type PrivateEndpointConnectionProvisioningState = string;

// @public
export interface PrivateEndpointConnections {
beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
beginPut(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsPutResponse>, PrivateEndpointConnectionsPutResponse>>;
beginPutAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
delete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
list(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
}

// @public
export interface PrivateEndpointConnectionsDeleteHeaders {
azureAsyncOperation?: string;
location?: string;
}

// @public
export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
Expand Down Expand Up @@ -726,8 +714,6 @@ export class RedisEnterpriseManagementClient extends coreClient.ServiceClient {
// (undocumented)
redisEnterprise: RedisEnterprise;
// (undocumented)
skus: Skus;
// (undocumented)
subscriptionId: string;
}

Expand All @@ -752,23 +738,10 @@ export interface RegenerateKeyParameters {
keyType: AccessKeyType;
}

// @public
export interface RegionSkuDetail {
locationInfo?: LocationInfo;
resourceType?: string;
skuDetails?: SkuDetail;
}

// @public
export interface RegionSkuDetails {
value?: RegionSkuDetail[];
}

// @public
export interface Resource {
readonly id?: string;
readonly name?: string;
readonly systemData?: SystemData;
readonly type?: string;
}

Expand All @@ -781,36 +754,9 @@ export interface Sku {
name: SkuName;
}

// @public
export interface SkuDetail {
name?: SkuName;
}

// @public
export type SkuName = string;

// @public
export interface Skus {
list(location: string, options?: SkusListOptionalParams): PagedAsyncIterableIterator<RegionSkuDetail>;
}

// @public
export interface SkusListOptionalParams extends coreClient.OperationOptions {
}

// @public
export type SkusListResponse = RegionSkuDetails;

// @public
export interface SystemData {
createdAt?: Date;
createdBy?: string;
createdByType?: CreatedByType;
lastModifiedAt?: Date;
lastModifiedBy?: string;
lastModifiedByType?: CreatedByType;
}

// @public
export type TlsVersion = string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates a database
*
* @summary Creates a database
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/examples/RedisEnterpriseDatabasesCreate.json
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2023-11-01/examples/RedisEnterpriseDatabasesCreate.json
*/
async function redisEnterpriseDatabasesCreate() {
const subscriptionId =
Expand Down Expand Up @@ -60,7 +60,7 @@ async function redisEnterpriseDatabasesCreate() {
* This sample demonstrates how to Creates a database
*
* @summary Creates a database
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/examples/RedisEnterpriseDatabasesCreateWithGeoReplication.json
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2023-11-01/examples/RedisEnterpriseDatabasesCreateWithGeoReplication.json
*/
async function redisEnterpriseDatabasesCreateWithActiveGeoReplication() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes a single database
*
* @summary Deletes a single database
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/examples/RedisEnterpriseDatabasesDelete.json
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2023-11-01/examples/RedisEnterpriseDatabasesDelete.json
*/
async function redisEnterpriseDatabasesDelete() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Exports a database file from target database.
*
* @summary Exports a database file from target database.
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/examples/RedisEnterpriseDatabasesExport.json
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2023-11-01/examples/RedisEnterpriseDatabasesExport.json
*/
async function redisEnterpriseDatabasesExport() {
const subscriptionId =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Flushes all the keys in this database and also from its linked databases.
*
* @summary Flushes all the keys in this database and also from its linked databases.
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2023-03-01-preview/examples/RedisEnterpriseDatabasesFlush.json
* x-ms-original-file: specification/redisenterprise/resource-manager/Microsoft.Cache/stable/2023-11-01/examples/RedisEnterpriseDatabasesFlush.json
*/
async function howToFlushAllTheKeysInTheDatabase() {
const subscriptionId =
Expand Down
Loading