Skip to content
Open
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
61 changes: 61 additions & 0 deletions sdk/synapse/synapse-artifacts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,66 @@
# Release History

## 1.0.0-beta.16 (2025-09-30)

### Features Added
- Add a new Model ServiceNowV2LinkedService
- Model ServiceNowV2ObjectDataset has a new parameter table_name
- Model ServiceNowV2ObjectDataset has a new parameter value_type
- linked service add support Presto server linked service
- Model DynamicsSink has a new parameter bypass_business_logic_execution
- Model DynamicsSink has a new parameter bypass_power_automate_flows
- Model AzurePostgreSqlSink has a new parameter write_method
- Model AzurePostgreSqlSink has a new parameter upsert_settings
- Model SnowflakeV2LinkedService has a new parameter role
- Model SnowflakeV2LinkedService has a new parameter schema
- Model AzurePostgreSqlLinkedService has a new parameter service_principal_embedded_cert
- Model AzurePostgreSqlLinkedService has a new parameter service_principal_embedded_cert_password
- Model ODataLinkedService has a new parameter service_principal_embedded_cert
- Model ODataLinkedService has a new parameter service_principal_embedded_cert_password
- Model Office365LinkedService has a new parameter service_principal_embedded_cert
- Model Office365LinkedService has a new parameter service_principal_embedded_cert_password
- Model RestServiceLinkedService has a new parameter service_principal_embedded_cert
- Model RestServiceLinkedService has a new parameter service_principal_embedded_cert_password
- Model SharePointOnlineListLinkedService has a new parameter service_principal_embedded_cert
- Model SharePointOnlineListLinkedService has a new parameter service_principal_embedded_cert_password
- Model AzureDatabricksLinkedService has a new parameter data_security_mode
- Model AmazonRdsForOracleLinkedService has a new parameter server
- Model AmazonRdsForOracleLinkedService has a new parameter authentication_type
- Model AmazonRdsForOracleLinkedService has a new parameter username
- Model AmazonRdsForOracleLinkedService has a new parameter encryption_client
- Model AmazonRdsForOracleLinkedService has a new parameter encryption_types_client
- Model AmazonRdsForOracleLinkedService has a new parameter crypto_checksum_client
- Model AmazonRdsForOracleLinkedService has a new parameter crypto_checksum_types_client
- Model AmazonRdsForOracleLinkedService has a new parameter initial_lob_fetch_size
- Model AmazonRdsForOracleLinkedService has a new parameter fetch_size
- Model AmazonRdsForOracleLinkedService has a new parameter statement_cache_size
- Model AmazonRdsForOracleLinkedService has a new parameter initialization_string
- Model AmazonRdsForOracleLinkedService has a new parameter enable_bulk_load
- Model AmazonRdsForOracleLinkedService has a new parameter fetch_tswtz_as_timestamp
- Model AmazonRdsForOracleLinkedService has a new parameter support_v1_data_types
- Model FtpServerLinkedService has a new parameter enable_server_certificate_validation
- Model HiveLinkedService has a new parameter enable_server_certificate_validation
- Model HttpLinkedService has a new parameter enable_server_certificate_validation
- Model ImpalaLinkedService has a new parameter enable_server_certificate_validation
- Model RestServiceLinkedService has a new parameter enable_server_certificate_validation
- Model SparkLinkedService has a new parameter enable_server_certificate_validation
- Model QuickBooksLinkedService has a new parameter refresh_token
- Model AmazonRdsForOracleSource has a new parameter number_precision
- Model AmazonRdsForOracleSource has a new parameter number_scale
- Model OracleSource has a new parameter number_precision
- Model OracleSource has a new parameter number_scale
- Model LakeHouseLinkedService has a new parameter authentication_type
- Model LakeHouseLinkedService has a new parameter credential
- Model WarehouseLinkedService has a new parameter authentication_type
- Model WarehouseLinkedService has a new parameter credential
- Model HDInsightLinkedService has a new parameter cluster_auth_type
- Model HDInsightLinkedService has a new parameter credential

### Breaking Changes

- Model LinkedService parameter OracleLinkedService parameter connection_string now is not required
- Model GreenplumLinkedService remove parameter password
- Model ExpressionV2 parameter value change its type from string to object
## 1.0.0-beta.16 (2025-03-21)

### Features Added
Expand Down
25 changes: 16 additions & 9 deletions sdk/synapse/synapse-artifacts/src/artifactsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export class ArtifactsClient extends coreClient.ServiceClient {

/**
* Initializes a new instance of the ArtifactsClient class.
* @param credentials - Subscription credentials which uniquely identify client subscription.
* @param endpoint - The workspace development endpoint, for example
* @param credentials Subscription credentials which uniquely identify client subscription.
* @param endpoint The workspace development endpoint, for example
* `https://myworkspace.dev.azuresynapse.net`.
* @param options - The parameter options
* @param options The parameter options
*/
constructor(
credentials: coreAuth.TokenCredential,
Expand Down Expand Up @@ -119,13 +119,14 @@ export class ArtifactsClient extends coreClient.ServiceClient {
options.pipeline.getOrderedPolicies();
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
(pipelinePolicy) =>
pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,
pipelinePolicy.name ===
coreRestPipeline.bearerTokenAuthenticationPolicyName,
);
}
if (
!options ||
!options.pipeline ||
options.pipeline.getOrderedPolicies().length === 0 ||
options.pipeline.getOrderedPolicies().length == 0 ||
!bearerTokenAuthenticationPolicyFound
) {
this.pipeline.removePolicy({
Expand All @@ -135,9 +136,11 @@ export class ArtifactsClient extends coreClient.ServiceClient {
coreRestPipeline.bearerTokenAuthenticationPolicy({
credential: credentials,
scopes:
optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
optionsWithDefaults.credentialScopes ??
`${optionsWithDefaults.endpoint}/.default`,
challengeCallbacks: {
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
authorizeRequestOnChallenge:
coreClient.authorizeRequestOnClaimChallenge,
},
}),
);
Expand All @@ -149,7 +152,9 @@ export class ArtifactsClient extends coreClient.ServiceClient {
this.kqlScripts = new KqlScriptsImpl(this);
this.kqlScriptOperations = new KqlScriptOperationsImpl(this);
this.metastore = new MetastoreImpl(this);
this.sparkConfigurationOperations = new SparkConfigurationOperationsImpl(this);
this.sparkConfigurationOperations = new SparkConfigurationOperationsImpl(
this,
);
this.bigDataPools = new BigDataPoolsImpl(this);
this.dataFlowOperations = new DataFlowOperationsImpl(this);
this.dataFlowDebugSession = new DataFlowDebugSessionImpl(this);
Expand All @@ -162,7 +167,9 @@ export class ArtifactsClient extends coreClient.ServiceClient {
this.notebookOperationResult = new NotebookOperationResultImpl(this);
this.pipelineOperations = new PipelineOperationsImpl(this);
this.pipelineRunOperations = new PipelineRunOperationsImpl(this);
this.sparkJobDefinitionOperations = new SparkJobDefinitionOperationsImpl(this);
this.sparkJobDefinitionOperations = new SparkJobDefinitionOperationsImpl(
this,
);
this.sqlPools = new SqlPoolsImpl(this);
this.sqlScriptOperations = new SqlScriptOperationsImpl(this);
this.triggerOperations = new TriggerOperationsImpl(this);
Expand Down
8 changes: 7 additions & 1 deletion sdk/synapse/synapse-artifacts/src/lroImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import type { AbortSignalLike } from "@azure/abort-controller";
import type { LongRunningOperation, LroResponse } from "@azure/core-lro";

Expand All @@ -23,7 +26,10 @@ export function createLroSpec<T>(inputs: {
requestMethod: spec.httpMethod,
requestPath: spec.path!,
sendInitialRequest: () => sendOperationFn(args, spec),
sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => {
sendPollRequest: (
path: string,
options?: { abortSignal?: AbortSignalLike },
) => {
const { requestBody, ...restSpec } = spec;
return sendOperationFn(args, {
...restSpec,
Expand Down
Loading
Loading