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
35 changes: 24 additions & 11 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion sdk/datafactory/arm-datafactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Release History

## 11.1.0 (2023-03-02)
## 11.1.0 (2023-03-16)

**Features**

- Added Interface IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem
- Interface AzureBlobFSLinkedService has a new optional parameter sasToken
- Interface AzureBlobFSLinkedService has a new optional parameter sasUri
- Interface IntegrationRuntimeDataFlowProperties has a new optional parameter customProperties


## 11.0.0 (2023-02-10)
Expand Down
4 changes: 2 additions & 2 deletions sdk/datafactory/arm-datafactory/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "a60468a0c5e2beb054680ae488fb9f92699f0a0d",
"commit": "f73a93cb68379766d1b48fd2c7debbcfe0e554fc",
"readme": "specification/datafactory/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\datafactory\\resource-manager\\readme.md --use=@autorest/[email protected] --generate-sample=true",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --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]",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected]"
Expand Down
14 changes: 3 additions & 11 deletions sdk/datafactory/arm-datafactory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"rimraf": "^3.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"@types/chai": "^4.2.8",
Expand Down Expand Up @@ -111,13 +111,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory"
}
7 changes: 7 additions & 0 deletions sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3661,9 +3661,16 @@ export interface IntegrationRuntimeDataFlowProperties {
cleanup?: boolean;
computeType?: DataFlowComputeType;
coreCount?: number;
customProperties?: IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem[];
timeToLive?: number;
}

// @public (undocumented)
export interface IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem {
name?: string;
value?: string;
}

// @public
export interface IntegrationRuntimeDataProxyProperties {
connectVia?: EntityReference;
Expand Down
9 changes: 9 additions & 0 deletions sdk/datafactory/arm-datafactory/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2550,6 +2550,15 @@ export interface IntegrationRuntimeDataFlowProperties {
timeToLive?: number;
/** Cluster will not be recycled and it will be used in next data flow activity run until TTL (time to live) is reached if this is set as false. Default is true. */
cleanup?: boolean;
/** Custom properties are used to tune the data flow runtime performance. */
customProperties?: IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem[];
}

export interface IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem {
/** Name of custom property. */
name?: string;
/** Value of custom property. */
value?: string;
}

/** VNet properties for managed integration runtime. */
Expand Down
34 changes: 34 additions & 0 deletions sdk/datafactory/arm-datafactory/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4356,6 +4356,40 @@ export const IntegrationRuntimeDataFlowProperties: coreClient.CompositeMapper =
type: {
name: "Boolean"
}
},
customProperties: {
serializedName: "customProperties",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className:
"IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem"
}
}
}
}
}
}
};

export const IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "IntegrationRuntimeDataFlowPropertiesCustomPropertiesItem",
modelProperties: {
name: {
serializedName: "name",
type: {
name: "String"
}
},
value: {
serializedName: "value",
type: {
name: "String"
}
}
}
}
Expand Down
43 changes: 43 additions & 0 deletions sdk/datafactory/arm-datafactory/test/sampleTest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* 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 {
Recorder,
RecorderStartOptions,
env
} from "@azure-tools/test-recorder";
import { assert } from "chai";
import { Context } from "mocha";

const replaceableVariables: Record<string, string> = {
AZURE_CLIENT_ID: "azure_client_id",
AZURE_CLIENT_SECRET: "azure_client_secret",
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
SUBSCRIPTION_ID: "azure_subscription_id"
};

const recorderOptions: RecorderStartOptions = {
envSetupForPlayback: replaceableVariables
};

describe("My test", () => {
let recorder: Recorder;

beforeEach(async function(this: Context) {
recorder = new Recorder(this.currentTest);
await recorder.start(recorderOptions);
});

afterEach(async function() {
await recorder.stop();
});

it("sample test", async function() {
console.log("Hi, I'm a test!");
});
});
10 changes: 2 additions & 8 deletions sdk/datafactory/arm-datafactory/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,11 @@
],
"declaration": true,
"outDir": "./dist-esm",
"importHelpers": true,
"paths": {
"@azure/arm-datafactory": [
"./src/index"
]
}
"importHelpers": true
},
"include": [
"./src/**/*.ts",
"./test/**/*.ts",
"samples-dev/**/*.ts"
"./test/**/*.ts"
],
"exclude": [
"node_modules"
Expand Down