From ee6ce14f2f1441ab26487605c60d8cd52703850d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 10 Feb 2022 17:24:33 +0000 Subject: [PATCH] CodeGen from PR 17476 in Azure/azure-rest-api-specs Merge 171e14c3fe61c42d5a2714796568d24b47feb8db into f75c8508441d7c300a9a39abf433116ba9f6e232 --- sdk/synapse/arm-synapse/CHANGELOG.md | 33 +- sdk/synapse/arm-synapse/_meta.json | 6 +- sdk/synapse/arm-synapse/api-extractor.json | 25 +- sdk/synapse/arm-synapse/package.json | 4 +- .../arm-synapse/review/arm-synapse.api.md | 66 +++ sdk/synapse/arm-synapse/src/models/index.ts | 78 ++++ sdk/synapse/arm-synapse/src/models/mappers.ts | 67 ++++ .../arm-synapse/src/models/parameters.ts | 44 +- .../arm-synapse/src/operations/index.ts | 1 + ...kustoPoolAttachedDatabaseConfigurations.ts | 2 +- .../operations/kustoPoolDataConnections.ts | 6 +- .../kustoPoolDatabasePrincipalAssignments.ts | 2 +- .../src/operations/kustoPoolDatabases.ts | 4 +- .../kustoPoolPrincipalAssignments.ts | 2 +- .../arm-synapse/src/operations/kustoPools.ts | 4 +- ...SqlServerDedicatedSQLminimalTlsSettings.ts | 377 ++++++++++++++++++ .../src/operationsInterfaces/index.ts | 1 + ...SqlServerDedicatedSQLminimalTlsSettings.ts | 89 +++++ .../src/synapseManagementClient.ts | 8 +- sdk/synapse/arm-synapse/tsconfig.json | 16 +- 20 files changed, 790 insertions(+), 45 deletions(-) create mode 100644 sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerDedicatedSQLminimalTlsSettings.ts create mode 100644 sdk/synapse/arm-synapse/src/operationsInterfaces/workspaceManagedSqlServerDedicatedSQLminimalTlsSettings.ts diff --git a/sdk/synapse/arm-synapse/CHANGELOG.md b/sdk/synapse/arm-synapse/CHANGELOG.md index 447b5531843f..045b572a6a78 100644 --- a/sdk/synapse/arm-synapse/CHANGELOG.md +++ b/sdk/synapse/arm-synapse/CHANGELOG.md @@ -1,15 +1,26 @@ # Release History - -## 8.0.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + +## 8.1.0-beta.1 (2022-02-10) + +**Features** + + - Added operation group WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings + - Added Interface DedicatedSQLminimalTlsSettingsListResult + - Added Interface DedicatedSQLminimalTlsSettingsPatchInfo + - Added Interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams + - Added Interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextOptionalParams + - Added Interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams + - Added Interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams + - Added Type Alias DedicatedSQLminimalTlsSettings + - Added Type Alias DedicatedSQLMinimalTlsSettingsName + - Added Type Alias WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse + - Added Type Alias WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextResponse + - Added Type Alias WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListResponse + - Added Type Alias WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse + - Class SynapseManagementClient has a new parameter workspaceManagedSqlServerDedicatedSQLminimalTlsSettings + - Added Enum KnownDedicatedSQLMinimalTlsSettingsName + + ## 8.0.0 (2022-01-13) The package of @azure/arm-synapse is using our next generation design principles since version 8.0.0, which contains breaking changes. diff --git a/sdk/synapse/arm-synapse/_meta.json b/sdk/synapse/arm-synapse/_meta.json index d6225e265258..301ee89ae43e 100644 --- a/sdk/synapse/arm-synapse/_meta.json +++ b/sdk/synapse/arm-synapse/_meta.json @@ -1,7 +1,7 @@ { - "commit": "1f1d5b0b9ce6cc94605b2fd619dce374fb6e033a", + "commit": "a468e4987fc87d7c803871f76d75a551413d1c07", "readme": "specification/synapse/resource-manager/readme.md", - "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/typescript@6.0.0-alpha.16.20211217.1", + "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/typescript@6.0.0-alpha.16.20220105.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20211217.1" + "use": "@autorest/typescript@6.0.0-alpha.16.20220105.1" } \ No newline at end of file diff --git a/sdk/synapse/arm-synapse/api-extractor.json b/sdk/synapse/arm-synapse/api-extractor.json index 3b1504b73e68..fc38e4704379 100644 --- a/sdk/synapse/arm-synapse/api-extractor.json +++ b/sdk/synapse/arm-synapse/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-synapse.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/synapse/arm-synapse/package.json b/sdk/synapse/arm-synapse/package.json index 458cca1a7c41..61aa5bad44e7 100644 --- a/sdk/synapse/arm-synapse/package.json +++ b/sdk/synapse/arm-synapse/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for SynapseManagementClient.", - "version": "8.0.1", + "version": "8.1.0-beta.1", "engines": { "node": ">=12.0.0" }, @@ -99,4 +99,4 @@ }, "sideEffects": false, "autoPublish": true -} +} \ No newline at end of file diff --git a/sdk/synapse/arm-synapse/review/arm-synapse.api.md b/sdk/synapse/arm-synapse/review/arm-synapse.api.md index b6391c6621f5..bf5ba47f2151 100644 --- a/sdk/synapse/arm-synapse/review/arm-synapse.api.md +++ b/sdk/synapse/arm-synapse/review/arm-synapse.api.md @@ -554,6 +554,26 @@ export type DataWarehouseUserActivityName = string; // @public export type DayOfWeek = string; +// @public +export type DedicatedSQLminimalTlsSettings = ProxyResource & { + readonly location?: string; + minimalTlsVersion?: string; +}; + +// @public +export interface DedicatedSQLminimalTlsSettingsListResult { + readonly nextLink?: string; + readonly value?: DedicatedSQLminimalTlsSettings[]; +} + +// @public +export type DedicatedSQLMinimalTlsSettingsName = string; + +// @public +export interface DedicatedSQLminimalTlsSettingsPatchInfo { + minimalTlsVersion?: string; +} + // @public export type DefaultPrincipalsModificationKind = string; @@ -1570,6 +1590,12 @@ export enum KnownDayOfWeek { Wednesday = "Wednesday" } +// @public +export enum KnownDedicatedSQLMinimalTlsSettingsName { + // (undocumented) + Default = "default" +} + // @public export enum KnownDefaultPrincipalsModificationKind { // (undocumented) @@ -4964,6 +4990,8 @@ export class SynapseManagementClient extends coreClient.ServiceClient { // (undocumented) workspaceManagedSqlServerBlobAuditingPolicies: WorkspaceManagedSqlServerBlobAuditingPolicies; // (undocumented) + workspaceManagedSqlServerDedicatedSQLminimalTlsSettings: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings; + // (undocumented) workspaceManagedSqlServerEncryptionProtector: WorkspaceManagedSqlServerEncryptionProtector; // (undocumented) workspaceManagedSqlServerExtendedBlobAuditingPolicies: WorkspaceManagedSqlServerExtendedBlobAuditingPolicies; @@ -5294,6 +5322,44 @@ export interface WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceOpt // @public export type WorkspaceManagedSqlServerBlobAuditingPoliciesListByWorkspaceResponse = ServerBlobAuditingPolicyListResult; +// @public +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings { + beginUpdate(resourceGroupName: string, workspaceName: string, dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, parameters: DedicatedSQLminimalTlsSettings, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams): Promise, WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, workspaceName: string, dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, parameters: DedicatedSQLminimalTlsSettings, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams): Promise; + get(resourceGroupName: string, workspaceName: string, dedicatedSQLminimalTlsSettingsName: string, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams): Promise; + list(resourceGroupName: string, workspaceName: string, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams): PagedAsyncIterableIterator; +} + +// @public +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse = DedicatedSQLminimalTlsSettings; + +// @public +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextResponse = DedicatedSQLminimalTlsSettingsListResult; + +// @public +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListResponse = DedicatedSQLminimalTlsSettingsListResult; + +// @public +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse = DedicatedSQLminimalTlsSettings; + // @public export interface WorkspaceManagedSqlServerEncryptionProtector { beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, encryptionProtectorName: EncryptionProtectorName, parameters: EncryptionProtector, options?: WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateOptionalParams): Promise, WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateResponse>>; diff --git a/sdk/synapse/arm-synapse/src/models/index.ts b/sdk/synapse/arm-synapse/src/models/index.ts index 0155e67f6ebb..4348cf6b465d 100644 --- a/sdk/synapse/arm-synapse/src/models/index.ts +++ b/sdk/synapse/arm-synapse/src/models/index.ts @@ -941,6 +941,20 @@ export interface RecoverableSqlPoolListResult { readonly nextLink?: string; } +/** A list of the server's dedicated sql minimal tls settings. */ +export interface DedicatedSQLminimalTlsSettingsListResult { + /** + * Array of results. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: DedicatedSQLminimalTlsSettings[]; + /** + * Link to retrieve next page of results. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + /** List of workspaces */ export interface WorkspaceInfoListResult { /** Link to the next page of results */ @@ -1987,6 +2001,12 @@ export interface TopQueriesListResult { value: TopQueries[]; } +/** Dedicated SQL minimal tls settings patch info */ +export interface DedicatedSQLminimalTlsSettingsPatchInfo { + /** minimal tls version */ + minimalTlsVersion?: string; +} + /** The compute resource properties for managed integration runtime. */ export interface IntegrationRuntimeComputeProperties { /** Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -3725,6 +3745,17 @@ export type RecoverableSqlPool = ProxyResource & { readonly lastAvailableBackupDate?: Date; }; +/** Dedicated Sql Minimal Tls Settings Info */ +export type DedicatedSQLminimalTlsSettings = ProxyResource & { + /** + * Resource location. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly location?: string; + /** The minimal tls version of the sql server. */ + minimalTlsVersion?: string; +}; + /** Workspace active directory administrator */ export type WorkspaceAadAdminInfo = ProxyResource & { /** Tenant ID of the workspace active directory administrator */ @@ -4750,6 +4781,20 @@ export enum KnownServerKeyType { */ export type ServerKeyType = string; +/** Known values of {@link DedicatedSQLMinimalTlsSettingsName} that the service accepts. */ +export enum KnownDedicatedSQLMinimalTlsSettingsName { + Default = "default" +} + +/** + * Defines values for DedicatedSQLMinimalTlsSettingsName. \ + * {@link KnownDedicatedSQLMinimalTlsSettingsName} can be used interchangeably with DedicatedSQLMinimalTlsSettingsName, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **default** + */ +export type DedicatedSQLMinimalTlsSettingsName = string; + /** Known values of {@link WorkspacePublicNetworkAccess} that the service accepts. */ export enum KnownWorkspacePublicNetworkAccess { Enabled = "Enabled", @@ -6902,6 +6947,39 @@ export interface WorkspaceManagedSqlServerRecoverableSqlPoolsListNextOptionalPar /** Contains response data for the listNext operation. */ export type WorkspaceManagedSqlServerRecoverableSqlPoolsListNextResponse = RecoverableSqlPoolListResult; +/** Optional parameters. */ +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse = DedicatedSQLminimalTlsSettings; + +/** Optional parameters. */ +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse = DedicatedSQLminimalTlsSettings; + +/** Optional parameters. */ +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListResponse = DedicatedSQLminimalTlsSettingsListResult; + +/** Optional parameters. */ +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextResponse = DedicatedSQLminimalTlsSettingsListResult; + /** Optional parameters. */ export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {} diff --git a/sdk/synapse/arm-synapse/src/models/mappers.ts b/sdk/synapse/arm-synapse/src/models/mappers.ts index 4bbe680abf2c..fcddea9a6da4 100644 --- a/sdk/synapse/arm-synapse/src/models/mappers.ts +++ b/sdk/synapse/arm-synapse/src/models/mappers.ts @@ -2090,6 +2090,35 @@ export const RecoverableSqlPoolListResult: coreClient.CompositeMapper = { } }; +export const DedicatedSQLminimalTlsSettingsListResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DedicatedSQLminimalTlsSettingsListResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DedicatedSQLminimalTlsSettings" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const WorkspaceInfoListResult: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4671,6 +4700,21 @@ export const TopQueriesListResult: coreClient.CompositeMapper = { } }; +export const DedicatedSQLminimalTlsSettingsPatchInfo: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DedicatedSQLminimalTlsSettingsPatchInfo", + modelProperties: { + minimalTlsVersion: { + serializedName: "minimalTlsVersion", + type: { + name: "String" + } + } + } + } +}; + export const IntegrationRuntimeComputeProperties: coreClient.CompositeMapper = { type: { name: "Composite", @@ -7940,6 +7984,29 @@ export const RecoverableSqlPool: coreClient.CompositeMapper = { } }; +export const DedicatedSQLminimalTlsSettings: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DedicatedSQLminimalTlsSettings", + modelProperties: { + ...ProxyResource.type.modelProperties, + location: { + serializedName: "location", + readOnly: true, + type: { + name: "String" + } + }, + minimalTlsVersion: { + serializedName: "properties.minimalTlsVersion", + type: { + name: "String" + } + } + } + } +}; + export const WorkspaceAadAdminInfo: coreClient.CompositeMapper = { type: { name: "Composite", diff --git a/sdk/synapse/arm-synapse/src/models/parameters.ts b/sdk/synapse/arm-synapse/src/models/parameters.ts index 2c27458632bf..8851424fad49 100644 --- a/sdk/synapse/arm-synapse/src/models/parameters.ts +++ b/sdk/synapse/arm-synapse/src/models/parameters.ts @@ -45,6 +45,7 @@ import { ServerSecurityAlertPolicy as ServerSecurityAlertPolicyMapper, ServerVulnerabilityAssessment as ServerVulnerabilityAssessmentMapper, EncryptionProtector as EncryptionProtectorMapper, + DedicatedSQLminimalTlsSettings as DedicatedSQLminimalTlsSettingsMapper, WorkspacePatchInfo as WorkspacePatchInfoMapper, Workspace as WorkspaceMapper, WorkspaceAadAdminInfo as WorkspaceAadAdminInfoMapper, @@ -759,6 +760,33 @@ export const parameters21: OperationParameter = { mapper: EncryptionProtectorMapper }; +export const parameters22: OperationParameter = { + parameterPath: "parameters", + mapper: DedicatedSQLminimalTlsSettingsMapper +}; + +export const dedicatedSQLminimalTlsSettingsName: OperationURLParameter = { + parameterPath: "dedicatedSQLminimalTlsSettingsName", + mapper: { + serializedName: "dedicatedSQLminimalTlsSettingsName", + required: true, + type: { + name: "String" + } + } +}; + +export const dedicatedSQLminimalTlsSettingsName1: OperationURLParameter = { + parameterPath: "dedicatedSQLminimalTlsSettingsName", + mapper: { + serializedName: "dedicatedSQLminimalTlsSettingsName", + required: true, + type: { + name: "String" + } + } +}; + export const workspacePatchInfo: OperationParameter = { parameterPath: "workspacePatchInfo", mapper: WorkspacePatchInfoMapper @@ -953,12 +981,12 @@ export const kustoPoolName1: OperationURLParameter = { } }; -export const parameters22: OperationParameter = { +export const parameters23: OperationParameter = { parameterPath: "parameters", mapper: KustoPoolMapper }; -export const parameters23: OperationParameter = { +export const parameters24: OperationParameter = { parameterPath: "parameters", mapper: KustoPoolUpdateMapper }; @@ -994,7 +1022,7 @@ export const attachedDatabaseConfigurationName: OperationURLParameter = { } }; -export const parameters24: OperationParameter = { +export const parameters25: OperationParameter = { parameterPath: "parameters", mapper: AttachedDatabaseConfigurationMapper }; @@ -1010,7 +1038,7 @@ export const databaseName: OperationURLParameter = { } }; -export const parameters25: OperationParameter = { +export const parameters26: OperationParameter = { parameterPath: "parameters", mapper: DatabaseMapper }; @@ -1020,7 +1048,7 @@ export const dataConnectionName: OperationParameter = { mapper: DataConnectionCheckNameRequestMapper }; -export const parameters26: OperationParameter = { +export const parameters27: OperationParameter = { parameterPath: "parameters", mapper: DataConnectionValidationMapper }; @@ -1036,7 +1064,7 @@ export const dataConnectionName1: OperationURLParameter = { } }; -export const parameters27: OperationParameter = { +export const parameters28: OperationParameter = { parameterPath: "parameters", mapper: DataConnectionMapper }; @@ -1057,7 +1085,7 @@ export const principalAssignmentName1: OperationURLParameter = { } }; -export const parameters28: OperationParameter = { +export const parameters29: OperationParameter = { parameterPath: "parameters", mapper: ClusterPrincipalAssignmentMapper }; @@ -1067,7 +1095,7 @@ export const principalAssignmentName2: OperationParameter = { mapper: DatabasePrincipalAssignmentCheckNameRequestMapper }; -export const parameters29: OperationParameter = { +export const parameters30: OperationParameter = { parameterPath: "parameters", mapper: DatabasePrincipalAssignmentMapper }; diff --git a/sdk/synapse/arm-synapse/src/operations/index.ts b/sdk/synapse/arm-synapse/src/operations/index.ts index fd448ec55b64..899c82f17835 100644 --- a/sdk/synapse/arm-synapse/src/operations/index.ts +++ b/sdk/synapse/arm-synapse/src/operations/index.ts @@ -51,6 +51,7 @@ export * from "./workspaceManagedSqlServerVulnerabilityAssessments"; export * from "./workspaceManagedSqlServerEncryptionProtector"; export * from "./workspaceManagedSqlServerUsages"; export * from "./workspaceManagedSqlServerRecoverableSqlPools"; +export * from "./workspaceManagedSqlServerDedicatedSQLminimalTlsSettings"; export * from "./workspaces"; export * from "./workspaceAadAdmins"; export * from "./workspaceSqlAadAdmins"; diff --git a/sdk/synapse/arm-synapse/src/operations/kustoPoolAttachedDatabaseConfigurations.ts b/sdk/synapse/arm-synapse/src/operations/kustoPoolAttachedDatabaseConfigurations.ts index eb70185d3299..22e76b942532 100644 --- a/sdk/synapse/arm-synapse/src/operations/kustoPoolAttachedDatabaseConfigurations.ts +++ b/sdk/synapse/arm-synapse/src/operations/kustoPoolAttachedDatabaseConfigurations.ts @@ -429,7 +429,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters24, + requestBody: Parameters.parameters25, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, diff --git a/sdk/synapse/arm-synapse/src/operations/kustoPoolDataConnections.ts b/sdk/synapse/arm-synapse/src/operations/kustoPoolDataConnections.ts index b916485e5460..ff46f9883641 100644 --- a/sdk/synapse/arm-synapse/src/operations/kustoPoolDataConnections.ts +++ b/sdk/synapse/arm-synapse/src/operations/kustoPoolDataConnections.ts @@ -697,7 +697,7 @@ const dataConnectionValidationOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters26, + requestBody: Parameters.parameters27, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, @@ -781,7 +781,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters27, + requestBody: Parameters.parameters28, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, @@ -817,7 +817,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters27, + requestBody: Parameters.parameters28, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, diff --git a/sdk/synapse/arm-synapse/src/operations/kustoPoolDatabasePrincipalAssignments.ts b/sdk/synapse/arm-synapse/src/operations/kustoPoolDatabasePrincipalAssignments.ts index e59aa8a40d3a..3be9be645199 100644 --- a/sdk/synapse/arm-synapse/src/operations/kustoPoolDatabasePrincipalAssignments.ts +++ b/sdk/synapse/arm-synapse/src/operations/kustoPoolDatabasePrincipalAssignments.ts @@ -523,7 +523,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters29, + requestBody: Parameters.parameters30, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, diff --git a/sdk/synapse/arm-synapse/src/operations/kustoPoolDatabases.ts b/sdk/synapse/arm-synapse/src/operations/kustoPoolDatabases.ts index 09a9e978174a..437d5ffbdfb1 100644 --- a/sdk/synapse/arm-synapse/src/operations/kustoPoolDatabases.ts +++ b/sdk/synapse/arm-synapse/src/operations/kustoPoolDatabases.ts @@ -535,7 +535,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters25, + requestBody: Parameters.parameters26, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, @@ -570,7 +570,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters25, + requestBody: Parameters.parameters26, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, diff --git a/sdk/synapse/arm-synapse/src/operations/kustoPoolPrincipalAssignments.ts b/sdk/synapse/arm-synapse/src/operations/kustoPoolPrincipalAssignments.ts index 8b6e06773924..5058ff4ebd53 100644 --- a/sdk/synapse/arm-synapse/src/operations/kustoPoolPrincipalAssignments.ts +++ b/sdk/synapse/arm-synapse/src/operations/kustoPoolPrincipalAssignments.ts @@ -482,7 +482,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters28, + requestBody: Parameters.parameters29, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, diff --git a/sdk/synapse/arm-synapse/src/operations/kustoPools.ts b/sdk/synapse/arm-synapse/src/operations/kustoPools.ts index 45c9cb56fc8c..f10f127e835b 100644 --- a/sdk/synapse/arm-synapse/src/operations/kustoPools.ts +++ b/sdk/synapse/arm-synapse/src/operations/kustoPools.ts @@ -1265,7 +1265,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters22, + requestBody: Parameters.parameters23, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, @@ -1304,7 +1304,7 @@ const updateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - requestBody: Parameters.parameters23, + requestBody: Parameters.parameters24, queryParameters: [Parameters.apiVersion1], urlParameters: [ Parameters.$host, diff --git a/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerDedicatedSQLminimalTlsSettings.ts b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerDedicatedSQLminimalTlsSettings.ts new file mode 100644 index 000000000000..2091acb57acb --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operations/workspaceManagedSqlServerDedicatedSQLminimalTlsSettings.ts @@ -0,0 +1,377 @@ +/* + * 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. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { SynapseManagementClient } from "../synapseManagementClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + DedicatedSQLminimalTlsSettings, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextOptionalParams, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams, + DedicatedSQLMinimalTlsSettingsName, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListResponse, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextResponse +} from "../models"; + +/// +/** Class containing WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings operations. */ +export class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl + implements WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings { + private readonly client: SynapseManagementClient; + + /** + * Initialize a new instance of the class WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings class. + * @param client Reference to the service client + */ + constructor(client: SynapseManagementClient) { + this.client = client; + } + + /** + * List workspace managed sql server's minimal tls settings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll(resourceGroupName, workspaceName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return this.listPagingPage(resourceGroupName, workspaceName, options); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams + ): AsyncIterableIterator { + let result = await this._list(resourceGroupName, workspaceName, options); + yield result.value || []; + let continuationToken = result.nextLink; + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + workspaceName, + continuationToken, + options + ); + continuationToken = result.nextLink; + yield result.value || []; + } + } + + private async *listPagingAll( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + workspaceName, + options + )) { + yield* page; + } + } + + /** + * Update workspace managed sql server's minimal tls settings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. + * @param parameters minimal tls settings + * @param options The options parameters. + */ + async beginUpdate( + resourceGroupName: string, + workspaceName: string, + dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, + parameters: DedicatedSQLminimalTlsSettings, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState< + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse + >, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { + resourceGroupName, + workspaceName, + dedicatedSQLminimalTlsSettingsName, + parameters, + options + }, + updateOperationSpec + ); + return new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + } + + /** + * Update workspace managed sql server's minimal tls settings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. + * @param parameters minimal tls settings + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, + parameters: DedicatedSQLminimalTlsSettings, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams + ): Promise< + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse + > { + const poller = await this.beginUpdate( + resourceGroupName, + workspaceName, + dedicatedSQLminimalTlsSettingsName, + parameters, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get workspace managed sql server's minimal tls settings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + dedicatedSQLminimalTlsSettingsName: string, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams + ): Promise< + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse + > { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + dedicatedSQLminimalTlsSettingsName, + options + }, + getOperationSpec + ); + } + + /** + * List workspace managed sql server's minimal tls settings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams + ): Promise< + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListResponse + > { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, options }, + listOperationSpec + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + workspaceName: string, + nextLink: string, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextOptionalParams + ): Promise< + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListNextResponse + > { + return this.client.sendOperationRequest( + { resourceGroupName, workspaceName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.DedicatedSQLminimalTlsSettings + }, + 201: { + bodyMapper: Mappers.DedicatedSQLminimalTlsSettings + }, + 202: { + bodyMapper: Mappers.DedicatedSQLminimalTlsSettings + }, + 204: { + bodyMapper: Mappers.DedicatedSQLminimalTlsSettings + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + requestBody: Parameters.parameters22, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.dedicatedSQLminimalTlsSettingsName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DedicatedSQLminimalTlsSettings + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.dedicatedSQLminimalTlsSettingsName1 + ], + headerParameters: [Parameters.accept], + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DedicatedSQLminimalTlsSettingsListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.DedicatedSQLminimalTlsSettingsListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/synapse/arm-synapse/src/operationsInterfaces/index.ts b/sdk/synapse/arm-synapse/src/operationsInterfaces/index.ts index fd448ec55b64..899c82f17835 100644 --- a/sdk/synapse/arm-synapse/src/operationsInterfaces/index.ts +++ b/sdk/synapse/arm-synapse/src/operationsInterfaces/index.ts @@ -51,6 +51,7 @@ export * from "./workspaceManagedSqlServerVulnerabilityAssessments"; export * from "./workspaceManagedSqlServerEncryptionProtector"; export * from "./workspaceManagedSqlServerUsages"; export * from "./workspaceManagedSqlServerRecoverableSqlPools"; +export * from "./workspaceManagedSqlServerDedicatedSQLminimalTlsSettings"; export * from "./workspaces"; export * from "./workspaceAadAdmins"; export * from "./workspaceSqlAadAdmins"; diff --git a/sdk/synapse/arm-synapse/src/operationsInterfaces/workspaceManagedSqlServerDedicatedSQLminimalTlsSettings.ts b/sdk/synapse/arm-synapse/src/operationsInterfaces/workspaceManagedSqlServerDedicatedSQLminimalTlsSettings.ts new file mode 100644 index 000000000000..86b5c312a6fb --- /dev/null +++ b/sdk/synapse/arm-synapse/src/operationsInterfaces/workspaceManagedSqlServerDedicatedSQLminimalTlsSettings.ts @@ -0,0 +1,89 @@ +/* + * 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. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + DedicatedSQLminimalTlsSettings, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams, + DedicatedSQLMinimalTlsSettingsName, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse +} from "../models"; + +/// +/** Interface representing a WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings. */ +export interface WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings { + /** + * List workspace managed sql server's minimal tls settings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + workspaceName: string, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Update workspace managed sql server's minimal tls settings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. + * @param parameters minimal tls settings + * @param options The options parameters. + */ + beginUpdate( + resourceGroupName: string, + workspaceName: string, + dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, + parameters: DedicatedSQLminimalTlsSettings, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState< + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse + >, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse + > + >; + /** + * Update workspace managed sql server's minimal tls settings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. + * @param parameters minimal tls settings + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceGroupName: string, + workspaceName: string, + dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, + parameters: DedicatedSQLminimalTlsSettings, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams + ): Promise< + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse + >; + /** + * Get workspace managed sql server's minimal tls settings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param dedicatedSQLminimalTlsSettingsName The name of the dedicated sql minimal tls settings. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + workspaceName: string, + dedicatedSQLminimalTlsSettingsName: string, + options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams + ): Promise< + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse + >; +} diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts index cf79a65039fd..9c4ada02c0d3 100644 --- a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts +++ b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts @@ -54,6 +54,7 @@ import { WorkspaceManagedSqlServerEncryptionProtectorImpl, WorkspaceManagedSqlServerUsagesImpl, WorkspaceManagedSqlServerRecoverableSqlPoolsImpl, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl, WorkspacesImpl, WorkspaceAadAdminsImpl, WorkspaceSqlAadAdminsImpl, @@ -128,6 +129,7 @@ import { WorkspaceManagedSqlServerEncryptionProtector, WorkspaceManagedSqlServerUsages, WorkspaceManagedSqlServerRecoverableSqlPools, + WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings, Workspaces, WorkspaceAadAdmins, WorkspaceSqlAadAdmins, @@ -189,7 +191,7 @@ export class SynapseManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-synapse/8.0.0`; + const packageDetails = `azsdk-js-arm-synapse/8.1.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -295,6 +297,9 @@ export class SynapseManagementClient extends coreClient.ServiceClient { this.workspaceManagedSqlServerRecoverableSqlPools = new WorkspaceManagedSqlServerRecoverableSqlPoolsImpl( this ); + this.workspaceManagedSqlServerDedicatedSQLminimalTlsSettings = new WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsImpl( + this + ); this.workspaces = new WorkspacesImpl(this); this.workspaceAadAdmins = new WorkspaceAadAdminsImpl(this); this.workspaceSqlAadAdmins = new WorkspaceSqlAadAdminsImpl(this); @@ -391,6 +396,7 @@ export class SynapseManagementClient extends coreClient.ServiceClient { workspaceManagedSqlServerEncryptionProtector: WorkspaceManagedSqlServerEncryptionProtector; workspaceManagedSqlServerUsages: WorkspaceManagedSqlServerUsages; workspaceManagedSqlServerRecoverableSqlPools: WorkspaceManagedSqlServerRecoverableSqlPools; + workspaceManagedSqlServerDedicatedSQLminimalTlsSettings: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings; workspaces: Workspaces; workspaceAadAdmins: WorkspaceAadAdmins; workspaceSqlAadAdmins: WorkspaceSqlAadAdmins; diff --git a/sdk/synapse/arm-synapse/tsconfig.json b/sdk/synapse/arm-synapse/tsconfig.json index 6e3251194117..3e6ae96443f3 100644 --- a/sdk/synapse/arm-synapse/tsconfig.json +++ b/sdk/synapse/arm-synapse/tsconfig.json @@ -9,11 +9,19 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", "importHelpers": true }, - "include": ["./src/**/*.ts", "./test/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file