From 1a294f890c16fb11ab04f88756ceba156bee57d6 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Tue, 23 Nov 2021 20:28:08 +0800 Subject: [PATCH] datafactory-track2 (#18789) --- common/config/rush/pnpm-lock.yaml | 3 +- sdk/datafactory/arm-datafactory/CHANGELOG.md | 32 +- sdk/datafactory/arm-datafactory/README.md | 6 +- sdk/datafactory/arm-datafactory/_meta.json | 6 +- sdk/datafactory/arm-datafactory/package.json | 23 +- .../review/arm-datafactory.api.md | 13 +- .../src/dataFactoryManagementClientContext.ts | 2 +- .../arm-datafactory/src/models/index.ts | 186 ++++---- .../arm-datafactory/src/models/mappers.ts | 441 +++++++++--------- 9 files changed, 357 insertions(+), 355 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 5cf0e9b83b8a..a1f1da83babc 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -8870,7 +8870,7 @@ packages: dev: false file:projects/arm-datafactory.tgz: - resolution: {integrity: sha512-ftTjq0CtO8/n+wlizCUlsf6RK3RmaarJTyt+DN07N5OsYrpoqBOrLtgqtzzvJZsDs0X9/LkyFhsOhOndBISbzA==, tarball: file:projects/arm-datafactory.tgz} + resolution: {integrity: sha512-wm2n/Ns8vlhtEN0s+6Dp62FqXTpObLqUM/gtWBopBYVv45/1htEURor+8vevFUbYVOMwLXrqqtk11/5qnu34RQ==, tarball: file:projects/arm-datafactory.tgz} name: '@rush-temp/arm-datafactory' version: 0.0.0 dependencies: @@ -8882,6 +8882,7 @@ packages: cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 + rimraf: 3.0.2 rollup: 1.32.1 rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 diff --git a/sdk/datafactory/arm-datafactory/CHANGELOG.md b/sdk/datafactory/arm-datafactory/CHANGELOG.md index 52b2f2a508f6..117a1438d4c7 100644 --- a/sdk/datafactory/arm-datafactory/CHANGELOG.md +++ b/sdk/datafactory/arm-datafactory/CHANGELOG.md @@ -1,16 +1,22 @@ -## Release History - -### 9.0.0-beta.2 (Unreleased) - -#### Features Added - -#### Breaking Changes - -#### Bugs Fixed - -#### Other Changes - -### 9.0.0-beta.1 (2021-11-10) +## 10.0.0-beta.1 (2021-11-23) + +**Features** + + - Interface DataFlowReference has a new optional parameter parameters + - Interface Transformation has a new optional parameter dataset + - Interface Transformation has a new optional parameter linkedService + - Type Alias FtpReadSettings has a new parameter disableChunking + - Type Alias SftpReadSettings has a new parameter disableChunking + +**Breaking Changes** + + - Type Alias DataFlowSink no longer has parameter dataset + - Type Alias DataFlowSink no longer has parameter linkedService + - Type Alias DataFlowSource no longer has parameter dataset + - Type Alias DataFlowSource no longer has parameter linkedService + - Type Alias Flowlet no longer has parameter additionalProperties + +## 9.0.0-beta.1 (2021-11-10) This is the first preview for the new version of the `@azure/arm-datafactory` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services. diff --git a/sdk/datafactory/arm-datafactory/README.md b/sdk/datafactory/arm-datafactory/README.md index 511244915bbc..ebc8e47d01d4 100644 --- a/sdk/datafactory/arm-datafactory/README.md +++ b/sdk/datafactory/arm-datafactory/README.md @@ -6,7 +6,7 @@ The Azure Data Factory V2 management API provides a RESTful set of web services [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-datafactory) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-datafactory) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started @@ -53,6 +53,10 @@ const subscriptionId = "00000000-0000-0000-0000-000000000000"; const client = new DataFactoryManagementClient(new DefaultAzureCredential(), subscriptionId); ``` + +### JavaScript Bundle +To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling). + ## Key concepts ### DataFactoryManagementClient diff --git a/sdk/datafactory/arm-datafactory/_meta.json b/sdk/datafactory/arm-datafactory/_meta.json index 7cdf80443e31..f9017f9761c7 100644 --- a/sdk/datafactory/arm-datafactory/_meta.json +++ b/sdk/datafactory/arm-datafactory/_meta.json @@ -1,7 +1,7 @@ { - "commit": "dc33f3f6452de718c91fdd4f1572fdd95dea4a43", + "commit": "b81af692dbb8395672116d85805cbc9ad1432f3b", "readme": "specification/datafactory/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/datafactory/resource-manager/readme.md --use=@autorest/typescript@6.0.0-beta.14", + "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/datafactory/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.15.20211116.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-beta.14" + "use": "@autorest/typescript@6.0.0-alpha.15.20211116.1" } \ No newline at end of file diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index 308521422ca4..ee61294704ed 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -3,10 +3,8 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for DataFactoryManagementClient.", - "version": "9.0.0-beta.2", - "engines": { - "node": ">=12.0.0" - }, + "version": "10.0.0-beta.1", + "engines": { "node": ">=12.0.0" }, "dependencies": { "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", @@ -16,13 +14,7 @@ "@azure/core-rest-pipeline": "^1.1.0", "tslib": "^2.2.0" }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], + "keywords": ["node", "azure", "typescript", "browser", "isomorphic"], "license": "MIT", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", @@ -38,6 +30,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "typescript": "~4.2.0", "uglify-js": "^3.4.9", + "rimraf": "^3.0.0", "@azure/identity": "^2.0.1", "@azure-tools/test-recorder": "^1.0.0", "mocha": "^7.1.1", @@ -48,9 +41,7 @@ "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" }, - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, + "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", "dist/**/*.js.map", @@ -77,7 +68,7 @@ "extract-api": "api-extractor run --local", "lint": "echo skipped", "audit": "echo skipped", - "clean": "echo skipped", + "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", "build:browser": "echo skipped", "build:test": "echo skipped", @@ -92,7 +83,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", + "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:browser": "echo skipped", "docs": "echo skipped" }, diff --git a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md index e3acd7fa88c0..d85797d30138 100644 --- a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md +++ b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md @@ -1784,6 +1784,9 @@ export interface DataFlowListResponse { export interface DataFlowReference { [property: string]: any; datasetParameters?: Record; + parameters?: { + [propertyName: string]: Record; + }; referenceName: string; type: "DataFlowReference"; } @@ -1823,8 +1826,6 @@ export type DataFlowsGetResponse = DataFlowResource; // @public export type DataFlowSink = Transformation & { - dataset?: DatasetReference; - linkedService?: LinkedServiceReference; schemaLinkedService?: LinkedServiceReference; }; @@ -1844,8 +1845,6 @@ export type DataFlowsListByFactoryResponse = DataFlowListResponse; // @public export type DataFlowSource = Transformation & { - dataset?: DatasetReference; - linkedService?: LinkedServiceReference; schemaLinkedService?: LinkedServiceReference; }; @@ -2770,13 +2769,11 @@ export type FilterActivity = ControlActivity & { // @public export type Flowlet = DataFlow & { type: "Flowlet"; - [property: string]: any; sources?: DataFlowSource[]; sinks?: DataFlowSink[]; transformations?: Transformation[]; script?: string; scriptLines?: string[]; - additionalProperties?: Record; }; // @public @@ -2820,6 +2817,7 @@ export type FtpReadSettings = StoreReadSettings & { deleteFilesAfterCompletion?: Record; fileListPath?: Record; useBinaryTransfer?: boolean; + disableChunking?: Record; }; // @public @@ -6986,6 +6984,7 @@ export type SftpReadSettings = StoreReadSettings & { deleteFilesAfterCompletion?: Record; modifiedDatetimeStart?: Record; modifiedDatetimeEnd?: Record; + disableChunking?: Record; }; // @public @@ -7697,8 +7696,10 @@ export type TextFormat = DatasetStorageFormat & { // @public export interface Transformation { + dataset?: DatasetReference; description?: string; flowlet?: DataFlowReference; + linkedService?: LinkedServiceReference; name: string; } diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts index 0ea2c1e91e19..3124fd81eb2f 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts @@ -42,7 +42,7 @@ export class DataFactoryManagementClientContext extends coreClient.ServiceClient credential: credentials }; - const packageDetails = `azsdk-js-arm-datafactory/9.0.0-beta.1`; + const packageDetails = `azsdk-js-arm-datafactory/10.0.0-beta.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index c76db5a9426e..5a709317b6a3 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -642,34 +642,6 @@ export interface FactoryListResponse { nextLink?: string; } -/** Azure Data Factory top-level resource. */ -export interface Resource { - /** - * The resource identifier. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * The resource name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * The resource type. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** The resource location. */ - location?: string; - /** The resource tags. */ - tags?: { [propertyName: string]: string }; - /** - * Etag identifies change in the resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly eTag?: string; -} - /** Identity properties of the factory resource. */ export interface FactoryIdentity { /** The identity type. */ @@ -730,6 +702,34 @@ export interface CMKIdentityDefinition { userAssignedIdentity?: string; } +/** Azure Data Factory top-level resource. */ +export interface Resource { + /** + * The resource identifier. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** + * The resource name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * The resource type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** The resource location. */ + location?: string; + /** The resource tags. */ + tags?: { [propertyName: string]: string }; + /** + * Etag identifies change in the resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly eTag?: string; +} + /** Factory's git repo information. */ export interface FactoryRepoUpdate { /** The factory resource id. */ @@ -840,6 +840,16 @@ export interface IntegrationRuntimeListResponse { nextLink?: string; } +/** Azure Data Factory nested object which serves as a compute resource for activities. */ +export interface IntegrationRuntime { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "Managed" | "SelfHosted"; + /** Describes unknown properties. The value of an unknown property can be of "any" type. */ + [property: string]: any; + /** Integration runtime description. */ + description?: string; +} + /** Azure Data Factory nested resource, which belongs to a factory. */ export interface SubResource { /** @@ -864,16 +874,6 @@ export interface SubResource { readonly etag?: string; } -/** Azure Data Factory nested object which serves as a compute resource for activities. */ -export interface IntegrationRuntime { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "Managed" | "SelfHosted"; - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; - /** Integration runtime description. */ - description?: string; -} - /** Update integration runtime request. */ export interface UpdateIntegrationRuntimeRequest { /** Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189. */ @@ -1706,7 +1706,7 @@ export interface PipelineRun { */ readonly durationInMs?: number; /** - * The status of a pipeline run. + * The status of a pipeline run. Possible values: Queued, InProgress, Succeeded, Failed, Canceling, Cancelled * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly status?: string; @@ -2335,6 +2335,8 @@ export interface DataFlowReference { referenceName: string; /** Reference data flow parameters from dataset. */ datasetParameters?: Record; + /** Data flow parameters */ + parameters?: { [propertyName: string]: Record }; } /** Managed Virtual Network reference type. */ @@ -2373,6 +2375,10 @@ export interface Transformation { name: string; /** Transformation description. */ description?: string; + /** Dataset reference. */ + dataset?: DatasetReference; + /** Linked service reference. */ + linkedService?: LinkedServiceReference; /** Flowlet Reference */ flowlet?: DataFlowReference; } @@ -3563,6 +3569,28 @@ export interface TriggerReference { referenceName: string; } +/** Factory's VSTS repo information. */ +export type FactoryVstsConfiguration = FactoryRepoConfiguration & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FactoryVSTSConfiguration"; + /** VSTS project name. */ + projectName: string; + /** VSTS tenant id. */ + tenantId?: string; +}; + +/** Factory's GitHub repo information. */ +export type FactoryGitHubConfiguration = FactoryRepoConfiguration & { + /** Polymorphic discriminator, which specifies the different types this object can be */ + type: "FactoryGitHubConfiguration"; + /** GitHub Enterprise host name. For example: https://github.mydomain.com */ + hostName?: string; + /** GitHub bring your own app client id. */ + clientId?: string; + /** GitHub bring your own app client secret information. */ + clientSecret?: GitHubClientSecret; +}; + /** Factory resource type. */ export type Factory = Resource & { /** Describes unknown properties. The value of an unknown property can be of "any" type. */ @@ -3594,26 +3622,31 @@ export type Factory = Resource & { publicNetworkAccess?: PublicNetworkAccess; }; -/** Factory's VSTS repo information. */ -export type FactoryVstsConfiguration = FactoryRepoConfiguration & { +/** Managed integration runtime, including managed elastic and managed dedicated integration runtimes. */ +export type ManagedIntegrationRuntime = IntegrationRuntime & { /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "FactoryVSTSConfiguration"; - /** VSTS project name. */ - projectName: string; - /** VSTS tenant id. */ - tenantId?: string; + type: "Managed"; + /** + * Integration runtime state, only valid for managed dedicated integration runtime. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly state?: IntegrationRuntimeState; + /** Managed Virtual Network reference. */ + managedVirtualNetwork?: ManagedVirtualNetworkReference; + /** The compute resource for managed integration runtime. */ + computeProperties?: IntegrationRuntimeComputeProperties; + /** SSIS properties for managed integration runtime. */ + ssisProperties?: IntegrationRuntimeSsisProperties; + /** The name of virtual network to which Azure-SSIS integration runtime will join */ + customerVirtualNetwork?: IntegrationRuntimeCustomerVirtualNetwork; }; -/** Factory's GitHub repo information. */ -export type FactoryGitHubConfiguration = FactoryRepoConfiguration & { +/** Self-hosted integration runtime. */ +export type SelfHostedIntegrationRuntime = IntegrationRuntime & { /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "FactoryGitHubConfiguration"; - /** GitHub Enterprise host name. For example: https://github.mydomain.com */ - hostName?: string; - /** GitHub bring your own app client id. */ - clientId?: string; - /** GitHub bring your own app client secret information. */ - clientSecret?: GitHubClientSecret; + type: "SelfHosted"; + /** The base definition of a linked integration runtime. */ + linkedInfo?: LinkedIntegrationRuntimeTypeUnion; }; /** Integration runtime resource type. */ @@ -3706,33 +3739,6 @@ export type CredentialResource = SubResource & { properties: CredentialUnion; }; -/** Managed integration runtime, including managed elastic and managed dedicated integration runtimes. */ -export type ManagedIntegrationRuntime = IntegrationRuntime & { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "Managed"; - /** - * Integration runtime state, only valid for managed dedicated integration runtime. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly state?: IntegrationRuntimeState; - /** Managed Virtual Network reference. */ - managedVirtualNetwork?: ManagedVirtualNetworkReference; - /** The compute resource for managed integration runtime. */ - computeProperties?: IntegrationRuntimeComputeProperties; - /** SSIS properties for managed integration runtime. */ - ssisProperties?: IntegrationRuntimeSsisProperties; - /** The name of virtual network to which Azure-SSIS integration runtime will join */ - customerVirtualNetwork?: IntegrationRuntimeCustomerVirtualNetwork; -}; - -/** Self-hosted integration runtime. */ -export type SelfHostedIntegrationRuntime = IntegrationRuntime & { - /** Polymorphic discriminator, which specifies the different types this object can be */ - type: "SelfHosted"; - /** The base definition of a linked integration runtime. */ - linkedInfo?: LinkedIntegrationRuntimeTypeUnion; -}; - /** Managed integration runtime status. */ export type ManagedIntegrationRuntimeStatus = IntegrationRuntimeStatus & { /** Polymorphic discriminator, which specifies the different types this object can be */ @@ -7138,8 +7144,6 @@ export type MappingDataFlow = DataFlow & { export type Flowlet = DataFlow & { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Flowlet"; - /** Describes unknown properties. The value of an unknown property can be of "any" type. */ - [property: string]: any; /** List of sources in Flowlet. */ sources?: DataFlowSource[]; /** List of sinks in Flowlet. */ @@ -7150,8 +7154,6 @@ export type Flowlet = DataFlow & { script?: string; /** Flowlet script lines. */ scriptLines?: string[]; - /** Any object */ - additionalProperties?: Record; }; /** Power Query data flow. */ @@ -7232,20 +7234,12 @@ export type ManagedIdentityCredential = Credential & { /** Transformation for data flow source. */ export type DataFlowSource = Transformation & { - /** Dataset reference. */ - dataset?: DatasetReference; - /** Linked service reference. */ - linkedService?: LinkedServiceReference; /** Schema linked service reference. */ schemaLinkedService?: LinkedServiceReference; }; /** Transformation for data flow sink. */ export type DataFlowSink = Transformation & { - /** Dataset reference. */ - dataset?: DatasetReference; - /** Linked service reference. */ - linkedService?: LinkedServiceReference; /** Schema linked service reference. */ schemaLinkedService?: LinkedServiceReference; }; @@ -7744,6 +7738,8 @@ export type FtpReadSettings = StoreReadSettings & { fileListPath?: Record; /** Specify whether to use binary transfer mode for FTP stores. */ useBinaryTransfer?: boolean; + /** If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). */ + disableChunking?: Record; }; /** Sftp read settings. */ @@ -7768,6 +7764,8 @@ export type SftpReadSettings = StoreReadSettings & { modifiedDatetimeStart?: Record; /** The end of file's modified datetime. Type: string (or Expression with resultType string). */ modifiedDatetimeEnd?: Record; + /** If true, disable parallel reading within each file. Default is false. Type: boolean (or Expression with resultType boolean). */ + disableChunking?: Record; }; /** Sftp read settings. */ diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index 38493c224d38..5d25c6f72d86 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -361,56 +361,6 @@ export const FactoryListResponse: coreClient.CompositeMapper = { } }; -export const Resource: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "Resource", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String" - } - }, - location: { - serializedName: "location", - type: { - name: "String" - } - }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { type: { name: "String" } } - } - }, - eTag: { - serializedName: "eTag", - readOnly: true, - type: { - name: "String" - } - } - } - } -}; - export const FactoryIdentity: coreClient.CompositeMapper = { type: { name: "Composite", @@ -580,6 +530,56 @@ export const CMKIdentityDefinition: coreClient.CompositeMapper = { } }; +export const Resource: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + type: { + serializedName: "type", + readOnly: true, + type: { + name: "String" + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + }, + eTag: { + serializedName: "eTag", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const FactoryRepoUpdate: coreClient.CompositeMapper = { type: { name: "Composite", @@ -886,6 +886,35 @@ export const IntegrationRuntimeListResponse: coreClient.CompositeMapper = { } }; +export const IntegrationRuntime: coreClient.CompositeMapper = { + serializedName: "IntegrationRuntime", + type: { + name: "Composite", + className: "IntegrationRuntime", + uberParent: "IntegrationRuntime", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + modelProperties: { + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + export const SubResource: coreClient.CompositeMapper = { type: { name: "Composite", @@ -923,35 +952,6 @@ export const SubResource: coreClient.CompositeMapper = { } }; -export const IntegrationRuntime: coreClient.CompositeMapper = { - serializedName: "IntegrationRuntime", - type: { - name: "Composite", - className: "IntegrationRuntime", - uberParent: "IntegrationRuntime", - additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - modelProperties: { - type: { - serializedName: "type", - required: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - type: { - name: "String" - } - } - } - } -}; - export const UpdateIntegrationRuntimeRequest: coreClient.CompositeMapper = { type: { name: "Composite", @@ -3919,6 +3919,15 @@ export const DataFlowReference: coreClient.CompositeMapper = { name: "Dictionary", value: { type: { name: "any" } } } + }, + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { name: "Dictionary", value: { type: { name: "any" } } } + } + } } } } @@ -4032,6 +4041,20 @@ export const Transformation: coreClient.CompositeMapper = { name: "String" } }, + dataset: { + serializedName: "dataset", + type: { + name: "Composite", + className: "DatasetReference" + } + }, + linkedService: { + serializedName: "linkedService", + type: { + name: "Composite", + className: "LinkedServiceReference" + } + }, flowlet: { serializedName: "flowlet", type: { @@ -6916,6 +6939,66 @@ export const TriggerReference: coreClient.CompositeMapper = { } }; +export const FactoryVstsConfiguration: coreClient.CompositeMapper = { + serializedName: "FactoryVSTSConfiguration", + type: { + name: "Composite", + className: "FactoryVstsConfiguration", + uberParent: "FactoryRepoConfiguration", + polymorphicDiscriminator: + FactoryRepoConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...FactoryRepoConfiguration.type.modelProperties, + projectName: { + serializedName: "projectName", + required: true, + type: { + name: "String" + } + }, + tenantId: { + serializedName: "tenantId", + type: { + name: "String" + } + } + } + } +}; + +export const FactoryGitHubConfiguration: coreClient.CompositeMapper = { + serializedName: "FactoryGitHubConfiguration", + type: { + name: "Composite", + className: "FactoryGitHubConfiguration", + uberParent: "FactoryRepoConfiguration", + polymorphicDiscriminator: + FactoryRepoConfiguration.type.polymorphicDiscriminator, + modelProperties: { + ...FactoryRepoConfiguration.type.modelProperties, + hostName: { + serializedName: "hostName", + type: { + name: "String" + } + }, + clientId: { + serializedName: "clientId", + type: { + name: "String" + } + }, + clientSecret: { + serializedName: "clientSecret", + type: { + name: "Composite", + className: "GitHubClientSecret" + } + } + } + } +}; + export const Factory: coreClient.CompositeMapper = { type: { name: "Composite", @@ -6987,60 +7070,70 @@ export const Factory: coreClient.CompositeMapper = { } }; -export const FactoryVstsConfiguration: coreClient.CompositeMapper = { - serializedName: "FactoryVSTSConfiguration", +export const ManagedIntegrationRuntime: coreClient.CompositeMapper = { + serializedName: "Managed", type: { name: "Composite", - className: "FactoryVstsConfiguration", - uberParent: "FactoryRepoConfiguration", - polymorphicDiscriminator: - FactoryRepoConfiguration.type.polymorphicDiscriminator, + className: "ManagedIntegrationRuntime", + uberParent: "IntegrationRuntime", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, modelProperties: { - ...FactoryRepoConfiguration.type.modelProperties, - projectName: { - serializedName: "projectName", - required: true, + ...IntegrationRuntime.type.modelProperties, + state: { + serializedName: "state", + readOnly: true, type: { name: "String" } }, - tenantId: { - serializedName: "tenantId", + managedVirtualNetwork: { + serializedName: "managedVirtualNetwork", type: { - name: "String" + name: "Composite", + className: "ManagedVirtualNetworkReference" + } + }, + computeProperties: { + serializedName: "typeProperties.computeProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeComputeProperties" + } + }, + ssisProperties: { + serializedName: "typeProperties.ssisProperties", + type: { + name: "Composite", + className: "IntegrationRuntimeSsisProperties" + } + }, + customerVirtualNetwork: { + serializedName: "typeProperties.customerVirtualNetwork", + type: { + name: "Composite", + className: "IntegrationRuntimeCustomerVirtualNetwork" } } } } }; -export const FactoryGitHubConfiguration: coreClient.CompositeMapper = { - serializedName: "FactoryGitHubConfiguration", +export const SelfHostedIntegrationRuntime: coreClient.CompositeMapper = { + serializedName: "SelfHosted", type: { name: "Composite", - className: "FactoryGitHubConfiguration", - uberParent: "FactoryRepoConfiguration", - polymorphicDiscriminator: - FactoryRepoConfiguration.type.polymorphicDiscriminator, + className: "SelfHostedIntegrationRuntime", + uberParent: "IntegrationRuntime", + additionalProperties: { type: { name: "Object" } }, + polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, modelProperties: { - ...FactoryRepoConfiguration.type.modelProperties, - hostName: { - serializedName: "hostName", - type: { - name: "String" - } - }, - clientId: { - serializedName: "clientId", - type: { - name: "String" - } - }, - clientSecret: { - serializedName: "clientSecret", + ...IntegrationRuntime.type.modelProperties, + linkedInfo: { + serializedName: "typeProperties.linkedInfo", type: { name: "Composite", - className: "GitHubClientSecret" + className: "LinkedIntegrationRuntimeType" } } } @@ -7325,76 +7418,6 @@ export const CredentialResource: coreClient.CompositeMapper = { } }; -export const ManagedIntegrationRuntime: coreClient.CompositeMapper = { - serializedName: "Managed", - type: { - name: "Composite", - className: "ManagedIntegrationRuntime", - uberParent: "IntegrationRuntime", - additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, - modelProperties: { - ...IntegrationRuntime.type.modelProperties, - state: { - serializedName: "state", - readOnly: true, - type: { - name: "String" - } - }, - managedVirtualNetwork: { - serializedName: "managedVirtualNetwork", - type: { - name: "Composite", - className: "ManagedVirtualNetworkReference" - } - }, - computeProperties: { - serializedName: "typeProperties.computeProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeComputeProperties" - } - }, - ssisProperties: { - serializedName: "typeProperties.ssisProperties", - type: { - name: "Composite", - className: "IntegrationRuntimeSsisProperties" - } - }, - customerVirtualNetwork: { - serializedName: "typeProperties.customerVirtualNetwork", - type: { - name: "Composite", - className: "IntegrationRuntimeCustomerVirtualNetwork" - } - } - } - } -}; - -export const SelfHostedIntegrationRuntime: coreClient.CompositeMapper = { - serializedName: "SelfHosted", - type: { - name: "Composite", - className: "SelfHostedIntegrationRuntime", - uberParent: "IntegrationRuntime", - additionalProperties: { type: { name: "Object" } }, - polymorphicDiscriminator: IntegrationRuntime.type.polymorphicDiscriminator, - modelProperties: { - ...IntegrationRuntime.type.modelProperties, - linkedInfo: { - serializedName: "typeProperties.linkedInfo", - type: { - name: "Composite", - className: "LinkedIntegrationRuntimeType" - } - } - } - } -}; - export const ManagedIntegrationRuntimeStatus: coreClient.CompositeMapper = { serializedName: "Managed", type: { @@ -17694,7 +17717,6 @@ export const Flowlet: coreClient.CompositeMapper = { name: "Composite", className: "Flowlet", uberParent: "DataFlow", - additionalProperties: { type: { name: "Object" } }, polymorphicDiscriminator: DataFlow.type.polymorphicDiscriminator, modelProperties: { ...DataFlow.type.modelProperties, @@ -17750,13 +17772,6 @@ export const Flowlet: coreClient.CompositeMapper = { } } } - }, - additionalProperties: { - serializedName: "typeProperties.additionalProperties", - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } } } } @@ -17983,20 +17998,6 @@ export const DataFlowSource: coreClient.CompositeMapper = { className: "DataFlowSource", modelProperties: { ...Transformation.type.modelProperties, - dataset: { - serializedName: "dataset", - type: { - name: "Composite", - className: "DatasetReference" - } - }, - linkedService: { - serializedName: "linkedService", - type: { - name: "Composite", - className: "LinkedServiceReference" - } - }, schemaLinkedService: { serializedName: "schemaLinkedService", type: { @@ -18014,20 +18015,6 @@ export const DataFlowSink: coreClient.CompositeMapper = { className: "DataFlowSink", modelProperties: { ...Transformation.type.modelProperties, - dataset: { - serializedName: "dataset", - type: { - name: "Composite", - className: "DatasetReference" - } - }, - linkedService: { - serializedName: "linkedService", - type: { - name: "Composite", - className: "LinkedServiceReference" - } - }, schemaLinkedService: { serializedName: "schemaLinkedService", type: { @@ -19504,6 +19491,13 @@ export const FtpReadSettings: coreClient.CompositeMapper = { type: { name: "Boolean" } + }, + disableChunking: { + serializedName: "disableChunking", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } } } } @@ -19580,6 +19574,13 @@ export const SftpReadSettings: coreClient.CompositeMapper = { name: "Dictionary", value: { type: { name: "any" } } } + }, + disableChunking: { + serializedName: "disableChunking", + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } } } }