Skip to content

Commit

Permalink
CodeGen from PR 17000 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Go] Track2 modify readme.go.md 9 (Azure#17000)

* [Go] Track2 modify readme.go.md 9

* fix
  • Loading branch information
SDKAuto committed Jan 5, 2022
1 parent dbbce26 commit 7f55de4
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 47 deletions.
21 changes: 0 additions & 21 deletions sdk/subscription/arm-subscriptions/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion sdk/subscription/arm-subscriptions/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
5 changes: 3 additions & 2 deletions sdk/subscription/arm-subscriptions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The subscription client

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

## Getting started
Expand Down Expand Up @@ -49,7 +49,8 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { SubscriptionClient } = require("@azure/arm-subscriptions");
const { DefaultAzureCredential } = require("@azure/identity");
const client = new SubscriptionClient(new DefaultAzureCredential());
const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new SubscriptionClient(new DefaultAzureCredential(), subscriptionId);
```


Expand Down
6 changes: 3 additions & 3 deletions sdk/subscription/arm-subscriptions/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "0cd7b3e83d5e7e21222dcc4bdde4565562da0cdf",
"commit": "2ab4371edba33c23e8d680ed2bf6f98705b5cadb",
"readme": "specification/subscription/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/subscription/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211217.1",
"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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/subscription/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20211217.1"
"use": "@autorest/typescript@6.0.0-alpha.16.20211130.1"
}
18 changes: 4 additions & 14 deletions sdk/subscription/arm-subscriptions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SubscriptionClient.",
"version": "4.0.1",
"engines": {
"node": ">=12.0.0"
},
"version": "1.0.0-beta.1",
"engines": { "node": ">=12.0.0" },
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -16,13 +14,7 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -49,9 +41,7 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class SubscriptionClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-subscriptions/4.0.0`;
const packageDetails = `azsdk-js-arm-subscriptions/1.0.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down

0 comments on commit 7f55de4

Please sign in to comment.