Skip to content

Commit

Permalink
CodeGen from PR 17070 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Hub Generated] Review request for Microsoft.Confluent to add version stable/2021-12-01 (Azure#17070)

* Adds base for updating Microsoft.Confluent from version preview/2021-09-01-preview to version 2021-12-01

* Updates readme

* Updates API version in new specs and examples

* Fixing spellcheck and updating readme files (Azure#17071)

* Update confluent.json (Azure#18254)

Fixing linting errors

* Update confluent.json for LintDiff fixes (Azure#18261)
SDKAuto committed Mar 28, 2022
1 parent 39f456a commit 7b41510
Showing 9 changed files with 48 additions and 35 deletions.
16 changes: 3 additions & 13 deletions sdk/confluent/arm-confluent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
# Release History

## 3.0.0 (2022-03-28)

## 3.0.0-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 3.0.0-beta.1 (2022-01-05)

The package of @azure/arm-confluent is using our next generation design principles since version 3.0.0-beta.1, which contains breaking changes.
The package of @azure/arm-confluent is using our next generation design principles since version 3.0.0, which contains breaking changes.

To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).

2 changes: 1 addition & 1 deletion sdk/confluent/arm-confluent/README.md
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f

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

## Getting started
7 changes: 4 additions & 3 deletions sdk/confluent/arm-confluent/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "c2820d17c45444d200e701e5dbb631f49befe2dc",
"commit": "49312ea7188eb199e29f91a80bd65b35033945c5",
"readme": "specification/confluent/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/confluent/resource-manager/readme.md --use=@autorest/[email protected].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/confluent/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]"
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected]"
}
25 changes: 19 additions & 6 deletions sdk/confluent/arm-confluent/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-confluent.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"
}
}
}
}
}
4 changes: 2 additions & 2 deletions sdk/confluent/arm-confluent/package.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ConfluentManagementClient.",
"version": "3.0.0-beta.2",
"version": "3.0.0",
"engines": {
"node": ">=12.0.0"
},
@@ -99,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
4 changes: 2 additions & 2 deletions sdk/confluent/arm-confluent/src/confluentManagementClient.ts
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ export class ConfluentManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-confluent/3.0.0-beta.1`;
const packageDetails = `azsdk-js-arm-confluent/3.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -77,7 +77,7 @@ export class ConfluentManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-09-01-preview";
this.apiVersion = options.apiVersion || "2021-12-01";
this.marketplaceAgreements = new MarketplaceAgreementsImpl(this);
this.organizationOperations = new OrganizationOperationsImpl(this);
this.organization = new OrganizationImpl(this);
2 changes: 1 addition & 1 deletion sdk/confluent/arm-confluent/src/models/parameters.ts
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ export const $host: OperationURLParameter = {
export const apiVersion: OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2021-09-01-preview",
defaultValue: "2021-12-01",
isConstant: true,
serializedName: "api-version",
type: {
16 changes: 12 additions & 4 deletions sdk/confluent/arm-confluent/tsconfig.json
Original file line number Diff line number Diff line change
@@ -9,11 +9,19 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"lib": ["es6", "dom"],
"lib": [
"es6",
"dom"
],
"declaration": true,
"outDir": "./dist-esm",
"importHelpers": true
},
"include": ["./src/**/*.ts", "./test/**/*.ts"],
"exclude": ["node_modules"]
}
"include": [
"./src/**/*.ts",
"./test/**/*.ts"
],
"exclude": [
"node_modules"
]
}
7 changes: 4 additions & 3 deletions sdk/confluent/ci.mgmt.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger:
branches:
include:
@@ -10,6 +10,7 @@ trigger:
include:
- sdk/confluent/ci.mgmt.yml
- sdk/confluent/arm-confluent/
- sdk/confluent/arm-confluent
pr:
branches:
include:
@@ -23,11 +24,11 @@ pr:
include:
- sdk/confluent/ci.mgmt.yml
- sdk/confluent/arm-confluent/

- sdk/confluent/arm-confluent
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: confluent
Artifacts:
- name: azure-arm-confluent
safeName: azurearmconfluent
safeName: azurearmconfluent

0 comments on commit 7b41510

Please sign in to comment.