Skip to content

Commit 0731cf6

Browse files
author
SDKAuto
committed
CodeGen from PR 17836 in Azure/azure-rest-api-specs
Merge 9daafda5e93ba04db19c7e31a442733874498910 into 23cd65e0e9fb064a98341351c4b24e627cd77df8
1 parent 812c232 commit 0731cf6

File tree

17 files changed

+725
-43
lines changed

17 files changed

+725
-43
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/redis/arm-rediscache/CHANGELOG.md

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
# Release History
2-
3-
## 6.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
2+
3+
## 6.1.0 (2022-02-24)
4+
5+
**Features**
6+
7+
- Added operation group AsyncOperationStatus
8+
- Added Interface AsyncOperationStatusGetOptionalParams
9+
- Added Interface ErrorDetailAutoGenerated
10+
- Added Interface ManagedServiceIdentity
11+
- Added Interface OperationStatusResult
12+
- Added Interface UserAssignedIdentity
13+
- Added Type Alias AsyncOperationStatusGetResponse
14+
- Added Type Alias ManagedServiceIdentityType
15+
- Added Type Alias OperationStatus
16+
- Interface RedisCommonPropertiesRedisConfiguration has a new optional parameter preferredDataArchiveAuthMethod
17+
- Interface RedisCommonPropertiesRedisConfiguration has a new optional parameter preferredDataPersistenceAuthMethod
18+
- Interface RedisCommonPropertiesRedisConfiguration has a new optional parameter zonalConfiguration
19+
- Interface RedisCreateParameters has a new optional parameter identity
20+
- Interface RedisUpdateParameters has a new optional parameter identity
21+
- Class RedisManagementClient has a new parameter asyncOperationStatus
22+
- Type Alias RedisPatchSchedule has a new parameter location
23+
- Type Alias RedisResource has a new parameter identity
24+
- Added Enum KnownManagedServiceIdentityType
25+
26+
1327
## 6.0.0 (2021-12-10)
1428

1529
The package of @azure/arm-rediscache is using our next generation design principles since version 6.0.0, which contains breaking changes.

sdk/redis/arm-rediscache/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2021 Microsoft
3+
Copyright (c) 2022 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"commit": "76f8e0c50629ef12aa338d55782278ceca46212a",
2+
"commit": "8978b2452e08ce44327a17bddbb55c593d3bc0f0",
33
"readme": "specification/redis/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.1.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/redis/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.1",
4+
"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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/redis/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/typescript@6.0.0-alpha.16.20211130.1"
6+
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
77
}
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
33
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4-
"docModel": { "enabled": true },
5-
"apiReport": { "enabled": true, "reportFolder": "./review" },
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
611
"dtsRollup": {
712
"enabled": true,
813
"untrimmedFilePath": "",
914
"publicTrimmedFilePath": "./types/arm-rediscache.d.ts"
1015
},
1116
"messages": {
12-
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
1322
"extractorMessageReporting": {
14-
"ae-missing-release-tag": { "logLevel": "none" },
15-
"ae-unresolved-link": { "logLevel": "none" }
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
1629
}
1730
}
18-
}
31+
}

sdk/redis/arm-rediscache/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for RedisManagementClient.",
6-
"version": "6.0.1",
6+
"version": "1.0.0-beta.1",
77
"engines": {
88
"node": ">=12.0.0"
99
},
@@ -29,21 +29,20 @@
2929
"types": "./types/arm-rediscache.d.ts",
3030
"devDependencies": {
3131
"@microsoft/api-extractor": "^7.18.11",
32-
"@rollup/plugin-commonjs": "^21.0.1",
32+
"@rollup/plugin-commonjs": "11.0.2",
3333
"@rollup/plugin-json": "^4.0.0",
3434
"@rollup/plugin-multi-entry": "^3.0.0",
3535
"@rollup/plugin-node-resolve": "^8.0.0",
3636
"mkdirp": "^1.0.4",
37-
"rollup": "^2.0.0",
37+
"rollup": "^1.16.3",
3838
"rollup-plugin-sourcemaps": "^0.4.2",
3939
"typescript": "~4.2.0",
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^3.0.0",
4242
"@azure/identity": "^2.0.1",
4343
"@azure-tools/test-recorder": "^1.0.0",
4444
"mocha": "^7.1.1",
45-
"cross-env": "^7.0.2",
46-
"@azure/arm-network": "^26.0.0"
45+
"cross-env": "^7.0.2"
4746
},
4847
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redis/arm-rediscache",
4948
"repository": {
@@ -100,4 +99,4 @@
10099
},
101100
"sideEffects": false,
102101
"autoPublish": true
103-
}
102+
}

sdk/redis/arm-rediscache/review/arm-rediscache.api.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
1010
import { PollerLike } from '@azure/core-lro';
1111
import { PollOperationState } from '@azure/core-lro';
1212

13+
// @public
14+
export interface AsyncOperationStatus {
15+
get(location: string, operationId: string, options?: AsyncOperationStatusGetOptionalParams): Promise<AsyncOperationStatusGetResponse>;
16+
}
17+
18+
// @public
19+
export interface AsyncOperationStatusGetOptionalParams extends coreClient.OperationOptions {
20+
}
21+
22+
// @public
23+
export type AsyncOperationStatusGetResponse = OperationStatus;
24+
1325
// @public
1426
export interface CheckNameAvailabilityParameters {
1527
name: string;
@@ -37,6 +49,15 @@ export interface ErrorDetail {
3749
readonly target?: string;
3850
}
3951

52+
// @public
53+
export interface ErrorDetailAutoGenerated {
54+
readonly additionalInfo?: ErrorAdditionalInfo[];
55+
readonly code?: string;
56+
readonly details?: ErrorDetailAutoGenerated[];
57+
readonly message?: string;
58+
readonly target?: string;
59+
}
60+
4061
// @public
4162
export interface ErrorResponse {
4263
error?: ErrorDetail;
@@ -101,6 +122,18 @@ export enum KnownDefaultName {
101122
Default = "default"
102123
}
103124

125+
// @public
126+
export enum KnownManagedServiceIdentityType {
127+
// (undocumented)
128+
None = "None",
129+
// (undocumented)
130+
SystemAssigned = "SystemAssigned",
131+
// (undocumented)
132+
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned",
133+
// (undocumented)
134+
UserAssigned = "UserAssigned"
135+
}
136+
104137
// @public
105138
export enum KnownPrivateEndpointConnectionProvisioningState {
106139
// (undocumented)
@@ -240,6 +273,19 @@ export interface LinkedServerListOptionalParams extends coreClient.OperationOpti
240273
// @public
241274
export type LinkedServerListResponse = RedisLinkedServerWithPropertiesList;
242275

276+
// @public
277+
export interface ManagedServiceIdentity {
278+
readonly principalId?: string;
279+
readonly tenantId?: string;
280+
type: ManagedServiceIdentityType;
281+
userAssignedIdentities?: {
282+
[propertyName: string]: UserAssignedIdentity;
283+
};
284+
}
285+
286+
// @public
287+
export type ManagedServiceIdentityType = string;
288+
243289
// @public
244290
export interface NotificationListResponse {
245291
readonly nextLink?: string;
@@ -285,6 +331,25 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
285331
// @public
286332
export type OperationsListResponse = OperationListResult;
287333

334+
// @public
335+
export type OperationStatus = OperationStatusResult & {
336+
properties?: {
337+
[propertyName: string]: any;
338+
};
339+
};
340+
341+
// @public
342+
export interface OperationStatusResult {
343+
endTime?: Date;
344+
error?: ErrorDetailAutoGenerated;
345+
id?: string;
346+
name?: string;
347+
operations?: OperationStatusResult[];
348+
percentComplete?: number;
349+
startTime?: Date;
350+
status: string;
351+
}
352+
288353
// @public
289354
export interface PatchSchedules {
290355
createOrUpdate(resourceGroupName: string, name: string, parameters: RedisPatchSchedule, defaultParam: DefaultName, options?: PatchSchedulesCreateOrUpdateOptionalParams): Promise<PatchSchedulesCreateOrUpdateResponse>;
@@ -483,10 +548,13 @@ export interface RedisCommonPropertiesRedisConfiguration {
483548
maxmemoryDelta?: string;
484549
maxmemoryPolicy?: string;
485550
maxmemoryReserved?: string;
551+
readonly preferredDataArchiveAuthMethod?: string;
552+
readonly preferredDataPersistenceAuthMethod?: string;
486553
rdbBackupEnabled?: string;
487554
rdbBackupFrequency?: string;
488555
rdbBackupMaxSnapshotCount?: string;
489556
rdbStorageConnectionString?: string;
557+
readonly zonalConfiguration?: string;
490558
}
491559

492560
// @public
@@ -498,6 +566,7 @@ export interface RedisCreateOptionalParams extends coreClient.OperationOptions {
498566
// @public
499567
export interface RedisCreateParameters {
500568
enableNonSslPort?: boolean;
569+
identity?: ManagedServiceIdentity;
501570
location: string;
502571
minimumTlsVersion?: TlsVersion;
503572
publicNetworkAccess?: PublicNetworkAccess;
@@ -694,6 +763,8 @@ export class RedisManagementClient extends coreClient.ServiceClient {
694763
// (undocumented)
695764
apiVersion: string;
696765
// (undocumented)
766+
asyncOperationStatus: AsyncOperationStatus;
767+
// (undocumented)
697768
firewallRules: FirewallRules;
698769
// (undocumented)
699770
linkedServer: LinkedServer;
@@ -720,6 +791,7 @@ export interface RedisManagementClientOptionalParams extends coreClient.ServiceC
720791

721792
// @public
722793
export type RedisPatchSchedule = ProxyResource & {
794+
readonly location?: string;
723795
scheduleEntries: ScheduleEntry[];
724796
};
725797

@@ -763,6 +835,7 @@ export type RedisRegenerateKeyResponse = RedisAccessKeys;
763835
// @public
764836
export type RedisResource = TrackedResource & {
765837
zones?: string[];
838+
identity?: ManagedServiceIdentity;
766839
redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
767840
redisVersion?: string;
768841
enableNonSslPort?: boolean;
@@ -794,6 +867,7 @@ export interface RedisUpdateOptionalParams extends coreClient.OperationOptions {
794867
// @public
795868
export interface RedisUpdateParameters {
796869
enableNonSslPort?: boolean;
870+
identity?: ManagedServiceIdentity;
797871
minimumTlsVersion?: TlsVersion;
798872
publicNetworkAccess?: PublicNetworkAccess;
799873
redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
@@ -868,6 +942,12 @@ export interface UpgradeNotification {
868942
};
869943
}
870944

945+
// @public
946+
export interface UserAssignedIdentity {
947+
readonly clientId?: string;
948+
readonly principalId?: string;
949+
}
950+
871951
// (No @packageDocumentation comment for this package)
872952

873953
```

0 commit comments

Comments
 (0)