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-sql] modify api version of ReplicationLinks in swagger file #433

Closed
wants to merge 1 commit into from
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
21 changes: 10 additions & 11 deletions common/config/rush/pnpm-lock.yaml

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

81 changes: 81 additions & 0 deletions sdk/sql/arm-sql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,86 @@
# Release History

## 10.0.0-beta.1 (2022-05-06)

**Features**

- Added operation group DistributedAvailabilityGroups
- Added operation group EndpointCertificates
- Added operation group IPv6FirewallRules
- Added operation group ServerTrustCertificates
- Added Interface DistributedAvailabilityGroupsCreateOrUpdateOptionalParams
- Added Interface DistributedAvailabilityGroupsDeleteOptionalParams
- Added Interface DistributedAvailabilityGroupsGetOptionalParams
- Added Interface DistributedAvailabilityGroupsListByInstanceNextOptionalParams
- Added Interface DistributedAvailabilityGroupsListByInstanceOptionalParams
- Added Interface DistributedAvailabilityGroupsListResult
- Added Interface DistributedAvailabilityGroupsUpdateOptionalParams
- Added Interface EndpointCertificateListResult
- Added Interface EndpointCertificatesGetOptionalParams
- Added Interface EndpointCertificatesListByInstanceNextOptionalParams
- Added Interface EndpointCertificatesListByInstanceOptionalParams
- Added Interface IPv6FirewallRuleListResult
- Added Interface IPv6FirewallRulesCreateOrUpdateOptionalParams
- Added Interface IPv6FirewallRulesDeleteOptionalParams
- Added Interface IPv6FirewallRulesGetOptionalParams
- Added Interface IPv6FirewallRulesListByServerNextOptionalParams
- Added Interface IPv6FirewallRulesListByServerOptionalParams
- Added Interface ServerTrustCertificatesCreateOrUpdateOptionalParams
- Added Interface ServerTrustCertificatesDeleteOptionalParams
- Added Interface ServerTrustCertificatesGetOptionalParams
- Added Interface ServerTrustCertificatesListByInstanceNextOptionalParams
- Added Interface ServerTrustCertificatesListByInstanceOptionalParams
- Added Interface ServerTrustCertificatesListResult
- Added Type Alias DistributedAvailabilityGroup
- Added Type Alias DistributedAvailabilityGroupsCreateOrUpdateResponse
- Added Type Alias DistributedAvailabilityGroupsGetResponse
- Added Type Alias DistributedAvailabilityGroupsListByInstanceNextResponse
- Added Type Alias DistributedAvailabilityGroupsListByInstanceResponse
- Added Type Alias DistributedAvailabilityGroupsUpdateResponse
- Added Type Alias EndpointCertificate
- Added Type Alias EndpointCertificatesGetResponse
- Added Type Alias EndpointCertificatesListByInstanceNextResponse
- Added Type Alias EndpointCertificatesListByInstanceResponse
- Added Type Alias IPv6FirewallRule
- Added Type Alias IPv6FirewallRulesCreateOrUpdateResponse
- Added Type Alias IPv6FirewallRulesGetResponse
- Added Type Alias IPv6FirewallRulesListByServerNextResponse
- Added Type Alias IPv6FirewallRulesListByServerResponse
- Added Type Alias ReplicationLinksFailoverAllowDataLossResponse
- Added Type Alias ReplicationLinksFailoverResponse
- Added Type Alias ReplicationMode
- Added Type Alias ServerTrustCertificate
- Added Type Alias ServerTrustCertificatesCreateOrUpdateResponse
- Added Type Alias ServerTrustCertificatesGetResponse
- Added Type Alias ServerTrustCertificatesListByInstanceNextResponse
- Added Type Alias ServerTrustCertificatesListByInstanceResponse
- Added Type Alias SyncGroupsType
- Interface ElasticPoolUpdate has a new optional parameter highAvailabilityReplicaCount
- Class SqlManagementClient has a new parameter distributedAvailabilityGroups
- Class SqlManagementClient has a new parameter endpointCertificates
- Class SqlManagementClient has a new parameter iPv6FirewallRules
- Class SqlManagementClient has a new parameter serverTrustCertificates
- Type Alias Database has a new parameter sourceResourceId
- Type Alias DatabaseBlobAuditingPolicy has a new parameter isManagedIdentityInUse
- Type Alias ElasticPool has a new parameter highAvailabilityReplicaCount
- Type Alias ExtendedDatabaseBlobAuditingPolicy has a new parameter isManagedIdentityInUse
- Type Alias ExtendedServerBlobAuditingPolicy has a new parameter isManagedIdentityInUse
- Type Alias ServerBlobAuditingPolicy has a new parameter isManagedIdentityInUse
- Added Enum KnownReplicationMode
- Added Enum KnownSyncGroupsType

**Breaking Changes**

- Removed operation group OperationsHealthOperations
- Removed operation ReplicationLinks.beginUnlink
- Removed operation ReplicationLinks.beginUnlinkAndWait
- Operation SyncGroups.listLogs has a new signature
- Interface DatabaseIdentity no longer has parameter delegatedResources
- Interface DatabaseUpdate no longer has parameter primaryDelegatedIdentityClientId
- Class SqlManagementClient no longer has parameter operationsHealthOperations
- Type Alias Database no longer has parameter primaryDelegatedIdentityClientId
- Removed Enum KnownEnum60

## 9.0.1 (2022-05-01)

**Features**
Expand Down
13 changes: 1 addition & 12 deletions sdk/sql/arm-sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Azure SQL Database management API provides a RESTful set of web services tha

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

## Getting started
Expand All @@ -16,8 +16,6 @@ The Azure SQL Database management API provides a RESTful set of web services tha
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- Latest versions of Safari, Chrome, Edge and Firefox.

See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Prerequisites

- An [Azure subscription][azure_sub].
Expand Down Expand Up @@ -51,17 +49,8 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { SqlManagementClient } = require("@azure/arm-sql");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new SqlManagementClient(new DefaultAzureCredential(), subscriptionId);

// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
// tenantId: "<YOUR_TENANT_ID>",
// clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new SqlManagementClient(credential, subscriptionId);
```


Expand Down
10 changes: 5 additions & 5 deletions sdk/sql/arm-sql/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
"readme": "specification\\sql\\resource-manager\\readme.md",
"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=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\sql\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true",
"commit": "961283cd8ef119f3cd3a736bf77780f1d6a557e5",
"readme": "specification/sql/resource-manager/readme.md",
"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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/sql/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",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
}
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
40 changes: 12 additions & 28 deletions sdk/sql/arm-sql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SqlManagementClient.",
"version": "9.0.1",
"version": "10.0.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.5.0",
"@azure/core-client": "^1.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -28,14 +28,14 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-sql.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@microsoft/api-extractor": "^7.18.11",
"@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.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
Expand Down Expand Up @@ -98,21 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/sqlManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-sql?view=azure-node-preview"
}
}
"autoPublish": true
}
Loading