Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-keyvault] [Mysql, iothub, keyvault, monitor]config readme.python #8012

Closed
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.

34 changes: 23 additions & 11 deletions sdk/keyvault/arm-keyvault/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# Release History

## 2.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 2.1.0-beta.1 (2022-03-11)

**Features**

- Added Interface Action
- Added Interface KeyReleasePolicy
- Added Interface KeyRotationPolicyAttributes
- Added Interface LifetimeAction
- Added Interface RotationPolicy
- Added Interface Trigger
- Added Type Alias KeyRotationPolicyActionType
- Interface KeyProperties has a new optional parameter releasePolicy
- Interface KeyProperties has a new optional parameter rotationPolicy
- Type Alias Key has a new parameter rotationPolicy
- Type Alias Key has a new parameter releasePolicy
- Enum KnownJsonWebKeyOperation has a new value Release
- Enum KnownKeyPermissions has a new value Getrotationpolicy
- Enum KnownKeyPermissions has a new value Release
- Enum KnownKeyPermissions has a new value Rotate
- Enum KnownKeyPermissions has a new value Setrotationpolicy


## 2.0.0 (2022-01-17)

The package of @azure/arm-keyvault is using our next generation design principles since version 2.0.0, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/arm-keyvault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Azure management API provides a RESTful set of web services that interact wi

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

## Getting started
Expand Down
7 changes: 4 additions & 3 deletions sdk/keyvault/arm-keyvault/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "dc439efcfc15448824877603f66fc1578d1c71c5",
"commit": "76117c6d52cd33ab3f78441f8a002db95281589e",
"readme": "specification/keyvault/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/keyvault/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.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/keyvault/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20211217.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.1.1",
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/keyvault/arm-keyvault/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-keyvault.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"
}
}
}
}
}
8 changes: 4 additions & 4 deletions sdk/keyvault/arm-keyvault/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 KeyVaultManagementClient.",
"version": "2.0.1",
"version": "2.1.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,12 +29,12 @@
"types": "./types/arm-keyvault.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",
Expand Down Expand Up @@ -99,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
53 changes: 53 additions & 0 deletions sdk/keyvault/arm-keyvault/review/arm-keyvault.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export interface AccessPolicyEntry {
// @public
export type AccessPolicyUpdateKind = "add" | "replace" | "remove";

// @public (undocumented)
export interface Action {
type?: KeyRotationPolicyActionType;
}

// @public
export type ActionsRequired = string;

Expand Down Expand Up @@ -152,6 +157,8 @@ export type Key = Resource & {
curveName?: JsonWebKeyCurveName;
readonly keyUri?: string;
readonly keyUriWithVersion?: string;
rotationPolicy?: RotationPolicy;
releasePolicy?: KeyReleasePolicy;
};

// @public
Expand Down Expand Up @@ -192,6 +199,24 @@ export interface KeyProperties {
readonly keyUri?: string;
readonly keyUriWithVersion?: string;
kty?: JsonWebKeyType;
releasePolicy?: KeyReleasePolicy;
rotationPolicy?: RotationPolicy;
}

// @public (undocumented)
export interface KeyReleasePolicy {
contentType?: string;
data?: Uint8Array;
}

// @public
export type KeyRotationPolicyActionType = "rotate" | "notify";

// @public (undocumented)
export interface KeyRotationPolicyAttributes {
readonly created?: number;
expiryTime?: string;
readonly updated?: number;
}

// @public
Expand Down Expand Up @@ -377,6 +402,8 @@ export enum KnownJsonWebKeyOperation {
// (undocumented)
Import = "import",
// (undocumented)
Release = "release",
// (undocumented)
Sign = "sign",
// (undocumented)
UnwrapKey = "unwrapKey",
Expand Down Expand Up @@ -415,6 +442,8 @@ export enum KnownKeyPermissions {
// (undocumented)
Get = "get",
// (undocumented)
Getrotationpolicy = "getrotationpolicy",
// (undocumented)
Import = "import",
// (undocumented)
List = "list",
Expand All @@ -423,8 +452,14 @@ export enum KnownKeyPermissions {
// (undocumented)
Recover = "recover",
// (undocumented)
Release = "release",
// (undocumented)
Restore = "restore",
// (undocumented)
Rotate = "rotate",
// (undocumented)
Setrotationpolicy = "setrotationpolicy",
// (undocumented)
Sign = "sign",
// (undocumented)
UnwrapKey = "unwrapKey",
Expand Down Expand Up @@ -576,6 +611,12 @@ export enum KnownVaultProvisioningState {
Succeeded = "Succeeded"
}

// @public (undocumented)
export interface LifetimeAction {
action?: Action;
trigger?: Trigger;
}

// @public
export interface LogSpecification {
blobDuration?: string;
Expand Down Expand Up @@ -1110,6 +1151,12 @@ export interface ResourceListResult {
value?: Resource[];
}

// @public (undocumented)
export interface RotationPolicy {
attributes?: KeyRotationPolicyAttributes;
lifetimeActions?: LifetimeAction[];
}

// @public
export type Secret = Resource & {
properties: SecretProperties;
Expand Down Expand Up @@ -1235,6 +1282,12 @@ export interface SystemData {
lastModifiedByType?: IdentityType;
}

// @public (undocumented)
export interface Trigger {
timeAfterCreate?: string;
timeBeforeExpiry?: string;
}

// @public
export interface Vault {
readonly id?: string;
Expand Down
4 changes: 2 additions & 2 deletions sdk/keyvault/arm-keyvault/src/keyVaultManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class KeyVaultManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-keyvault/2.0.0`;
const packageDetails = `azsdk-js-arm-keyvault/2.1.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand All @@ -88,7 +88,7 @@ export class KeyVaultManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-10-01";
this.apiVersion = options.apiVersion || "2021-11-01-preview";
this.keys = new KeysImpl(this);
this.vaults = new VaultsImpl(this);
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
Expand Down
Loading