Skip to content

Commit ee6ce14

Browse files
author
SDKAuto
committed
CodeGen from PR 17476 in Azure/azure-rest-api-specs
Merge 171e14c3fe61c42d5a2714796568d24b47feb8db into f75c8508441d7c300a9a39abf433116ba9f6e232
1 parent c150453 commit ee6ce14

20 files changed

+790
-45
lines changed

sdk/synapse/arm-synapse/CHANGELOG.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
# Release History
2-
3-
## 8.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
2+
3+
## 8.1.0-beta.1 (2022-02-10)
4+
5+
**Features**
6+
7+
- Added operation group WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings
8+
- Added Interface DedicatedSQLminimalTlsSettingsListResult
9+
- Added Interface DedicatedSQLminimalTlsSettingsPatchInfo
10+
- Added Interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams
11+
- Added Interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextOptionalParams
12+
- Added Interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams
13+
- Added Interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams
14+
- Added Type Alias DedicatedSQLminimalTlsSettings
15+
- Added Type Alias DedicatedSQLMinimalTlsSettingsName
16+
- Added Type Alias WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse
17+
- Added Type Alias WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextResponse
18+
- Added Type Alias WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListResponse
19+
- Added Type Alias WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse
20+
- Class SynapseManagementClient has a new parameter workspaceManagedSqlServerDedicatedSQLminimalTlsSettings
21+
- Added Enum KnownDedicatedSQLMinimalTlsSettingsName
22+
23+
1324
## 8.0.0 (2022-01-13)
1425

1526
The package of @azure/arm-synapse is using our next generation design principles since version 8.0.0, which contains breaking changes.

sdk/synapse/arm-synapse/_meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"commit": "1f1d5b0b9ce6cc94605b2fd619dce374fb6e033a",
2+
"commit": "a468e4987fc87d7c803871f76d75a551413d1c07",
33
"readme": "specification/synapse/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/synapse/resource-manager/readme.md --use=@autorest/[email protected].20211217.1",
4+
"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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/synapse/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/[email protected].20211217.1"
6+
"use": "@autorest/[email protected].20220105.1"
77
}
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
33
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4-
"docModel": { "enabled": true },
5-
"apiReport": { "enabled": true, "reportFolder": "./review" },
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
611
"dtsRollup": {
712
"enabled": true,
813
"untrimmedFilePath": "",
914
"publicTrimmedFilePath": "./types/arm-synapse.d.ts"
1015
},
1116
"messages": {
12-
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
1322
"extractorMessageReporting": {
14-
"ae-missing-release-tag": { "logLevel": "none" },
15-
"ae-unresolved-link": { "logLevel": "none" }
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
1629
}
1730
}
18-
}
31+
}

sdk/synapse/arm-synapse/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for SynapseManagementClient.",
6-
"version": "8.0.1",
6+
"version": "8.1.0-beta.1",
77
"engines": {
88
"node": ">=12.0.0"
99
},
@@ -99,4 +99,4 @@
9999
},
100100
"sideEffects": false,
101101
"autoPublish": true
102-
}
102+
}

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

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,26 @@ export type DataWarehouseUserActivityName = string;
554554
// @public
555555
export type DayOfWeek = string;
556556

557+
// @public
558+
export type DedicatedSQLminimalTlsSettings = ProxyResource & {
559+
readonly location?: string;
560+
minimalTlsVersion?: string;
561+
};
562+
563+
// @public
564+
export interface DedicatedSQLminimalTlsSettingsListResult {
565+
readonly nextLink?: string;
566+
readonly value?: DedicatedSQLminimalTlsSettings[];
567+
}
568+
569+
// @public
570+
export type DedicatedSQLMinimalTlsSettingsName = string;
571+
572+
// @public
573+
export interface DedicatedSQLminimalTlsSettingsPatchInfo {
574+
minimalTlsVersion?: string;
575+
}
576+
557577
// @public
558578
export type DefaultPrincipalsModificationKind = string;
559579

@@ -1570,6 +1590,12 @@ export enum KnownDayOfWeek {
15701590
Wednesday = "Wednesday"
15711591
}
15721592

1593+
// @public
1594+
export enum KnownDedicatedSQLMinimalTlsSettingsName {
1595+
// (undocumented)
1596+
Default = "default"
1597+
}
1598+
15731599
// @public
15741600
export enum KnownDefaultPrincipalsModificationKind {
15751601
// (undocumented)
@@ -4964,6 +4990,8 @@ export class SynapseManagementClient extends coreClient.ServiceClient {
49644990
// (undocumented)
49654991
workspaceManagedSqlServerBlobAuditingPolicies: WorkspaceManagedSqlServerBlobAuditingPolicies;
49664992
// (undocumented)
4993+
workspaceManagedSqlServerDedicatedSQLminimalTlsSettings: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings;
4994+
// (undocumented)
49674995
workspaceManagedSqlServerEncryptionProtector: WorkspaceManagedSqlServerEncryptionProtector;
49684996
// (undocumented)
49694997
workspaceManagedSqlServerExtendedBlobAuditingPolicies: WorkspaceManagedSqlServerExtendedBlobAuditingPolicies;
@@ -5294,6 +5322,44 @@ export interface WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceOpt
52945322
// @public
52955323
export type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceResponse = ServerBlobAuditingPolicyListResult;
52965324

5325+
// @public
5326+
export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings {
5327+
beginUpdate(resourceGroupName: string, workspaceName: string, dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, parameters: DedicatedSQLminimalTlsSettings, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse>, WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse>>;
5328+
beginUpdateAndWait(resourceGroupName: string, workspaceName: string, dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, parameters: DedicatedSQLminimalTlsSettings, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams): Promise<WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse>;
5329+
get(resourceGroupName: string, workspaceName: string, dedicatedSQLminimalTlsSettingsName: string, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams): Promise<WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse>;
5330+
list(resourceGroupName: string, workspaceName: string, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams): PagedAsyncIterableIterator<DedicatedSQLminimalTlsSettings>;
5331+
}
5332+
5333+
// @public
5334+
export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams extends coreClient.OperationOptions {
5335+
}
5336+
5337+
// @public
5338+
export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse = DedicatedSQLminimalTlsSettings;
5339+
5340+
// @public
5341+
export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextOptionalParams extends coreClient.OperationOptions {
5342+
}
5343+
5344+
// @public
5345+
export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextResponse = DedicatedSQLminimalTlsSettingsListResult;
5346+
5347+
// @public
5348+
export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams extends coreClient.OperationOptions {
5349+
}
5350+
5351+
// @public
5352+
export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListResponse = DedicatedSQLminimalTlsSettingsListResult;
5353+
5354+
// @public
5355+
export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams extends coreClient.OperationOptions {
5356+
resumeFrom?: string;
5357+
updateIntervalInMs?: number;
5358+
}
5359+
5360+
// @public
5361+
export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse = DedicatedSQLminimalTlsSettings;
5362+
52975363
// @public
52985364
export interface WorkspaceManagedSqlServerEncryptionProtector {
52995365
beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, encryptionProtectorName: EncryptionProtectorName, parameters: EncryptionProtector, options?: WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateResponse>, WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateResponse>>;

sdk/synapse/arm-synapse/src/models/index.ts

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,20 @@ export interface RecoverableSqlPoolListResult {
941941
readonly nextLink?: string;
942942
}
943943

944+
/** A list of the server's dedicated sql minimal tls settings. */
945+
export interface DedicatedSQLminimalTlsSettingsListResult {
946+
/**
947+
* Array of results.
948+
* NOTE: This property will not be serialized. It can only be populated by the server.
949+
*/
950+
readonly value?: DedicatedSQLminimalTlsSettings[];
951+
/**
952+
* Link to retrieve next page of results.
953+
* NOTE: This property will not be serialized. It can only be populated by the server.
954+
*/
955+
readonly nextLink?: string;
956+
}
957+
944958
/** List of workspaces */
945959
export interface WorkspaceInfoListResult {
946960
/** Link to the next page of results */
@@ -1987,6 +2001,12 @@ export interface TopQueriesListResult {
19872001
value: TopQueries[];
19882002
}
19892003

2004+
/** Dedicated SQL minimal tls settings patch info */
2005+
export interface DedicatedSQLminimalTlsSettingsPatchInfo {
2006+
/** minimal tls version */
2007+
minimalTlsVersion?: string;
2008+
}
2009+
19902010
/** The compute resource properties for managed integration runtime. */
19912011
export interface IntegrationRuntimeComputeProperties {
19922012
/** Describes unknown properties. The value of an unknown property can be of "any" type. */
@@ -3725,6 +3745,17 @@ export type RecoverableSqlPool = ProxyResource & {
37253745
readonly lastAvailableBackupDate?: Date;
37263746
};
37273747

3748+
/** Dedicated Sql Minimal Tls Settings Info */
3749+
export type DedicatedSQLminimalTlsSettings = ProxyResource & {
3750+
/**
3751+
* Resource location.
3752+
* NOTE: This property will not be serialized. It can only be populated by the server.
3753+
*/
3754+
readonly location?: string;
3755+
/** The minimal tls version of the sql server. */
3756+
minimalTlsVersion?: string;
3757+
};
3758+
37283759
/** Workspace active directory administrator */
37293760
export type WorkspaceAadAdminInfo = ProxyResource & {
37303761
/** Tenant ID of the workspace active directory administrator */
@@ -4750,6 +4781,20 @@ export enum KnownServerKeyType {
47504781
*/
47514782
export type ServerKeyType = string;
47524783

4784+
/** Known values of {@link DedicatedSQLMinimalTlsSettingsName} that the service accepts. */
4785+
export enum KnownDedicatedSQLMinimalTlsSettingsName {
4786+
Default = "default"
4787+
}
4788+
4789+
/**
4790+
* Defines values for DedicatedSQLMinimalTlsSettingsName. \
4791+
* {@link KnownDedicatedSQLMinimalTlsSettingsName} can be used interchangeably with DedicatedSQLMinimalTlsSettingsName,
4792+
* this enum contains the known values that the service supports.
4793+
* ### Known values supported by the service
4794+
* **default**
4795+
*/
4796+
export type DedicatedSQLMinimalTlsSettingsName = string;
4797+
47534798
/** Known values of {@link WorkspacePublicNetworkAccess} that the service accepts. */
47544799
export enum KnownWorkspacePublicNetworkAccess {
47554800
Enabled = "Enabled",
@@ -6902,6 +6947,39 @@ export interface WorkspaceManagedSqlServerRecoverableSqlPoolsListNextOptionalPar
69026947
/** Contains response data for the listNext operation. */
69036948
export type WorkspaceManagedSqlServerRecoverableSqlPoolsListNextResponse = RecoverableSqlPoolListResult;
69046949

6950+
/** Optional parameters. */
6951+
export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams
6952+
extends coreClient.OperationOptions {
6953+
/** Delay to wait until next poll, in milliseconds. */
6954+
updateIntervalInMs?: number;
6955+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
6956+
resumeFrom?: string;
6957+
}
6958+
6959+
/** Contains response data for the update operation. */
6960+
export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse = DedicatedSQLminimalTlsSettings;
6961+
6962+
/** Optional parameters. */
6963+
export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams
6964+
extends coreClient.OperationOptions {}
6965+
6966+
/** Contains response data for the get operation. */
6967+
export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse = DedicatedSQLminimalTlsSettings;
6968+
6969+
/** Optional parameters. */
6970+
export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams
6971+
extends coreClient.OperationOptions {}
6972+
6973+
/** Contains response data for the list operation. */
6974+
export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListResponse = DedicatedSQLminimalTlsSettingsListResult;
6975+
6976+
/** Optional parameters. */
6977+
export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextOptionalParams
6978+
extends coreClient.OperationOptions {}
6979+
6980+
/** Contains response data for the listNext operation. */
6981+
export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextResponse = DedicatedSQLminimalTlsSettingsListResult;
6982+
69056983
/** Optional parameters. */
69066984
export interface WorkspacesListByResourceGroupOptionalParams
69076985
extends coreClient.OperationOptions {}

sdk/synapse/arm-synapse/src/models/mappers.ts

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,6 +2090,35 @@ export const RecoverableSqlPoolListResult: coreClient.CompositeMapper = {
20902090
}
20912091
};
20922092

2093+
export const DedicatedSQLminimalTlsSettingsListResult: coreClient.CompositeMapper = {
2094+
type: {
2095+
name: "Composite",
2096+
className: "DedicatedSQLminimalTlsSettingsListResult",
2097+
modelProperties: {
2098+
value: {
2099+
serializedName: "value",
2100+
readOnly: true,
2101+
type: {
2102+
name: "Sequence",
2103+
element: {
2104+
type: {
2105+
name: "Composite",
2106+
className: "DedicatedSQLminimalTlsSettings"
2107+
}
2108+
}
2109+
}
2110+
},
2111+
nextLink: {
2112+
serializedName: "nextLink",
2113+
readOnly: true,
2114+
type: {
2115+
name: "String"
2116+
}
2117+
}
2118+
}
2119+
}
2120+
};
2121+
20932122
export const WorkspaceInfoListResult: coreClient.CompositeMapper = {
20942123
type: {
20952124
name: "Composite",
@@ -4671,6 +4700,21 @@ export const TopQueriesListResult: coreClient.CompositeMapper = {
46714700
}
46724701
};
46734702

4703+
export const DedicatedSQLminimalTlsSettingsPatchInfo: coreClient.CompositeMapper = {
4704+
type: {
4705+
name: "Composite",
4706+
className: "DedicatedSQLminimalTlsSettingsPatchInfo",
4707+
modelProperties: {
4708+
minimalTlsVersion: {
4709+
serializedName: "minimalTlsVersion",
4710+
type: {
4711+
name: "String"
4712+
}
4713+
}
4714+
}
4715+
}
4716+
};
4717+
46744718
export const IntegrationRuntimeComputeProperties: coreClient.CompositeMapper = {
46754719
type: {
46764720
name: "Composite",
@@ -7940,6 +7984,29 @@ export const RecoverableSqlPool: coreClient.CompositeMapper = {
79407984
}
79417985
};
79427986

7987+
export const DedicatedSQLminimalTlsSettings: coreClient.CompositeMapper = {
7988+
type: {
7989+
name: "Composite",
7990+
className: "DedicatedSQLminimalTlsSettings",
7991+
modelProperties: {
7992+
...ProxyResource.type.modelProperties,
7993+
location: {
7994+
serializedName: "location",
7995+
readOnly: true,
7996+
type: {
7997+
name: "String"
7998+
}
7999+
},
8000+
minimalTlsVersion: {
8001+
serializedName: "properties.minimalTlsVersion",
8002+
type: {
8003+
name: "String"
8004+
}
8005+
}
8006+
}
8007+
}
8008+
};
8009+
79438010
export const WorkspaceAadAdminInfo: coreClient.CompositeMapper = {
79448011
type: {
79458012
name: "Composite",

0 commit comments

Comments
 (0)