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

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

36 changes: 25 additions & 11 deletions sdk/redis/arm-rediscache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
# Release History

## 6.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 6.1.0 (2022-02-24)

**Features**

- Added operation group AsyncOperationStatus
- Added Interface AsyncOperationStatusGetOptionalParams
- Added Interface ErrorDetailAutoGenerated
- Added Interface ManagedServiceIdentity
- Added Interface OperationStatusResult
- Added Interface UserAssignedIdentity
- Added Type Alias AsyncOperationStatusGetResponse
- Added Type Alias ManagedServiceIdentityType
- Added Type Alias OperationStatus
- Interface RedisCommonPropertiesRedisConfiguration has a new optional parameter preferredDataArchiveAuthMethod
- Interface RedisCommonPropertiesRedisConfiguration has a new optional parameter preferredDataPersistenceAuthMethod
- Interface RedisCommonPropertiesRedisConfiguration has a new optional parameter zonalConfiguration
- Interface RedisCreateParameters has a new optional parameter identity
- Interface RedisUpdateParameters has a new optional parameter identity
- Class RedisManagementClient has a new parameter asyncOperationStatus
- Type Alias RedisPatchSchedule has a new parameter location
- Type Alias RedisResource has a new parameter identity
- Added Enum KnownManagedServiceIdentityType


## 6.0.0 (2021-12-10)

The package of @azure/arm-rediscache is using our next generation design principles since version 6.0.0, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/redis/arm-rediscache/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 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
6 changes: 3 additions & 3 deletions sdk/redis/arm-rediscache/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "76f8e0c50629ef12aa338d55782278ceca46212a",
"commit": "8978b2452e08ce44327a17bddbb55c593d3bc0f0",
"readme": "specification/redis/resource-manager/readme.md",
"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/[email protected].20211130.1",
"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/[email protected].20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20211130.1"
"use": "@autorest/[email protected].20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/redis/arm-rediscache/api-extractor.json
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-rediscache.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"
}
}
}
}
}
11 changes: 5 additions & 6 deletions sdk/redis/arm-rediscache/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 RedisManagementClient.",
"version": "6.0.1",
"version": "1.0.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,21 +29,20 @@
"types": "./types/arm-rediscache.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@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",
"mkdirp": "^1.0.4",
"rollup": "^2.0.0",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"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",
"mocha": "^7.1.1",
"cross-env": "^7.0.2",
"@azure/arm-network": "^26.0.0"
"cross-env": "^7.0.2"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redis/arm-rediscache",
"repository": {
Expand Down Expand Up @@ -100,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
80 changes: 80 additions & 0 deletions sdk/redis/arm-rediscache/review/arm-rediscache.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { PollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';

// @public
export interface AsyncOperationStatus {
get(location: string, operationId: string, options?: AsyncOperationStatusGetOptionalParams): Promise<AsyncOperationStatusGetResponse>;
}

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

// @public
export type AsyncOperationStatusGetResponse = OperationStatus;

// @public
export interface CheckNameAvailabilityParameters {
name: string;
Expand Down Expand Up @@ -37,6 +49,15 @@ export interface ErrorDetail {
readonly target?: string;
}

// @public
export interface ErrorDetailAutoGenerated {
readonly additionalInfo?: ErrorAdditionalInfo[];
readonly code?: string;
readonly details?: ErrorDetailAutoGenerated[];
readonly message?: string;
readonly target?: string;
}

// @public
export interface ErrorResponse {
error?: ErrorDetail;
Expand Down Expand Up @@ -101,6 +122,18 @@ export enum KnownDefaultName {
Default = "default"
}

// @public
export enum KnownManagedServiceIdentityType {
// (undocumented)
None = "None",
// (undocumented)
SystemAssigned = "SystemAssigned",
// (undocumented)
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned",
// (undocumented)
UserAssigned = "UserAssigned"
}

// @public
export enum KnownPrivateEndpointConnectionProvisioningState {
// (undocumented)
Expand Down Expand Up @@ -240,6 +273,19 @@ export interface LinkedServerListOptionalParams extends coreClient.OperationOpti
// @public
export type LinkedServerListResponse = RedisLinkedServerWithPropertiesList;

// @public
export interface ManagedServiceIdentity {
readonly principalId?: string;
readonly tenantId?: string;
type: ManagedServiceIdentityType;
userAssignedIdentities?: {
[propertyName: string]: UserAssignedIdentity;
};
}

// @public
export type ManagedServiceIdentityType = string;

// @public
export interface NotificationListResponse {
readonly nextLink?: string;
Expand Down Expand Up @@ -285,6 +331,25 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
// @public
export type OperationsListResponse = OperationListResult;

// @public
export type OperationStatus = OperationStatusResult & {
properties?: {
[propertyName: string]: any;
};
};

// @public
export interface OperationStatusResult {
endTime?: Date;
error?: ErrorDetailAutoGenerated;
id?: string;
name?: string;
operations?: OperationStatusResult[];
percentComplete?: number;
startTime?: Date;
status: string;
}

// @public
export interface PatchSchedules {
createOrUpdate(resourceGroupName: string, name: string, parameters: RedisPatchSchedule, defaultParam: DefaultName, options?: PatchSchedulesCreateOrUpdateOptionalParams): Promise<PatchSchedulesCreateOrUpdateResponse>;
Expand Down Expand Up @@ -483,10 +548,13 @@ export interface RedisCommonPropertiesRedisConfiguration {
maxmemoryDelta?: string;
maxmemoryPolicy?: string;
maxmemoryReserved?: string;
readonly preferredDataArchiveAuthMethod?: string;
readonly preferredDataPersistenceAuthMethod?: string;
rdbBackupEnabled?: string;
rdbBackupFrequency?: string;
rdbBackupMaxSnapshotCount?: string;
rdbStorageConnectionString?: string;
readonly zonalConfiguration?: string;
}

// @public
Expand All @@ -498,6 +566,7 @@ export interface RedisCreateOptionalParams extends coreClient.OperationOptions {
// @public
export interface RedisCreateParameters {
enableNonSslPort?: boolean;
identity?: ManagedServiceIdentity;
location: string;
minimumTlsVersion?: TlsVersion;
publicNetworkAccess?: PublicNetworkAccess;
Expand Down Expand Up @@ -694,6 +763,8 @@ export class RedisManagementClient extends coreClient.ServiceClient {
// (undocumented)
apiVersion: string;
// (undocumented)
asyncOperationStatus: AsyncOperationStatus;
// (undocumented)
firewallRules: FirewallRules;
// (undocumented)
linkedServer: LinkedServer;
Expand All @@ -720,6 +791,7 @@ export interface RedisManagementClientOptionalParams extends coreClient.ServiceC

// @public
export type RedisPatchSchedule = ProxyResource & {
readonly location?: string;
scheduleEntries: ScheduleEntry[];
};

Expand Down Expand Up @@ -763,6 +835,7 @@ export type RedisRegenerateKeyResponse = RedisAccessKeys;
// @public
export type RedisResource = TrackedResource & {
zones?: string[];
identity?: ManagedServiceIdentity;
redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
redisVersion?: string;
enableNonSslPort?: boolean;
Expand Down Expand Up @@ -794,6 +867,7 @@ export interface RedisUpdateOptionalParams extends coreClient.OperationOptions {
// @public
export interface RedisUpdateParameters {
enableNonSslPort?: boolean;
identity?: ManagedServiceIdentity;
minimumTlsVersion?: TlsVersion;
publicNetworkAccess?: PublicNetworkAccess;
redisConfiguration?: RedisCommonPropertiesRedisConfiguration;
Expand Down Expand Up @@ -868,6 +942,12 @@ export interface UpgradeNotification {
};
}

// @public
export interface UserAssignedIdentity {
readonly clientId?: string;
readonly principalId?: string;
}

// (No @packageDocumentation comment for this package)

```
Loading