Skip to content

Commit

Permalink
Generated from 18068a88771f5df534aacf246416dcab4e1ff3d0
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 29, 2020
1 parent e64a3aa commit 6eda482
Show file tree
Hide file tree
Showing 199 changed files with 20,392 additions and 9,097 deletions.
2 changes: 1 addition & 1 deletion sdk/sql/arm-sql/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Microsoft
Copyright (c) 2020 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
9 changes: 4 additions & 5 deletions sdk/sql/arm-sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ npm install @azure/arm-sql

### How to use

#### nodejs - Authentication, client creation and get recoverableDatabases as an example written in TypeScript.
#### nodejs - client creation and get recoverableDatabases as an example written in TypeScript.

##### Install @azure/ms-rest-nodeauth

Expand All @@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"

##### Sample code

While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
```typescript
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
import { SqlManagementClient, SqlManagementModels, SqlManagementMappers } from "@azure/arm-sql";
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
const { SqlManagementClient } = require("@azure/arm-sql");
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];

msRestNodeAuth.interactiveLogin().then((creds) => {
Expand Down
4 changes: 2 additions & 2 deletions sdk/sql/arm-sql/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const config = {
"@azure/ms-rest-azure-js": "msRestAzure"
},
banner: `/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down Expand Up @@ -37,7 +37,7 @@ export {
FailoverGroupReadWriteEndpoint,
FirewallRule,
GeoBackupPolicy,
ImportExportResponse,
ImportExportOperationResult,
InstanceFailoverGroup,
InstanceFailoverGroupReadOnlyEndpoint,
InstanceFailoverGroupReadWriteEndpoint,
Expand All @@ -62,15 +62,23 @@ export {
ManagedDatabaseSecurityAlertPolicy,
ManagedInstance,
ManagedInstanceAdministrator,
ManagedInstanceAzureADOnlyAuthentication,
ManagedInstanceEncryptionProtector,
ManagedInstanceKey,
ManagedInstanceLongTermRetentionBackup,
ManagedInstanceLongTermRetentionPolicy,
ManagedInstanceOperation,
ManagedInstanceOperationParametersPair,
ManagedInstanceOperationSteps,
ManagedInstancePairInfo,
ManagedInstanceVulnerabilityAssessment,
ManagedServerSecurityAlertPolicy,
OperationImpact,
PartnerInfo,
PartnerRegionInfo,
PrivateEndpointConnection,
PrivateEndpointConnectionProperties,
PrivateEndpointConnectionRequestStatus,
PrivateEndpointProperty,
PrivateLinkResource,
PrivateLinkResourceProperties,
Expand All @@ -91,12 +99,16 @@ export {
Server,
ServerAutomaticTuning,
ServerAzureADAdministrator,
ServerAzureADOnlyAuthentication,
ServerBlobAuditingPolicy,
ServerCommunicationLink,
ServerConnectionPolicy,
ServerDnsAlias,
ServerInfo,
ServerKey,
ServerPrivateEndpointConnection,
ServerSecurityAlertPolicy,
ServerTrustGroup,
ServerVulnerabilityAssessment,
ServiceObjective,
ServiceTierAdvisor,
Expand All @@ -114,9 +126,13 @@ export {
TrackedResource,
TransparentDataEncryption,
TransparentDataEncryptionActivity,
UpsertManagedServerOperationParameters,
UpsertManagedServerOperationStep,
VirtualCluster,
VirtualNetworkRule,
VulnerabilityAssessmentRecurringScansProperties,
VulnerabilityAssessmentScanError,
VulnerabilityAssessmentScanRecord
VulnerabilityAssessmentScanRecord,
WorkloadClassifier,
WorkloadGroup
} from "../models/mappers";
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down Expand Up @@ -38,7 +38,7 @@ export {
FailoverGroupReadWriteEndpoint,
FirewallRule,
GeoBackupPolicy,
ImportExportResponse,
ImportExportOperationResult,
InstanceFailoverGroup,
InstanceFailoverGroupReadOnlyEndpoint,
InstanceFailoverGroupReadWriteEndpoint,
Expand All @@ -63,15 +63,23 @@ export {
ManagedDatabaseSecurityAlertPolicy,
ManagedInstance,
ManagedInstanceAdministrator,
ManagedInstanceAzureADOnlyAuthentication,
ManagedInstanceEncryptionProtector,
ManagedInstanceKey,
ManagedInstanceLongTermRetentionBackup,
ManagedInstanceLongTermRetentionPolicy,
ManagedInstanceOperation,
ManagedInstanceOperationParametersPair,
ManagedInstanceOperationSteps,
ManagedInstancePairInfo,
ManagedInstanceVulnerabilityAssessment,
ManagedServerSecurityAlertPolicy,
OperationImpact,
PartnerInfo,
PartnerRegionInfo,
PrivateEndpointConnection,
PrivateEndpointConnectionProperties,
PrivateEndpointConnectionRequestStatus,
PrivateEndpointProperty,
PrivateLinkResource,
PrivateLinkResourceProperties,
Expand All @@ -92,12 +100,16 @@ export {
Server,
ServerAutomaticTuning,
ServerAzureADAdministrator,
ServerAzureADOnlyAuthentication,
ServerBlobAuditingPolicy,
ServerCommunicationLink,
ServerConnectionPolicy,
ServerDnsAlias,
ServerInfo,
ServerKey,
ServerPrivateEndpointConnection,
ServerSecurityAlertPolicy,
ServerTrustGroup,
ServerVulnerabilityAssessment,
ServiceObjective,
ServiceTierAdvisor,
Expand All @@ -115,9 +127,13 @@ export {
TrackedResource,
TransparentDataEncryption,
TransparentDataEncryptionActivity,
UpsertManagedServerOperationParameters,
UpsertManagedServerOperationStep,
VirtualCluster,
VirtualNetworkRule,
VulnerabilityAssessmentRecurringScansProperties,
VulnerabilityAssessmentScanError,
VulnerabilityAssessmentScanRecord
VulnerabilityAssessmentScanRecord,
WorkloadClassifier,
WorkloadGroup
} from "../models/mappers";
13 changes: 10 additions & 3 deletions sdk/sql/arm-sql/src/models/capabilitiesMappers.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

export {
AutoPauseDelayTimeRange,
CloudError,
EditionCapability,
ElasticPoolEditionCapability,
ElasticPoolPerDatabaseMaxPerformanceLevelCapability,
ElasticPoolPerDatabaseMinPerformanceLevelCapability,
ElasticPoolPerformanceLevelCapability,
InstancePoolEditionCapability,
InstancePoolFamilyCapability,
InstancePoolVcoresCapability,
LicenseTypeCapability,
LocationCapabilities,
LogSizeCapability,
Expand All @@ -22,8 +26,11 @@ export {
ManagedInstanceVersionCapability,
MaxSizeCapability,
MaxSizeRangeCapability,
MinCapacityCapability,
PerformanceLevelCapability,
ReadScaleCapability,
ServerVersionCapability,
ServiceObjectiveCapability,
Sku
Sku,
StorageCapability
} from "../models/mappers";
24 changes: 20 additions & 4 deletions sdk/sql/arm-sql/src/models/dataMaskingPoliciesMappers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down Expand Up @@ -37,7 +37,7 @@ export {
FailoverGroupReadWriteEndpoint,
FirewallRule,
GeoBackupPolicy,
ImportExportResponse,
ImportExportOperationResult,
InstanceFailoverGroup,
InstanceFailoverGroupReadOnlyEndpoint,
InstanceFailoverGroupReadWriteEndpoint,
Expand All @@ -62,15 +62,23 @@ export {
ManagedDatabaseSecurityAlertPolicy,
ManagedInstance,
ManagedInstanceAdministrator,
ManagedInstanceAzureADOnlyAuthentication,
ManagedInstanceEncryptionProtector,
ManagedInstanceKey,
ManagedInstanceLongTermRetentionBackup,
ManagedInstanceLongTermRetentionPolicy,
ManagedInstanceOperation,
ManagedInstanceOperationParametersPair,
ManagedInstanceOperationSteps,
ManagedInstancePairInfo,
ManagedInstanceVulnerabilityAssessment,
ManagedServerSecurityAlertPolicy,
OperationImpact,
PartnerInfo,
PartnerRegionInfo,
PrivateEndpointConnection,
PrivateEndpointConnectionProperties,
PrivateEndpointConnectionRequestStatus,
PrivateEndpointProperty,
PrivateLinkResource,
PrivateLinkResourceProperties,
Expand All @@ -91,12 +99,16 @@ export {
Server,
ServerAutomaticTuning,
ServerAzureADAdministrator,
ServerAzureADOnlyAuthentication,
ServerBlobAuditingPolicy,
ServerCommunicationLink,
ServerConnectionPolicy,
ServerDnsAlias,
ServerInfo,
ServerKey,
ServerPrivateEndpointConnection,
ServerSecurityAlertPolicy,
ServerTrustGroup,
ServerVulnerabilityAssessment,
ServiceObjective,
ServiceTierAdvisor,
Expand All @@ -114,9 +126,13 @@ export {
TrackedResource,
TransparentDataEncryption,
TransparentDataEncryptionActivity,
UpsertManagedServerOperationParameters,
UpsertManagedServerOperationStep,
VirtualCluster,
VirtualNetworkRule,
VulnerabilityAssessmentRecurringScansProperties,
VulnerabilityAssessmentScanError,
VulnerabilityAssessmentScanRecord
VulnerabilityAssessmentScanRecord,
WorkloadClassifier,
WorkloadGroup
} from "../models/mappers";
24 changes: 20 additions & 4 deletions sdk/sql/arm-sql/src/models/dataMaskingRulesMappers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
Expand Down Expand Up @@ -38,7 +38,7 @@ export {
FailoverGroupReadWriteEndpoint,
FirewallRule,
GeoBackupPolicy,
ImportExportResponse,
ImportExportOperationResult,
InstanceFailoverGroup,
InstanceFailoverGroupReadOnlyEndpoint,
InstanceFailoverGroupReadWriteEndpoint,
Expand All @@ -63,15 +63,23 @@ export {
ManagedDatabaseSecurityAlertPolicy,
ManagedInstance,
ManagedInstanceAdministrator,
ManagedInstanceAzureADOnlyAuthentication,
ManagedInstanceEncryptionProtector,
ManagedInstanceKey,
ManagedInstanceLongTermRetentionBackup,
ManagedInstanceLongTermRetentionPolicy,
ManagedInstanceOperation,
ManagedInstanceOperationParametersPair,
ManagedInstanceOperationSteps,
ManagedInstancePairInfo,
ManagedInstanceVulnerabilityAssessment,
ManagedServerSecurityAlertPolicy,
OperationImpact,
PartnerInfo,
PartnerRegionInfo,
PrivateEndpointConnection,
PrivateEndpointConnectionProperties,
PrivateEndpointConnectionRequestStatus,
PrivateEndpointProperty,
PrivateLinkResource,
PrivateLinkResourceProperties,
Expand All @@ -92,12 +100,16 @@ export {
Server,
ServerAutomaticTuning,
ServerAzureADAdministrator,
ServerAzureADOnlyAuthentication,
ServerBlobAuditingPolicy,
ServerCommunicationLink,
ServerConnectionPolicy,
ServerDnsAlias,
ServerInfo,
ServerKey,
ServerPrivateEndpointConnection,
ServerSecurityAlertPolicy,
ServerTrustGroup,
ServerVulnerabilityAssessment,
ServiceObjective,
ServiceTierAdvisor,
Expand All @@ -115,9 +127,13 @@ export {
TrackedResource,
TransparentDataEncryption,
TransparentDataEncryptionActivity,
UpsertManagedServerOperationParameters,
UpsertManagedServerOperationStep,
VirtualCluster,
VirtualNetworkRule,
VulnerabilityAssessmentRecurringScansProperties,
VulnerabilityAssessmentScanError,
VulnerabilityAssessmentScanRecord
VulnerabilityAssessmentScanRecord,
WorkloadClassifier,
WorkloadGroup
} from "../models/mappers";
Loading

0 comments on commit 6eda482

Please sign in to comment.