Skip to content

Commit c89c0eb

Browse files
author
SDKAuto
committed
CodeGen from PR 33764 in Azure/azure-rest-api-specs
Merge f0f179ef3978599a50a9c2f62777d52adcd9af9f into 336cfdbf75ee41dc6728e1f00b25e87f43db5e11
1 parent 561d7c8 commit c89c0eb

File tree

56 files changed

+1928
-441
lines changed

Some content is hidden

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

56 files changed

+1928
-441
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 10 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/sql/arm-sql/CHANGELOG.md

Lines changed: 196 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,204 @@
11
# Release History
2-
3-
## 11.0.0-beta.3 (Unreleased)
4-
2+
3+
## 11.0.0-beta.3 (2025-04-07)
4+
Compared with version 10.0.0
5+
56
### Features Added
67

7-
### Breaking Changes
8-
9-
### Bugs Fixed
8+
- Added operation group JobPrivateEndpoints
9+
- Added operation DistributedAvailabilityGroups.beginFailover
10+
- Added operation DistributedAvailabilityGroups.beginFailoverAndWait
11+
- Added operation DistributedAvailabilityGroups.beginSetRole
12+
- Added operation DistributedAvailabilityGroups.beginSetRoleAndWait
13+
- Added operation FailoverGroups.beginTryPlannedBeforeForcedFailover
14+
- Added operation FailoverGroups.beginTryPlannedBeforeForcedFailoverAndWait
15+
- Added operation LongTermRetentionBackups.beginChangeAccessTier
16+
- Added operation LongTermRetentionBackups.beginChangeAccessTierAndWait
17+
- Added operation LongTermRetentionBackups.beginChangeAccessTierByResourceGroup
18+
- Added operation LongTermRetentionBackups.beginChangeAccessTierByResourceGroupAndWait
19+
- Added operation ManagedInstances.beginRefreshStatus
20+
- Added operation ManagedInstances.beginRefreshStatusAndWait
21+
- Added operation ReplicationLinks.beginCreateOrUpdate
22+
- Added operation ReplicationLinks.beginCreateOrUpdateAndWait
23+
- Added operation ReplicationLinks.beginUpdate
24+
- Added operation ReplicationLinks.beginUpdateAndWait
25+
- Added Interface CertificateInfo
26+
- Added Interface ChangeLongTermRetentionBackupAccessTierParameters
27+
- Added Interface DistributedAvailabilityGroupDatabase
28+
- Added Interface DistributedAvailabilityGroupSetRole
29+
- Added Interface DistributedAvailabilityGroupsFailoverHeaders
30+
- Added Interface DistributedAvailabilityGroupsFailoverOptionalParams
31+
- Added Interface DistributedAvailabilityGroupsFailoverRequest
32+
- Added Interface DistributedAvailabilityGroupsSetRoleOptionalParams
33+
- Added Interface ErrorAdditionalInfo
34+
- Added Interface ErrorDetail
35+
- Added Interface ErrorResponse
36+
- Added Interface FailoverGroupsTryPlannedBeforeForcedFailoverHeaders
37+
- Added Interface FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams
38+
- Added Interface JobPrivateEndpoint
39+
- Added Interface JobPrivateEndpointListResult
40+
- Added Interface JobPrivateEndpointsCreateOrUpdateOptionalParams
41+
- Added Interface JobPrivateEndpointsDeleteOptionalParams
42+
- Added Interface JobPrivateEndpointsGetOptionalParams
43+
- Added Interface JobPrivateEndpointsListByAgentNextOptionalParams
44+
- Added Interface JobPrivateEndpointsListByAgentOptionalParams
45+
- Added Interface LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams
46+
- Added Interface LongTermRetentionBackupsChangeAccessTierOptionalParams
47+
- Added Interface ManagedInstancesRefreshStatusOptionalParams
48+
- Added Interface NetworkIsolationSettingsAutoGenerated
49+
- Added Interface PhaseDetails
50+
- Added Interface QueryMetricIntervalAutoGenerated
51+
- Added Interface RefreshExternalGovernanceStatusOperationResultMI
52+
- Added Interface ReplicationLinksCreateOrUpdateOptionalParams
53+
- Added Interface ReplicationLinksUpdateOptionalParams
54+
- Added Interface ReplicationLinkUpdate
55+
- Added Type Alias AuthMetadataLookupModes
56+
- Added Type Alias BackupStorageAccessTier
57+
- Added Type Alias DistributedAvailabilityGroupsFailoverResponse
58+
- Added Type Alias DistributedAvailabilityGroupsSetRoleResponse
59+
- Added Type Alias FailoverGroupDatabasesSecondaryType
60+
- Added Type Alias FailoverGroupsTryPlannedBeforeForcedFailoverResponse
61+
- Added Type Alias FailoverModeType
62+
- Added Type Alias FailoverType
63+
- Added Type Alias FreeLimitExhaustionBehavior
64+
- Added Type Alias FreemiumType
65+
- Added Type Alias HybridSecondaryUsage
66+
- Added Type Alias HybridSecondaryUsageDetected
67+
- Added Type Alias InstanceRole
68+
- Added Type Alias JobPrivateEndpointsCreateOrUpdateResponse
69+
- Added Type Alias JobPrivateEndpointsGetResponse
70+
- Added Type Alias JobPrivateEndpointsListByAgentNextResponse
71+
- Added Type Alias JobPrivateEndpointsListByAgentResponse
72+
- Added Type Alias LinkRole
73+
- Added Type Alias LongTermRetentionBackupsChangeAccessTierByResourceGroupResponse
74+
- Added Type Alias LongTermRetentionBackupsChangeAccessTierResponse
75+
- Added Type Alias ManagedInstanceDatabaseFormat
76+
- Added Type Alias ManagedInstancesRefreshStatusResponse
77+
- Added Type Alias ManagedInstancesStartResponse
78+
- Added Type Alias ManagedInstancesStopResponse
79+
- Added Type Alias MinimalTlsVersion
80+
- Added Type Alias Phase
81+
- Added Type Alias ReplicaConnectedState
82+
- Added Type Alias ReplicaSynchronizationHealth
83+
- Added Type Alias ReplicationLinksCreateOrUpdateResponse
84+
- Added Type Alias ReplicationLinksUpdateResponse
85+
- Added Type Alias ReplicationModeType
86+
- Added Type Alias RoleChangeType
87+
- Added Type Alias SeedingModeType
88+
- Added Type Alias ServerCreateMode
89+
- Interface Database has a new optional parameter encryptionProtectorAutoRotation
90+
- Interface Database has a new optional parameter freeLimitExhaustionBehavior
91+
- Interface Database has a new optional parameter useFreeLimit
92+
- Interface DatabaseOperation has a new optional parameter operationPhaseDetails
93+
- Interface DatabaseUpdate has a new optional parameter encryptionProtectorAutoRotation
94+
- Interface DatabaseUpdate has a new optional parameter freeLimitExhaustionBehavior
95+
- Interface DatabaseUpdate has a new optional parameter useFreeLimit
96+
- Interface DistributedAvailabilityGroup has a new optional parameter databases
97+
- Interface DistributedAvailabilityGroup has a new optional parameter distributedAvailabilityGroupName
98+
- Interface DistributedAvailabilityGroup has a new optional parameter failoverMode
99+
- Interface DistributedAvailabilityGroup has a new optional parameter instanceAvailabilityGroupName
100+
- Interface DistributedAvailabilityGroup has a new optional parameter instanceLinkRole
101+
- Interface DistributedAvailabilityGroup has a new optional parameter partnerAvailabilityGroupName
102+
- Interface DistributedAvailabilityGroup has a new optional parameter partnerEndpoint
103+
- Interface DistributedAvailabilityGroup has a new optional parameter partnerLinkRole
104+
- Interface DistributedAvailabilityGroup has a new optional parameter seedingMode
105+
- Interface ElasticPool has a new optional parameter availabilityZone
106+
- Interface ElasticPool has a new optional parameter minCapacity
107+
- Interface ElasticPool has a new optional parameter preferredEnclaveType
108+
- Interface ElasticPoolUpdate has a new optional parameter availabilityZone
109+
- Interface ElasticPoolUpdate has a new optional parameter minCapacity
110+
- Interface ElasticPoolUpdate has a new optional parameter preferredEnclaveType
111+
- Interface FailoverGroup has a new optional parameter secondaryType
112+
- Interface FailoverGroupReadOnlyEndpoint has a new optional parameter targetServer
113+
- Interface FailoverGroupUpdate has a new optional parameter partnerServers
114+
- Interface FailoverGroupUpdate has a new optional parameter secondaryType
115+
- Interface InstancePool has a new optional parameter dnsZone
116+
- Interface InstancePool has a new optional parameter maintenanceConfigurationId
117+
- Interface InstancePoolUpdate has a new optional parameter dnsZone
118+
- Interface InstancePoolUpdate has a new optional parameter licenseType
119+
- Interface InstancePoolUpdate has a new optional parameter maintenanceConfigurationId
120+
- Interface InstancePoolUpdate has a new optional parameter sku
121+
- Interface InstancePoolUpdate has a new optional parameter subnetId
122+
- Interface InstancePoolUpdate has a new optional parameter vCores
123+
- Interface LongTermRetentionBackup has a new optional parameter backupStorageAccessTier
124+
- Interface LongTermRetentionBackup has a new optional parameter isBackupImmutable
125+
- Interface LongTermRetentionPolicy has a new optional parameter backupStorageAccessTier
126+
- Interface LongTermRetentionPolicy has a new optional parameter makeBackupsImmutable
127+
- Interface ManagedDatabase has a new optional parameter isLedgerOn
128+
- Interface ManagedDatabaseUpdate has a new optional parameter isLedgerOn
129+
- Interface ManagedInstance has a new optional parameter authenticationMetadata
130+
- Interface ManagedInstance has a new optional parameter createTime
131+
- Interface ManagedInstance has a new optional parameter databaseFormat
132+
- Interface ManagedInstance has a new optional parameter externalGovernanceStatus
133+
- Interface ManagedInstance has a new optional parameter hybridSecondaryUsage
134+
- Interface ManagedInstance has a new optional parameter hybridSecondaryUsageDetected
135+
- Interface ManagedInstance has a new optional parameter isGeneralPurposeV2
136+
- Interface ManagedInstance has a new optional parameter pricingModel
137+
- Interface ManagedInstance has a new optional parameter storageIOps
138+
- Interface ManagedInstance has a new optional parameter storageThroughputMBps
139+
- Interface ManagedInstance has a new optional parameter virtualClusterId
140+
- Interface ManagedInstanceUpdate has a new optional parameter authenticationMetadata
141+
- Interface ManagedInstanceUpdate has a new optional parameter createTime
142+
- Interface ManagedInstanceUpdate has a new optional parameter databaseFormat
143+
- Interface ManagedInstanceUpdate has a new optional parameter externalGovernanceStatus
144+
- Interface ManagedInstanceUpdate has a new optional parameter hybridSecondaryUsage
145+
- Interface ManagedInstanceUpdate has a new optional parameter hybridSecondaryUsageDetected
146+
- Interface ManagedInstanceUpdate has a new optional parameter isGeneralPurposeV2
147+
- Interface ManagedInstanceUpdate has a new optional parameter pricingModel
148+
- Interface ManagedInstanceUpdate has a new optional parameter storageIOps
149+
- Interface ManagedInstanceUpdate has a new optional parameter storageThroughputMBps
150+
- Interface ManagedInstanceUpdate has a new optional parameter virtualClusterId
151+
- Interface PrivateEndpointConnection has a new optional parameter groupIds
152+
- Interface ReplicationLink has a new optional parameter partnerDatabaseId
153+
- Interface Server has a new optional parameter createMode
154+
- Interface Server has a new optional parameter isIPv6Enabled
155+
- Interface Server has a new optional parameter retentionDays
156+
- Interface ServerUpdate has a new optional parameter createMode
157+
- Interface ServerUpdate has a new optional parameter isIPv6Enabled
158+
- Interface ServerUpdate has a new optional parameter retentionDays
159+
- Interface SqlVulnerabilityAssessmentScanRecord has a new optional parameter lastScanTime
160+
- Added Enum KnownAuthMetadataLookupModes
161+
- Added Enum KnownBackupStorageAccessTier
162+
- Added Enum KnownFailoverGroupDatabasesSecondaryType
163+
- Added Enum KnownFailoverModeType
164+
- Added Enum KnownFailoverType
165+
- Added Enum KnownFreeLimitExhaustionBehavior
166+
- Added Enum KnownFreemiumType
167+
- Added Enum KnownHybridSecondaryUsage
168+
- Added Enum KnownHybridSecondaryUsageDetected
169+
- Added Enum KnownInstanceRole
170+
- Added Enum KnownLinkRole
171+
- Added Enum KnownManagedInstanceDatabaseFormat
172+
- Added Enum KnownMinimalTlsVersion
173+
- Added Enum KnownPhase
174+
- Added Enum KnownReplicaConnectedState
175+
- Added Enum KnownReplicaSynchronizationHealth
176+
- Added Enum KnownReplicationModeType
177+
- Added Enum KnownRoleChangeType
178+
- Added Enum KnownSeedingModeType
179+
- Added Enum KnownServerCreateMode
10180

11-
### Other Changes
181+
### Breaking Changes
12182

183+
- Interface DistributedAvailabilityGroup no longer has parameter lastHardenedLsn
184+
- Interface DistributedAvailabilityGroup no longer has parameter linkState
185+
- Interface DistributedAvailabilityGroup no longer has parameter primaryAvailabilityGroupName
186+
- Interface DistributedAvailabilityGroup no longer has parameter secondaryAvailabilityGroupName
187+
- Interface DistributedAvailabilityGroup no longer has parameter sourceEndpoint
188+
- Interface DistributedAvailabilityGroup no longer has parameter sourceReplicaId
189+
- Interface DistributedAvailabilityGroup no longer has parameter targetDatabase
190+
- Interface DistributedAvailabilityGroup no longer has parameter targetReplicaId
191+
- Type of parameter replicationMode of interface DistributedAvailabilityGroup is changed from ReplicationMode to ReplicationModeType
192+
- Type of parameter networkIsolation of interface ImportNewDatabaseDefinition is changed from NetworkIsolationSettings to NetworkIsolationSettingsAutoGenerated
193+
- Type of parameter provisioningState of interface ManagedInstance is changed from ManagedInstancePropertiesProvisioningState to ProvisioningState
194+
- Type of parameter provisioningState of interface ManagedInstanceUpdate is changed from ManagedInstancePropertiesProvisioningState to ProvisioningState
195+
- Type of parameter intervals of interface QueryStatisticsProperties is changed from QueryMetricInterval[] to QueryMetricIntervalAutoGenerated[]
196+
- Type of parameter minimalTlsVersion of interface Server is changed from string to MinimalTlsVersion
197+
- Type of parameter minimalTlsVersion of interface ServerUpdate is changed from string to MinimalTlsVersion
198+
- Removed Enum KnownManagedInstancePropertiesProvisioningState
199+
- Removed Enum KnownReplicationMode
200+
201+
13202
## 11.0.0-beta.2 (2024-08-20)
14203
Compared with version 10.0.0
15204

sdk/sql/arm-sql/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/sql/arm-sql/README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,36 +44,33 @@ npm install @azure/identity
4444
```
4545

4646
You will also need to **register a new AAD application and grant access to Azure SqlManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4847

4948
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
5049

5150
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52-
51+
5352
```ts snippet:ReadmeSampleCreateClient_Node
5453
import { SqlManagementClient } from "@azure/arm-sql";
5554
import { DefaultAzureCredential } from "@azure/identity";
5655

5756
const subscriptionId = "00000000-0000-0000-0000-000000000000";
5857
const client = new SqlManagementClient(new DefaultAzureCredential(), subscriptionId);
5958
```
60-
59+
6160
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
62-
61+
6362
```ts snippet:ReadmeSampleCreateClient_Browser
6463
import { InteractiveBrowserCredential } from "@azure/identity";
6564
import { SqlManagementClient } from "@azure/arm-sql";
6665

67-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6866
const credential = new InteractiveBrowserCredential({
6967
tenantId: "<YOUR_TENANT_ID>",
70-
clientId: "<YOUR_CLIENT_ID>",
71-
});
68+
clientId: "<YOUR_CLIENT_ID>"
69+
});
7270
const client = new SqlManagementClient(credential, subscriptionId);
7371
```
7472

7573
### JavaScript Bundle
76-
7774
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7875

7976
## Key concepts
@@ -109,7 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide
109106
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
110107

111108

112-
113109
[azure_cli]: https://learn.microsoft.com/cli/azure
114110
[azure_sub]: https://azure.microsoft.com/free/
115111
[azure_sub]: https://azure.microsoft.com/free/

sdk/sql/arm-sql/_meta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "1db2fcc22dec6f21d359d3b56f822f61f5d6ee12",
2+
"commit": "2cc1d0c5bac2ee8c4e7d1b69159c9faa32af554c",
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/[email protected].24 --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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/sql/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].11",
7-
"use": "@autorest/[email protected].24"
6+
"release_tool": "@azure-tools/[email protected].23",
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/sql/arm-sql/api-extractor.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3-
"mainEntryPointFilePath": "dist/esm/index.d.ts",
3+
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
44
"docModel": {
55
"enabled": true
66
},
@@ -11,7 +11,7 @@
1111
"dtsRollup": {
1212
"enabled": true,
1313
"untrimmedFilePath": "",
14-
"publicTrimmedFilePath": "dist/arm-sql.d.ts"
14+
"publicTrimmedFilePath": "./types/arm-sql.d.ts"
1515
},
1616
"messages": {
1717
"tsdocMessageReporting": {
@@ -28,4 +28,4 @@
2828
}
2929
}
3030
}
31-
}
31+
}

0 commit comments

Comments
 (0)