Skip to content

Commit

Permalink
CodeGen from PR 17476 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 343c7293e649be592bad09eb031bae19f7dfe87e into c858f22f4bcc7e0c0e6a1c235cc01ca880b6c4ec
  • Loading branch information
SDKAuto committed Feb 10, 2022
1 parent b83be61 commit 714192f
Show file tree
Hide file tree
Showing 14 changed files with 776 additions and 27 deletions.
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": "9d99865e5128b160535b09fc72039c7bd010f1e6",
"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;
readonly 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, dedicatedSQLminimalTlsSettingsPatchInfo: DedicatedSQLminimalTlsSettings, options?: WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateOptionalParams): Promise<PollerLike<PollOperationState<WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse>, WorkspaceManagedSqlServerDedicatedSQLminimalTlsSettingsUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, workspaceName: string, dedicatedSQLminimalTlsSettingsName: DedicatedSQLMinimalTlsSettingsName, dedicatedSQLminimalTlsSettingsPatchInfo: 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
81 changes: 81 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,20 @@ 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.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly minimalTlsVersion?: string;
};

/** Workspace active directory administrator */
export type WorkspaceAadAdminInfo = ProxyResource & {
/** Tenant ID of the workspace active directory administrator */
Expand Down Expand Up @@ -4750,6 +4784,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 +6950,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
Loading

0 comments on commit 714192f

Please sign in to comment.