Skip to content
Closed
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
34 changes: 24 additions & 10 deletions sdk/datafactory/arm-datafactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
# Release History

## 10.6.0 (2022-05-24)

**Features**

## 10.5.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group GlobalParameters
- Added Interface GlobalParameterListResponse
- Added Interface GlobalParametersCreateOrUpdateOptionalParams
- Added Interface GlobalParametersDeleteOptionalParams
- Added Interface GlobalParametersGetOptionalParams
- Added Interface GlobalParametersListByFactoryNextOptionalParams
- Added Interface GlobalParametersListByFactoryOptionalParams
- Added Interface PurviewConfiguration
- Added Type Alias GlobalParameterResource
- Added Type Alias GlobalParametersCreateOrUpdateResponse
- Added Type Alias GlobalParametersGetResponse
- Added Type Alias GlobalParametersListByFactoryNextResponse
- Added Type Alias GlobalParametersListByFactoryResponse
- Interface ExecuteDataFlowActivityTypeProperties has a new optional parameter sourceStagingConcurrency
- Class DataFactoryManagementClient has a new parameter globalParameters
- Type Alias ExecuteDataFlowActivity has a new parameter sourceStagingConcurrency
- Type Alias ExecuteWranglingDataflowActivity has a new parameter sourceStagingConcurrency
- Type Alias Factory has a new parameter purviewConfiguration


## 10.5.0 (2022-05-09)

**Features**
Expand Down
6 changes: 3 additions & 3 deletions sdk/datafactory/arm-datafactory/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "ee15422a60409285806e1673e191fe69333a7743",
"commit": "956412b14e73be1000cc122ba8ecb8f5d9f671d7",
"readme": "specification/datafactory/resource-manager/readme.md",
"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=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\datafactory\\resource-manager\\readme.md --use=@autorest/[email protected].20220408.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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=@autorest/[email protected].20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected].20220408.1"
"use": "@autorest/[email protected].20220425.1"
}
12 changes: 7 additions & 5 deletions sdk/datafactory/arm-datafactory/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 DataFactoryManagementClient.",
"version": "10.5.1",
"version": "10.6.0",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -40,9 +40,11 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory",
"repository": {
Expand Down Expand Up @@ -93,7 +95,7 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand All @@ -107,4 +109,4 @@
]
},
"autoPublish": true
}
}
64 changes: 64 additions & 0 deletions sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1610,6 +1610,8 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
// (undocumented)
factories: Factories;
// (undocumented)
globalParameters: GlobalParameters;
// (undocumented)
integrationRuntimeNodes: IntegrationRuntimeNodes;
// (undocumented)
integrationRuntimeObjectMetadata: IntegrationRuntimeObjectMetadata;
Expand Down Expand Up @@ -2404,6 +2406,7 @@ export type ExecuteDataFlowActivity = ExecutionActivity & {
traceLevel?: Record<string, unknown>;
continueOnError?: Record<string, unknown>;
runConcurrently?: Record<string, unknown>;
sourceStagingConcurrency?: Record<string, unknown>;
};

// @public
Expand All @@ -2413,6 +2416,7 @@ export interface ExecuteDataFlowActivityTypeProperties {
dataFlow: DataFlowReference;
integrationRuntime?: IntegrationRuntimeReference;
runConcurrently?: Record<string, unknown>;
sourceStagingConcurrency?: Record<string, unknown>;
staging?: DataFlowStagingInfo;
traceLevel?: Record<string, unknown>;
}
Expand Down Expand Up @@ -2490,6 +2494,7 @@ export type ExecuteWranglingDataflowActivity = Activity & {
traceLevel?: Record<string, unknown>;
continueOnError?: Record<string, unknown>;
runConcurrently?: Record<string, unknown>;
sourceStagingConcurrency?: Record<string, unknown>;
sinks?: {
[propertyName: string]: PowerQuerySink;
};
Expand Down Expand Up @@ -2667,6 +2672,7 @@ export type Factory = Resource & {
readonly provisioningState?: string;
readonly createTime?: Date;
readonly version?: string;
purviewConfiguration?: PurviewConfiguration;
repoConfiguration?: FactoryRepoConfigurationUnion;
globalParameters?: {
[propertyName: string]: GlobalParameterSpecification;
Expand Down Expand Up @@ -2921,6 +2927,59 @@ export interface GitHubClientSecret {
byoaSecretName?: string;
}

// @public
export interface GlobalParameterListResponse {
nextLink?: string;
value: GlobalParameterResource[];
}

// @public
export type GlobalParameterResource = SubResource & {
properties: {
[propertyName: string]: GlobalParameterSpecification;
};
};

// @public
export interface GlobalParameters {
createOrUpdate(resourceGroupName: string, factoryName: string, globalParameterName: string, defaultParam: GlobalParameterResource, options?: GlobalParametersCreateOrUpdateOptionalParams): Promise<GlobalParametersCreateOrUpdateResponse>;
delete(resourceGroupName: string, factoryName: string, globalParameterName: string, options?: GlobalParametersDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, factoryName: string, globalParameterName: string, options?: GlobalParametersGetOptionalParams): Promise<GlobalParametersGetResponse>;
listByFactory(resourceGroupName: string, factoryName: string, options?: GlobalParametersListByFactoryOptionalParams): PagedAsyncIterableIterator<GlobalParameterResource>;
}

// @public
export interface GlobalParametersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
}

// @public
export type GlobalParametersCreateOrUpdateResponse = GlobalParameterResource;

// @public
export interface GlobalParametersDeleteOptionalParams extends coreClient.OperationOptions {
}

// @public
export interface GlobalParametersGetOptionalParams extends coreClient.OperationOptions {
}

// @public
export type GlobalParametersGetResponse = GlobalParameterResource;

// @public
export interface GlobalParametersListByFactoryNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type GlobalParametersListByFactoryNextResponse = GlobalParameterListResponse;

// @public
export interface GlobalParametersListByFactoryOptionalParams extends coreClient.OperationOptions {
}

// @public
export type GlobalParametersListByFactoryResponse = GlobalParameterListResponse;

// @public
export interface GlobalParameterSpecification {
type: GlobalParameterType;
Expand Down Expand Up @@ -6444,6 +6503,11 @@ export interface PrivateLinkResourcesWrapper {
// @public
export type PublicNetworkAccess = string;

// @public
export interface PurviewConfiguration {
purviewResourceId?: string;
}

// @public
export interface QueryDataFlowDebugSessionsResponse {
nextLink?: string;
Expand Down
44 changes: 41 additions & 3 deletions sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

import * as coreClient from "@azure/core-client";
import * as coreRestPipeline from "@azure/core-rest-pipeline";
import {
PipelineRequest,
PipelineResponse,
SendRequest
} from "@azure/core-rest-pipeline";
import * as coreAuth from "@azure/core-auth";
import {
OperationsImpl,
Expand All @@ -29,7 +34,8 @@ import {
ManagedPrivateEndpointsImpl,
PrivateEndPointConnectionsImpl,
PrivateEndpointConnectionImpl,
PrivateLinkResourcesImpl
PrivateLinkResourcesImpl,
GlobalParametersImpl
} from "./operations";
import {
Operations,
Expand All @@ -51,7 +57,8 @@ import {
ManagedPrivateEndpoints,
PrivateEndPointConnections,
PrivateEndpointConnection,
PrivateLinkResources
PrivateLinkResources,
GlobalParameters
} from "./operationsInterfaces";
import { DataFactoryManagementClientOptionalParams } from "./models";

Expand Down Expand Up @@ -87,7 +94,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-datafactory/10.5.1`;
const packageDetails = `azsdk-js-arm-datafactory/10.6.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -157,6 +164,36 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
this.privateEndPointConnections = new PrivateEndPointConnectionsImpl(this);
this.privateEndpointConnection = new PrivateEndpointConnectionImpl(this);
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
this.globalParameters = new GlobalParametersImpl(this);
this.addCustomApiVersionPolicy(options.apiVersion);
}

/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
private addCustomApiVersionPolicy(apiVersion?: string) {
if (!apiVersion) {
return;
}
const apiVersionPolicy = {
name: "CustomApiVersionPolicy",
async sendRequest(
request: PipelineRequest,
next: SendRequest
): Promise<PipelineResponse> {
const param = request.url.split("?");
if (param.length > 1) {
const newParams = param[1].split("&").map((item) => {
if (item.indexOf("api-version") > -1) {
return item.replace(/(?<==).*$/, apiVersion);
} else {
return item;
}
});
request.url = param[0] + "?" + newParams.join("&");
}
return next(request);
}
};
this.pipeline.addPolicy(apiVersionPolicy);
}

operations: Operations;
Expand All @@ -179,4 +216,5 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
privateEndPointConnections: PrivateEndPointConnections;
privateEndpointConnection: PrivateEndpointConnection;
privateLinkResources: PrivateLinkResources;
globalParameters: GlobalParameters;
}
Loading