Skip to content

Commit 47a3166

Browse files
author
SDKAuto
committed
CodeGen from PR 16009 in Azure/azure-rest-api-specs
Merge dbceca3c641059461252574e7efeae03a10cef24 into 9a19506631005d0ff1e3f394c86a9ce10cf51910
1 parent eb24323 commit 47a3166

File tree

251 files changed

+48060
-12850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

251 files changed

+48060
-12850
lines changed

sdk/sql/arm-sql/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019 Microsoft
3+
Copyright (c) 2021 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/sql/arm-sql/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## Azure SqlManagementClient SDK for JavaScript
22

3-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SqlManagementClient.
3+
This package contains an isomorphic SDK (runs both in node.js and in browsers) for SqlManagementClient.
44

55
### Currently supported environments
66

77
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
8-
- Latest versions of Safari, Chrome, Edge, and Firefox.
8+
- Latest versions of Safari, Chrome, Edge and Firefox.
99

1010
### Prerequisites
1111

@@ -21,7 +21,6 @@ Install both packages using the below command:
2121
```bash
2222
npm install --save @azure/arm-sql @azure/identity
2323
```
24-
2524
> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
2625
If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.
2726

@@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/
3736

3837
In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
3938
Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
40-
4139
#### nodejs - Authentication, client creation, and get recoverableDatabases as an example written in JavaScript.
4240

4341
##### Sample code
@@ -88,7 +86,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t
8886
const credential = new InteractiveBrowserCredential(
8987
{
9088
clientId: "<client id for your Azure AD app>",
91-
tenantId: "<optional tenant for your organization>"
89+
tenant: "<optional tenant for your organization>"
9290
});
9391
const client = new Azure.ArmSql.SqlManagementClient(creds, subscriptionId);
9492
const resourceGroupName = "testresourceGroupName";
@@ -111,4 +109,4 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t
111109

112110
- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
113111

114-
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/.\sdk\sql\arm-sql\/README.png)
112+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/sql/arm-sql/README.png)

sdk/sql/arm-sql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"rollup-plugin-sourcemaps": "^0.4.2",
2828
"uglify-js": "^3.6.0"
2929
},
30-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sql/arm-sql",
30+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/sql/arm-sql",
3131
"repository": {
3232
"type": "git",
3333
"url": "https://github.com/Azure/azure-sdk-for-js.git"

sdk/sql/arm-sql/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/sql/arm-sql/src/models/backupShortTermRetentionPoliciesMappers.ts

Lines changed: 70 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,37 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
*/
88

99
export {
10+
Advisor,
1011
AutomaticTuningOptions,
1112
AutomaticTuningServerOptions,
12-
BackupLongTermRetentionPolicy,
1313
BackupShortTermRetentionPolicy,
1414
BackupShortTermRetentionPolicyListResult,
1515
BaseResource,
1616
CloudError,
1717
Database,
1818
DatabaseAutomaticTuning,
1919
DatabaseBlobAuditingPolicy,
20+
DatabaseColumn,
21+
DatabaseExtensions,
2022
DatabaseOperation,
23+
DatabaseSchema,
2124
DatabaseSecurityAlertPolicy,
25+
DatabaseTable,
26+
DatabaseUsage,
2227
DatabaseVulnerabilityAssessment,
2328
DatabaseVulnerabilityAssessmentRuleBaseline,
2429
DatabaseVulnerabilityAssessmentRuleBaselineItem,
2530
DatabaseVulnerabilityAssessmentScansExport,
2631
DataMaskingPolicy,
2732
DataMaskingRule,
33+
DataWarehouseUserActivities,
34+
DeletedServer,
2835
ElasticPool,
2936
ElasticPoolActivity,
3037
ElasticPoolDatabaseActivity,
@@ -38,7 +45,8 @@ export {
3845
FailoverGroupReadWriteEndpoint,
3946
FirewallRule,
4047
GeoBackupPolicy,
41-
ImportExportResponse,
48+
ImportExportExtensionsOperationResult,
49+
ImportExportOperationResult,
4250
InstanceFailoverGroup,
4351
InstanceFailoverGroupReadOnlyEndpoint,
4452
InstanceFailoverGroupReadWriteEndpoint,
@@ -56,53 +64,96 @@ export {
5664
JobTarget,
5765
JobTargetGroup,
5866
JobVersion,
67+
LedgerDigestUploads,
5968
LongTermRetentionBackup,
69+
LongTermRetentionBackupOperationResult,
70+
LongTermRetentionPolicy,
71+
MaintenanceWindowOptions,
72+
MaintenanceWindows,
73+
MaintenanceWindowTimeRange,
6074
ManagedBackupShortTermRetentionPolicy,
6175
ManagedDatabase,
6276
ManagedDatabaseRestoreDetailsResult,
6377
ManagedDatabaseSecurityAlertPolicy,
6478
ManagedInstance,
6579
ManagedInstanceAdministrator,
80+
ManagedInstanceAzureADOnlyAuthentication,
6681
ManagedInstanceEncryptionProtector,
82+
ManagedInstanceExternalAdministrator,
6783
ManagedInstanceKey,
84+
ManagedInstanceLongTermRetentionBackup,
85+
ManagedInstanceLongTermRetentionPolicy,
86+
ManagedInstanceOperation,
87+
ManagedInstanceOperationParametersPair,
88+
ManagedInstanceOperationSteps,
6889
ManagedInstancePairInfo,
90+
ManagedInstancePecProperty,
91+
ManagedInstancePrivateEndpointConnection,
92+
ManagedInstancePrivateEndpointConnectionProperties,
93+
ManagedInstancePrivateEndpointProperty,
94+
ManagedInstancePrivateLink,
95+
ManagedInstancePrivateLinkProperties,
96+
ManagedInstancePrivateLinkServiceConnectionStateProperty,
97+
ManagedInstanceQuery,
6998
ManagedInstanceVulnerabilityAssessment,
7099
ManagedServerSecurityAlertPolicy,
71-
OperationImpact,
100+
ManagedTransparentDataEncryption,
101+
OperationsHealth,
102+
OutboundFirewallRule,
72103
PartnerInfo,
73104
PartnerRegionInfo,
74105
PrivateEndpointConnection,
106+
PrivateEndpointConnectionProperties,
107+
PrivateEndpointConnectionRequestStatus,
75108
PrivateEndpointProperty,
76109
PrivateLinkResource,
77110
PrivateLinkResourceProperties,
78111
PrivateLinkServiceConnectionStateProperty,
79112
ProxyResource,
80-
RecommendedElasticPool,
81-
RecommendedElasticPoolMetric,
82-
RecommendedIndex,
113+
ProxyResourceWithWritableName,
114+
QueryMetricInterval,
115+
QueryMetricProperties,
116+
QueryStatistics,
117+
RecommendedAction,
118+
RecommendedActionErrorInfo,
119+
RecommendedActionImpactRecord,
120+
RecommendedActionImplementationInfo,
121+
RecommendedActionMetricInfo,
122+
RecommendedActionStateInfo,
123+
RecommendedSensitivityLabelUpdate,
83124
RecoverableDatabase,
84125
RecoverableManagedDatabase,
85126
ReplicationLink,
86127
Resource,
87128
ResourceIdentity,
129+
ResourceWithWritableName,
88130
RestorableDroppedDatabase,
89131
RestorableDroppedManagedDatabase,
90132
RestorePoint,
133+
SecurityEvent,
134+
SecurityEventSqlInjectionAdditionalProperties,
91135
SensitivityLabel,
136+
SensitivityLabelUpdate,
92137
Server,
93138
ServerAutomaticTuning,
94139
ServerAzureADAdministrator,
140+
ServerAzureADOnlyAuthentication,
95141
ServerBlobAuditingPolicy,
96142
ServerCommunicationLink,
97143
ServerConnectionPolicy,
144+
ServerDevOpsAuditingSettings,
98145
ServerDnsAlias,
146+
ServerExternalAdministrator,
147+
ServerInfo,
99148
ServerKey,
149+
ServerOperation,
150+
ServerPrivateEndpointConnection,
100151
ServerSecurityAlertPolicy,
152+
ServerTrustGroup,
101153
ServerVulnerabilityAssessment,
102154
ServiceObjective,
103-
ServiceTierAdvisor,
104155
Sku,
105-
SloUsageMetric,
156+
SqlAgentConfiguration,
106157
SubscriptionUsage,
107158
SyncAgent,
108159
SyncAgentLinkedDatabase,
@@ -111,13 +162,21 @@ export {
111162
SyncGroupSchemaTable,
112163
SyncGroupSchemaTableColumn,
113164
SyncMember,
165+
SystemData,
114166
TdeCertificate,
167+
TimeZone,
115168
TrackedResource,
116169
TransparentDataEncryption,
117170
TransparentDataEncryptionActivity,
171+
UpdateManagedInstanceDnsServersOperation,
172+
UpsertManagedServerOperationParameters,
173+
UpsertManagedServerOperationStep,
174+
UserIdentity,
118175
VirtualCluster,
119176
VirtualNetworkRule,
120177
VulnerabilityAssessmentRecurringScansProperties,
121178
VulnerabilityAssessmentScanError,
122-
VulnerabilityAssessmentScanRecord
179+
VulnerabilityAssessmentScanRecord,
180+
WorkloadClassifier,
181+
WorkloadGroup
123182
} from "../models/mappers";
Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,38 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
*/
88

99
export {
10+
AutoPauseDelayTimeRange,
1011
CloudError,
1112
EditionCapability,
1213
ElasticPoolEditionCapability,
1314
ElasticPoolPerDatabaseMaxPerformanceLevelCapability,
1415
ElasticPoolPerDatabaseMinPerformanceLevelCapability,
1516
ElasticPoolPerformanceLevelCapability,
17+
InstancePoolEditionCapability,
18+
InstancePoolFamilyCapability,
19+
InstancePoolVcoresCapability,
1620
LicenseTypeCapability,
1721
LocationCapabilities,
1822
LogSizeCapability,
23+
MaintenanceConfigurationCapability,
1924
ManagedInstanceEditionCapability,
2025
ManagedInstanceFamilyCapability,
26+
ManagedInstanceMaintenanceConfigurationCapability,
2127
ManagedInstanceVcoresCapability,
2228
ManagedInstanceVersionCapability,
2329
MaxSizeCapability,
2430
MaxSizeRangeCapability,
31+
MinCapacityCapability,
2532
PerformanceLevelCapability,
33+
ReadScaleCapability,
2634
ServerVersionCapability,
2735
ServiceObjectiveCapability,
28-
Sku
36+
Sku,
37+
StorageCapability
2938
} from "../models/mappers";

0 commit comments

Comments
 (0)