Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_@azure/arm-synapse] Tlsswaggerchanges #7273

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 22 additions & 11 deletions sdk/synapse/arm-synapse/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions sdk/synapse/arm-synapse/_meta.json
Original file line number Diff line number Diff line change
@@ -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"
}
25 changes: 19 additions & 6 deletions sdk/synapse/arm-synapse/api-extractor.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
}
4 changes: 2 additions & 2 deletions sdk/synapse/arm-synapse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -99,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
66 changes: 66 additions & 0 deletions sdk/synapse/arm-synapse/review/arm-synapse.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -1570,6 +1590,12 @@ export enum KnownDayOfWeek {
Wednesday = "Wednesday"
}

// @public
export enum KnownDedicatedSQLMinimalTlsSettingsName {
// (undocumented)
Default = "default"
}

// @public
export enum KnownDefaultPrincipalsModificationKind {
// (undocumented)
Expand Down Expand Up @@ -4964,6 +4990,8 @@ export class SynapseManagementClient extends coreClient.ServiceClient {
// (undocumented)
workspaceManagedSqlServerBlobAuditingPolicies: WorkspaceManagedSqlServerBlobAuditingPolicies;
// (undocumented)
workspaceManagedSqlServerDedicatedSQLminimalTlsSettings: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings;
// (undocumented)
workspaceManagedSqlServerEncryptionProtector: WorkspaceManagedSqlServerEncryptionProtector;
// (undocumented)
workspaceManagedSqlServerExtendedBlobAuditingPolicies: WorkspaceManagedSqlServerExtendedBlobAuditingPolicies;
Expand Down Expand Up @@ -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<PollerLike<PollOperationState<WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse>, WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, workspaceName: string, dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, parameters: DedicatedSQLminimalTlsSettings, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams): Promise<WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse>;
get(resourceGroupName: string, workspaceName: string, dedicatedSQLminimalTlsSettingsName: string, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetOptionalParams): Promise<WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsGetResponse>;
list(resourceGroupName: string, workspaceName: string, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsListOptionalParams): PagedAsyncIterableIterator<DedicatedSQLminimalTlsSettings>;
}

// @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<PollerLike<PollOperationState<WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateResponse>, WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateResponse>>;
Expand Down
78 changes: 78 additions & 0 deletions sdk/synapse/arm-synapse/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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 {}
Expand Down
67 changes: 67 additions & 0 deletions sdk/synapse/arm-synapse/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Loading