Skip to content

Commit df2dfd3

Browse files
authored
1 parent 842560a commit df2dfd3

File tree

1,114 files changed

+60449
-1128
lines changed

Some content is hidden

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

1,114 files changed

+60449
-1128
lines changed

sdk/sql/arm-sql/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 10.1.0-beta.3 (2023-12-05)
3+
## 10.1.0-beta.3 (2023-12-18)
44

55
**Features**
66

@@ -35,6 +35,7 @@
3535
- Added Type Alias JobPrivateEndpointsListByAgentResponse
3636
- Added Type Alias LongTermRetentionBackupsChangeAccessTierByResourceGroupResponse
3737
- Added Type Alias LongTermRetentionBackupsChangeAccessTierResponse
38+
- Added Type Alias MinimalTlsVersion
3839
- Interface Database has a new optional parameter encryptionProtectorAutoRotation
3940
- Interface Database has a new optional parameter freeLimitExhaustionBehavior
4041
- Interface Database has a new optional parameter useFreeLimit
@@ -59,6 +60,8 @@
5960
- Interface InstancePoolUpdate has a new optional parameter vCores
6061
- Interface LongTermRetentionBackup has a new optional parameter backupStorageAccessTier
6162
- Interface LongTermRetentionBackup has a new optional parameter isBackupImmutable
63+
- Interface LongTermRetentionPolicy has a new optional parameter backupStorageAccessTier
64+
- Interface LongTermRetentionPolicy has a new optional parameter makeBackupsImmutable
6265
- Interface ManagedDatabase has a new optional parameter isLedgerOn
6366
- Interface ManagedDatabaseUpdate has a new optional parameter isLedgerOn
6467
- Interface PrivateEndpointConnection has a new optional parameter groupIds
@@ -67,6 +70,9 @@
6770
- Interface SqlVulnerabilityAssessmentScanRecord has a new optional parameter lastScanTime
6871
- Added Enum KnownBackupStorageAccessTier
6972
- Added Enum KnownFreeLimitExhaustionBehavior
73+
- Added Enum KnownMinimalTlsVersion
74+
- Type of parameter minimalTlsVersion of interface Server is changed from string to MinimalTlsVersion
75+
- Type of parameter minimalTlsVersion of interface ServerUpdate is changed from string to MinimalTlsVersion
7076

7177

7278
## 10.1.0-beta.2 (2023-09-20)
@@ -101,6 +107,7 @@
101107
- Interface SqlVulnerabilityAssessmentScanRecord has a new optional parameter lastScanTime
102108
- Added Enum KnownFreeLimitExhaustionBehavior
103109

110+
104111
## 10.1.0-beta.1 (2023-07-28)
105112

106113
**Features**

sdk/sql/arm-sql/_meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "cb798ffa99c193a88388f358965f377fde3699e8",
2+
"commit": "d9ae3ec3f64a2a91134515f222ef152c1df7129c",
33
"readme": "specification/sql/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\sql\\resource-manager\\readme.md --use=@autorest/typescript@6.0.12 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\sql\\resource-manager\\readme.md --use=@autorest/typescript@6.0.13 --generate-sample=true",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
66
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
7-
"use": "@autorest/typescript@6.0.12"
7+
"use": "@autorest/typescript@6.0.13"
88
}

sdk/sql/arm-sql/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/sql/arm-sql",
5-
"Tag": "js/sql/arm-sql_1c3b0be1b6"
5+
"Tag": "js/sql/arm-sql_11592e9366"
66
}

sdk/sql/arm-sql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@
116116
"disableDocsMs": true,
117117
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-sql?view=azure-node-preview"
118118
}
119-
}
119+
}

sdk/sql/arm-sql/review/arm-sql.api.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4127,6 +4127,15 @@ export enum KnownMetricType {
41274127
LogIo = "logIo"
41284128
}
41294129

4130+
// @public
4131+
export enum KnownMinimalTlsVersion {
4132+
None = "None",
4133+
One0 = "1.0",
4134+
One1 = "1.1",
4135+
One2 = "1.2",
4136+
One3 = "1.3"
4137+
}
4138+
41304139
// @public
41314140
export enum KnownMoveOperationMode {
41324141
Copy = "Copy",
@@ -5157,6 +5166,8 @@ export type LongTermRetentionPoliciesListByDatabaseResponse = LongTermRetentionP
51575166

51585167
// @public
51595168
export interface LongTermRetentionPolicy extends ProxyResource {
5169+
backupStorageAccessTier?: BackupStorageAccessTier;
5170+
makeBackupsImmutable?: boolean;
51605171
monthlyRetention?: string;
51615172
weeklyRetention?: string;
51625173
weekOfYear?: number;
@@ -7442,6 +7453,9 @@ export interface MinCapacityCapability {
74427453
readonly value?: number;
74437454
}
74447455

7456+
// @public
7457+
export type MinimalTlsVersion = string;
7458+
74457459
// @public
74467460
export type MoveOperationMode = string;
74477461

@@ -8540,7 +8554,7 @@ export interface Server extends TrackedResource {
85408554
isIPv6Enabled?: ServerNetworkAccessFlag;
85418555
keyId?: string;
85428556
readonly kind?: string;
8543-
minimalTlsVersion?: string;
8557+
minimalTlsVersion?: MinimalTlsVersion;
85448558
primaryUserAssignedIdentityId?: string;
85458559
readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
85468560
publicNetworkAccess?: ServerPublicNetworkAccessFlag;
@@ -9546,7 +9560,7 @@ export interface ServerUpdate {
95469560
identity?: ResourceIdentity;
95479561
isIPv6Enabled?: ServerNetworkAccessFlag;
95489562
keyId?: string;
9549-
minimalTlsVersion?: string;
9563+
minimalTlsVersion?: MinimalTlsVersion;
95509564
primaryUserAssignedIdentityId?: string;
95519565
readonly privateEndpointConnections?: ServerPrivateEndpointConnection[];
95529566
publicNetworkAccess?: ServerPublicNetworkAccessFlag;

sdk/sql/arm-sql/samples-dev/longTermRetentionPoliciesCreateOrUpdateSample.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import * as dotenv from "dotenv";
1515
dotenv.config();
1616

1717
/**
18-
* This sample demonstrates how to Sets a database's long term retention policy.
18+
* This sample demonstrates how to Set or update a database's long term retention policy.
1919
*
20-
* @summary Sets a database's long term retention policy.
20+
* @summary Set or update a database's long term retention policy.
2121
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionPolicyCreateOrUpdate.json
2222
*/
2323
async function createOrUpdateTheLongTermRetentionPolicyForTheDatabase() {
@@ -30,6 +30,8 @@ async function createOrUpdateTheLongTermRetentionPolicyForTheDatabase() {
3030
const databaseName = "testDatabase";
3131
const policyName = "default";
3232
const parameters: LongTermRetentionPolicy = {
33+
backupStorageAccessTier: "Hot",
34+
makeBackupsImmutable: true,
3335
monthlyRetention: "P1Y",
3436
weekOfYear: 5,
3537
weeklyRetention: "P1M",

sdk/sql/arm-sql/samples-dev/serversCheckNameAvailabilitySample.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dotenv.config();
2121
* This sample demonstrates how to Determines whether a resource can be created with the specified name.
2222
*
2323
* @summary Determines whether a resource can be created with the specified name.
24-
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CheckNameAvailabilityServerAlreadyExists.json
24+
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/CheckNameAvailabilityServerAlreadyExists.json
2525
*/
2626
async function checkForAServerNameThatAlreadyExists() {
2727
const subscriptionId =
@@ -41,7 +41,7 @@ async function checkForAServerNameThatAlreadyExists() {
4141
* This sample demonstrates how to Determines whether a resource can be created with the specified name.
4242
*
4343
* @summary Determines whether a resource can be created with the specified name.
44-
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CheckNameAvailabilityServerAvailable.json
44+
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/CheckNameAvailabilityServerAvailable.json
4545
*/
4646
async function checkForAServerNameThatIsAvailable() {
4747
const subscriptionId =
@@ -61,7 +61,7 @@ async function checkForAServerNameThatIsAvailable() {
6161
* This sample demonstrates how to Determines whether a resource can be created with the specified name.
6262
*
6363
* @summary Determines whether a resource can be created with the specified name.
64-
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CheckNameAvailabilityServerInvalid.json
64+
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/CheckNameAvailabilityServerInvalid.json
6565
*/
6666
async function checkForAServerNameThatIsInvalid() {
6767
const subscriptionId =

sdk/sql/arm-sql/samples-dev/serversCreateOrUpdateSample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dotenv.config();
1818
* This sample demonstrates how to Creates or updates a server.
1919
*
2020
* @summary Creates or updates a server.
21-
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ServerCreate.json
21+
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerCreate.json
2222
*/
2323
async function createServer() {
2424
const subscriptionId =

sdk/sql/arm-sql/samples-dev/serversDeleteSample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dotenv.config();
1818
* This sample demonstrates how to Deletes a server.
1919
*
2020
* @summary Deletes a server.
21-
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ServerDelete.json
21+
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerDelete.json
2222
*/
2323
async function deleteServer() {
2424
const subscriptionId =

sdk/sql/arm-sql/samples-dev/serversGetSample.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dotenv.config();
1818
* This sample demonstrates how to Gets a server.
1919
*
2020
* @summary Gets a server.
21-
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ServerGet.json
21+
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGet.json
2222
*/
2323
async function getServer() {
2424
const subscriptionId =
@@ -37,7 +37,7 @@ async function getServer() {
3737
* This sample demonstrates how to Gets a server.
3838
*
3939
* @summary Gets a server.
40-
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ServerGetWithExpandEqualsAdministrators.json
40+
* x-ms-original-file: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGetWithExpandEqualsAdministrators.json
4141
*/
4242
async function getServerWithExpandAdministratorsOrActivedirectory() {
4343
const subscriptionId =

0 commit comments

Comments
 (0)