Skip to content

Commit

Permalink
CodeGen from PR 26376 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 75f0a5c688f3afd133c79ca379ed771a606310b1 into 58e92dd03733bc175e6a9540f4bc53703b57fcc9
  • Loading branch information
SDKAuto committed Oct 30, 2023
1 parent 0aef58c commit e788588
Show file tree
Hide file tree
Showing 20 changed files with 612 additions and 431 deletions.
210 changes: 187 additions & 23 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

41 changes: 20 additions & 21 deletions sdk/redisenterprise/arm-redisenterprisecache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,48 @@
# 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-beta.1 (2023-10-30)

**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 operation RedisEnterprise.checkNameAvailability
- Added Interface CheckNameAvailabilityParameters
- 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 PrivateEndpointConnectionsDeleteHeaders
- Added Interface RedisEnterpriseCheckNameAvailabilityOptionalParams
- Added Interface SystemData
- 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 PrivateEndpointConnectionsDeleteOptionalParams has a new optional parameter resumeFrom
- Interface PrivateEndpointConnectionsDeleteOptionalParams has a new optional parameter updateIntervalInMs
- Interface Resource has a new optional parameter systemData
- Added Enum KnownCmkIdentityType
- Added Enum KnownCreatedByType
- Added Enum KnownManagedServiceIdentityType
- Enum KnownResourceState has a new value Scaling
- Enum KnownResourceState has a new value ScalingFailed
- Enum KnownSkuName has a new value EnterpriseE200
- Enum KnownSkuName has a new value EnterpriseE400
- Enum KnownSkuName has a new value EnterpriseE5

**Breaking Changes**

- Removed operation PrivateEndpointConnections.delete


## 2.2.0 (2022-12-07)
Expand Down Expand Up @@ -82,4 +81,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.

To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).

To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
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": "cfd720db7f5fa7090c6174d9db757bf883507304",
"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.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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/redisenterprise/resource-manager/readme.md --use=@autorest/typescript@^6.0.11",
"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.10"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.3",
"use": "@autorest/typescript@^6.0.11"
}
39 changes: 20 additions & 19 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-beta.1",
"engines": {
"node": ">=16.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 @@ -29,21 +29,29 @@
"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-node-resolve": "^13.1.3",
"mkdirp": "^2.1.2",
"typescript": "~5.2.0",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~5.0.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^3.3.0",
"@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": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
"ts-node": "^10.0.0",
"@azure/dev-tool": "^1.0.0"
},
"repository": {
"type": "git",
Expand All @@ -64,20 +72,21 @@
"src/**/*.ts",
"README.md",
"LICENSE",
"rollup.config.js",
"tsconfig.json",
"review/*",
"CHANGELOG.md",
"types/*"
],
"scripts": {
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"prepack": "npm run build",
"pack": "npm pack 2>&1",
"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 Expand Up @@ -105,13 +114,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redisenterprise/arm-redisenterprisecache",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-redisenterprisecache?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redisenterprise/arm-redisenterprisecache"
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export type ActionType = string;
export type AofFrequency = string;

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

// @public
Expand Down Expand Up @@ -408,6 +408,8 @@ export enum KnownResourceState {
EnableFailed = "EnableFailed",
Enabling = "Enabling",
Running = "Running",
Scaling = "Scaling",
ScalingFailed = "ScalingFailed",
UpdateFailed = "UpdateFailed",
Updating = "Updating"
}
Expand All @@ -417,6 +419,9 @@ export enum KnownSkuName {
EnterpriseE10 = "Enterprise_E10",
EnterpriseE100 = "Enterprise_E100",
EnterpriseE20 = "Enterprise_E20",
EnterpriseE200 = "Enterprise_E200",
EnterpriseE400 = "Enterprise_E400",
EnterpriseE5 = "Enterprise_E5",
EnterpriseE50 = "Enterprise_E50",
EnterpriseFlashF1500 = "EnterpriseFlash_F1500",
EnterpriseFlashF300 = "EnterpriseFlash_F300",
Expand All @@ -439,12 +444,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 +561,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 @@ -651,11 +659,16 @@ export interface RedisEnterprise {
beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseDeleteOptionalParams): Promise<void>;
beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RedisEnterpriseUpdateResponse>, RedisEnterpriseUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterUpdate, options?: RedisEnterpriseUpdateOptionalParams): Promise<RedisEnterpriseUpdateResponse>;
checkNameAvailability(parameters: CheckNameAvailabilityParameters, options?: RedisEnterpriseCheckNameAvailabilityOptionalParams): Promise<void>;
get(resourceGroupName: string, clusterName: string, options?: RedisEnterpriseGetOptionalParams): Promise<RedisEnterpriseGetResponse>;
list(options?: RedisEnterpriseListOptionalParams): PagedAsyncIterableIterator<Cluster>;
listByResourceGroup(resourceGroupName: string, options?: RedisEnterpriseListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
}

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

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

Expand All @@ -752,18 +763,6 @@ 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;
Expand All @@ -781,26 +780,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;
Expand Down
Loading

0 comments on commit e788588

Please sign in to comment.