diff --git a/sdk/datafactory/arm-datafactory/CHANGELOG.md b/sdk/datafactory/arm-datafactory/CHANGELOG.md
index c7d216d2593b..228e4b6b3899 100644
--- a/sdk/datafactory/arm-datafactory/CHANGELOG.md
+++ b/sdk/datafactory/arm-datafactory/CHANGELOG.md
@@ -1,44 +1,11 @@
-## Release History
-
-### 10.0.0-beta.2 (Unreleased)
-
-#### Features Added
-
-#### Breaking Changes
-
-#### Bugs Fixed
-
-#### Other Changes
-
-### 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
+# Release History
-### 9.0.0-beta.1 (2021-11-10)
+## 10.0.0 (2021-12-14)
-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.
+The package of @azure/arm-datafactory is using our next generation design principles since version 10.0.0, which contains breaking changes.
-While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
+To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
-Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.
+To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
-**Noteworthy changes and features**
-- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
-- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
-- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
-- Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
-- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
+To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
diff --git a/sdk/datafactory/arm-datafactory/README.md b/sdk/datafactory/arm-datafactory/README.md
index ebc8e47d01d4..8160aa493534 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?view=azure-node-preview) |
+[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-datafactory) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
## Getting started
diff --git a/sdk/datafactory/arm-datafactory/_meta.json b/sdk/datafactory/arm-datafactory/_meta.json
index f9017f9761c7..3d020f51e9ea 100644
--- a/sdk/datafactory/arm-datafactory/_meta.json
+++ b/sdk/datafactory/arm-datafactory/_meta.json
@@ -1,7 +1,7 @@
{
- "commit": "b81af692dbb8395672116d85805cbc9ad1432f3b",
+ "commit": "91c198e26991291a67ecb3aab163b255746d0b58",
"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-alpha.15.20211116.1",
+ "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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
- "use": "@autorest/typescript@6.0.0-alpha.15.20211116.1"
+ "use": "@autorest/typescript@6.0.0-alpha.16.20211130.1"
}
\ No newline at end of file
diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json
index 4f410287e4ad..222bb40b3d1a 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": "10.0.0-beta.2",
- "engines": {
- "node": ">=12.0.0"
- },
+ "version": "10.0.0",
+ "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",
@@ -49,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",
diff --git a/sdk/datafactory/arm-datafactory/recordings/node/my_test/recording_sample_test.js b/sdk/datafactory/arm-datafactory/recordings/node/my_test/recording_sample_test.js
deleted file mode 100644
index 0f6ecb857acf..000000000000
--- a/sdk/datafactory/arm-datafactory/recordings/node/my_test/recording_sample_test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-let nock = require('nock');
-
-module.exports.hash = "7a6be38bb8cb644d64b4094802301751";
-
-module.exports.testInfo = {"uniqueName":{},"newDate":{}}
diff --git a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md
index d85797d30138..088e087cd8fd 100644
--- a/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md
+++ b/sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md
@@ -1568,11 +1568,15 @@ export type DatabricksSparkPythonActivity = ExecutionActivity & {
};
// @public (undocumented)
-export class DataFactoryManagementClient extends DataFactoryManagementClientContext {
+export class DataFactoryManagementClient extends coreClient.ServiceClient {
+ // (undocumented)
+ $host: string;
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataFactoryManagementClientOptionalParams);
// (undocumented)
activityRuns: ActivityRuns;
// (undocumented)
+ apiVersion: string;
+ // (undocumented)
dataFlowDebugSession: DataFlowDebugSession;
// (undocumented)
dataFlows: DataFlows;
@@ -1607,22 +1611,13 @@ export class DataFactoryManagementClient extends DataFactoryManagementClientCont
// (undocumented)
privateLinkResources: PrivateLinkResources;
// (undocumented)
+ subscriptionId: string;
+ // (undocumented)
triggerRuns: TriggerRuns;
// (undocumented)
triggers: Triggers;
}
-// @public (undocumented)
-export class DataFactoryManagementClientContext extends coreClient.ServiceClient {
- // (undocumented)
- $host: string;
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataFactoryManagementClientOptionalParams);
- // (undocumented)
- apiVersion: string;
- // (undocumented)
- subscriptionId: string;
-}
-
// @public
export interface DataFactoryManagementClientOptionalParams extends coreClient.ServiceClientOptions {
$host?: string;
diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts
index c6a6319e31ca..b75a89ead10a 100644
--- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts
+++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts
@@ -6,6 +6,7 @@
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
+import * as coreClient from "@azure/core-client";
import * as coreAuth from "@azure/core-auth";
import {
OperationsImpl,
@@ -51,10 +52,13 @@ import {
PrivateEndpointConnection,
PrivateLinkResources
} from "./operationsInterfaces";
-import { DataFactoryManagementClientContext } from "./dataFactoryManagementClientContext";
import { DataFactoryManagementClientOptionalParams } from "./models";
-export class DataFactoryManagementClient extends DataFactoryManagementClientContext {
+export class DataFactoryManagementClient extends coreClient.ServiceClient {
+ $host: string;
+ apiVersion: string;
+ subscriptionId: string;
+
/**
* Initializes a new instance of the DataFactoryManagementClient class.
* @param credentials Subscription credentials which uniquely identify client subscription.
@@ -66,7 +70,46 @@ export class DataFactoryManagementClient extends DataFactoryManagementClientCont
subscriptionId: string,
options?: DataFactoryManagementClientOptionalParams
) {
- super(credentials, subscriptionId, options);
+ if (credentials === undefined) {
+ throw new Error("'credentials' cannot be null");
+ }
+ if (subscriptionId === undefined) {
+ throw new Error("'subscriptionId' cannot be null");
+ }
+
+ // Initializing default values for options
+ if (!options) {
+ options = {};
+ }
+ const defaults: DataFactoryManagementClientOptionalParams = {
+ requestContentType: "application/json; charset=utf-8",
+ credential: credentials
+ };
+
+ const packageDetails = `azsdk-js-arm-datafactory/10.0.0`;
+ const userAgentPrefix =
+ options.userAgentOptions && options.userAgentOptions.userAgentPrefix
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
+ : `${packageDetails}`;
+
+ if (!options.credentialScopes) {
+ options.credentialScopes = ["https://management.azure.com/.default"];
+ }
+ const optionsWithDefaults = {
+ ...defaults,
+ ...options,
+ userAgentOptions: {
+ userAgentPrefix
+ },
+ baseUri: options.endpoint || "https://management.azure.com"
+ };
+ super(optionsWithDefaults);
+ // Parameter assignments
+ this.subscriptionId = subscriptionId;
+
+ // Assigning values to Constant parameters
+ this.$host = options.$host || "https://management.azure.com";
+ this.apiVersion = options.apiVersion || "2018-06-01";
this.operations = new OperationsImpl(this);
this.factories = new FactoriesImpl(this);
this.exposureControl = new ExposureControlImpl(this);
diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts
deleted file mode 100644
index 3124fd81eb2f..000000000000
--- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClientContext.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * 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 * as coreClient from "@azure/core-client";
-import * as coreAuth from "@azure/core-auth";
-import { DataFactoryManagementClientOptionalParams } from "./models";
-
-export class DataFactoryManagementClientContext extends coreClient.ServiceClient {
- $host: string;
- apiVersion: string;
- subscriptionId: string;
-
- /**
- * Initializes a new instance of the DataFactoryManagementClientContext class.
- * @param credentials Subscription credentials which uniquely identify client subscription.
- * @param subscriptionId The subscription identifier.
- * @param options The parameter options
- */
- constructor(
- credentials: coreAuth.TokenCredential,
- subscriptionId: string,
- options?: DataFactoryManagementClientOptionalParams
- ) {
- if (credentials === undefined) {
- throw new Error("'credentials' cannot be null");
- }
- if (subscriptionId === undefined) {
- throw new Error("'subscriptionId' cannot be null");
- }
-
- // Initializing default values for options
- if (!options) {
- options = {};
- }
- const defaults: DataFactoryManagementClientOptionalParams = {
- requestContentType: "application/json; charset=utf-8",
- credential: credentials
- };
-
- const packageDetails = `azsdk-js-arm-datafactory/10.0.0-beta.1`;
- const userAgentPrefix =
- options.userAgentOptions && options.userAgentOptions.userAgentPrefix
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
- : `${packageDetails}`;
-
- if (!options.credentialScopes) {
- options.credentialScopes = ["https://management.azure.com/.default"];
- }
- const optionsWithDefaults = {
- ...defaults,
- ...options,
- userAgentOptions: {
- userAgentPrefix
- },
- baseUri: options.endpoint || "https://management.azure.com"
- };
- super(optionsWithDefaults);
- // Parameter assignments
- this.subscriptionId = subscriptionId;
-
- // Assigning values to Constant parameters
- this.$host = options.$host || "https://management.azure.com";
- this.apiVersion = options.apiVersion || "2018-06-01";
- }
-}
diff --git a/sdk/datafactory/arm-datafactory/src/index.ts b/sdk/datafactory/arm-datafactory/src/index.ts
index 7f56fb7692ba..75f07ca41d3f 100644
--- a/sdk/datafactory/arm-datafactory/src/index.ts
+++ b/sdk/datafactory/arm-datafactory/src/index.ts
@@ -9,5 +9,4 @@
///
export * from "./models";
export { DataFactoryManagementClient } from "./dataFactoryManagementClient";
-export { DataFactoryManagementClientContext } from "./dataFactoryManagementClientContext";
export * from "./operationsInterfaces";
diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts
index 5d25c6f72d86..9cb74d5b6e97 100644
--- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts
+++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts
@@ -2854,6 +2854,7 @@ export const DataFlow: coreClient.CompositeMapper = {
modelProperties: {
type: {
serializedName: "type",
+ required: true,
type: {
name: "String"
}
@@ -3393,11 +3394,9 @@ export const ManagedVirtualNetworkListResponse: coreClient.CompositeMapper = {
};
export const ManagedVirtualNetwork: coreClient.CompositeMapper = {
- serializedName: "ManagedVirtualNetwork",
type: {
name: "Composite",
className: "ManagedVirtualNetwork",
- uberParent: "ManagedVirtualNetwork",
additionalProperties: { type: { name: "Object" } },
modelProperties: {
vNetId: {
@@ -3417,8 +3416,6 @@ export const ManagedVirtualNetwork: coreClient.CompositeMapper = {
}
}
};
-ManagedVirtualNetwork.type.polymorphicDiscriminator =
- ManagedVirtualNetwork.type.polymorphicDiscriminator;
export const ManagedPrivateEndpointListResponse: coreClient.CompositeMapper = {
type: {
@@ -3449,11 +3446,9 @@ export const ManagedPrivateEndpointListResponse: coreClient.CompositeMapper = {
};
export const ManagedPrivateEndpoint: coreClient.CompositeMapper = {
- serializedName: "ManagedPrivateEndpoint",
type: {
name: "Composite",
className: "ManagedPrivateEndpoint",
- uberParent: "ManagedPrivateEndpoint",
additionalProperties: { type: { name: "Object" } },
modelProperties: {
connectionState: {
@@ -3503,8 +3498,6 @@ export const ManagedPrivateEndpoint: coreClient.CompositeMapper = {
}
}
};
-ManagedPrivateEndpoint.type.polymorphicDiscriminator =
- ManagedPrivateEndpoint.type.polymorphicDiscriminator;
export const ConnectionStateProperties: coreClient.CompositeMapper = {
type: {
@@ -26906,8 +26899,6 @@ export let discriminators = {
Activity: Activity,
Trigger: Trigger,
DataFlow: DataFlow,
- "ManagedVirtualNetwork.ManagedVirtualNetwork": ManagedVirtualNetwork,
- "ManagedPrivateEndpoint.ManagedPrivateEndpoint": ManagedPrivateEndpoint,
SecretBase: SecretBase,
Credential: Credential,
DatasetLocation: DatasetLocation,
diff --git a/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts
index 4734fb533a49..3c99ac4897d0 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/activityRuns.ts
@@ -10,7 +10,7 @@ import { ActivityRuns } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
RunFilterParameters,
ActivityRunsQueryByPipelineRunOptionalParams,
@@ -19,13 +19,13 @@ import {
/** Class containing ActivityRuns operations. */
export class ActivityRunsImpl implements ActivityRuns {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class ActivityRuns class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts
index 5d1ae26b0c43..031a1fbe3020 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/dataFlowDebugSession.ts
@@ -11,7 +11,7 @@ import { DataFlowDebugSession } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
import { LroImpl } from "../lroImpl";
import {
@@ -36,13 +36,13 @@ import {
///
/** Class containing DataFlowDebugSession operations. */
export class DataFlowDebugSessionImpl implements DataFlowDebugSession {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class DataFlowDebugSession class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts b/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts
index 9863dc42cd7a..321c7ae8549b 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/dataFlows.ts
@@ -11,7 +11,7 @@ import { DataFlows } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
DataFlowResource,
DataFlowsListByFactoryNextOptionalParams,
@@ -28,13 +28,13 @@ import {
///
/** Class containing DataFlows operations. */
export class DataFlowsImpl implements DataFlows {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class DataFlows class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/datasets.ts b/sdk/datafactory/arm-datafactory/src/operations/datasets.ts
index 399883c22d17..78bb9dd91304 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/datasets.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/datasets.ts
@@ -11,7 +11,7 @@ import { Datasets } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
DatasetResource,
DatasetsListByFactoryNextOptionalParams,
@@ -28,13 +28,13 @@ import {
///
/** Class containing Datasets operations. */
export class DatasetsImpl implements Datasets {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class Datasets class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts b/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts
index de27dfcd2faf..620feab635cc 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/exposureControl.ts
@@ -10,7 +10,7 @@ import { ExposureControl } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
ExposureControlRequest,
ExposureControlGetFeatureValueOptionalParams,
@@ -24,13 +24,13 @@ import {
/** Class containing ExposureControl operations. */
export class ExposureControlImpl implements ExposureControl {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class ExposureControl class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/factories.ts b/sdk/datafactory/arm-datafactory/src/operations/factories.ts
index cd26ede86919..c8a2ffd3c3e9 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/factories.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/factories.ts
@@ -11,7 +11,7 @@ import { Factories } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
Factory,
FactoriesListNextOptionalParams,
@@ -44,13 +44,13 @@ import {
///
/** Class containing Factories operations. */
export class FactoriesImpl implements Factories {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class Factories class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts
index d5b99ef8bdab..7f3fcd5d4127 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeNodes.ts
@@ -10,7 +10,7 @@ import { IntegrationRuntimeNodes } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
IntegrationRuntimeNodesGetOptionalParams,
IntegrationRuntimeNodesGetResponse,
@@ -24,13 +24,13 @@ import {
/** Class containing IntegrationRuntimeNodes operations. */
export class IntegrationRuntimeNodesImpl implements IntegrationRuntimeNodes {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class IntegrationRuntimeNodes class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts
index 6f2a585593da..81b725b9ede4 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimeObjectMetadata.ts
@@ -10,7 +10,7 @@ import { IntegrationRuntimeObjectMetadata } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
import { LroImpl } from "../lroImpl";
import {
@@ -23,13 +23,13 @@ import {
/** Class containing IntegrationRuntimeObjectMetadata operations. */
export class IntegrationRuntimeObjectMetadataImpl
implements IntegrationRuntimeObjectMetadata {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class IntegrationRuntimeObjectMetadata class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts
index 187aa3d0d969..aba3dc350750 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/integrationRuntimes.ts
@@ -11,7 +11,7 @@ import { IntegrationRuntimes } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
import { LroImpl } from "../lroImpl";
import {
@@ -56,13 +56,13 @@ import {
///
/** Class containing IntegrationRuntimes operations. */
export class IntegrationRuntimesImpl implements IntegrationRuntimes {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class IntegrationRuntimes class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts b/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts
index 6a55bf96dd63..6c7b76fc8873 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/linkedServices.ts
@@ -11,7 +11,7 @@ import { LinkedServices } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
LinkedServiceResource,
LinkedServicesListByFactoryNextOptionalParams,
@@ -28,13 +28,13 @@ import {
///
/** Class containing LinkedServices operations. */
export class LinkedServicesImpl implements LinkedServices {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class LinkedServices class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts b/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts
index 9c67b4656514..8daf36b8d158 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/managedPrivateEndpoints.ts
@@ -11,7 +11,7 @@ import { ManagedPrivateEndpoints } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
ManagedPrivateEndpointResource,
ManagedPrivateEndpointsListByFactoryNextOptionalParams,
@@ -28,13 +28,13 @@ import {
///
/** Class containing ManagedPrivateEndpoints operations. */
export class ManagedPrivateEndpointsImpl implements ManagedPrivateEndpoints {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class ManagedPrivateEndpoints class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts b/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts
index 0863b34cd1cf..4172068eade2 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/managedVirtualNetworks.ts
@@ -11,7 +11,7 @@ import { ManagedVirtualNetworks } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
ManagedVirtualNetworkResource,
ManagedVirtualNetworksListByFactoryNextOptionalParams,
@@ -27,13 +27,13 @@ import {
///
/** Class containing ManagedVirtualNetworks operations. */
export class ManagedVirtualNetworksImpl implements ManagedVirtualNetworks {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class ManagedVirtualNetworks class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/operations.ts b/sdk/datafactory/arm-datafactory/src/operations/operations.ts
index 3223b2dabbcf..e0681b3a32aa 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/operations.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/operations.ts
@@ -11,7 +11,7 @@ import { Operations } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
Operation,
OperationsListNextOptionalParams,
@@ -23,13 +23,13 @@ import {
///
/** Class containing Operations operations. */
export class OperationsImpl implements Operations {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class Operations class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts
index f6c1f3399a40..30a026cd3a2d 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/pipelineRuns.ts
@@ -10,7 +10,7 @@ import { PipelineRuns } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
RunFilterParameters,
PipelineRunsQueryByFactoryOptionalParams,
@@ -22,13 +22,13 @@ import {
/** Class containing PipelineRuns operations. */
export class PipelineRunsImpl implements PipelineRuns {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class PipelineRuns class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts b/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts
index 75786be5d7bc..c6d5deb20cca 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts
@@ -11,7 +11,7 @@ import { Pipelines } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
PipelineResource,
PipelinesListByFactoryNextOptionalParams,
@@ -30,13 +30,13 @@ import {
///
/** Class containing Pipelines operations. */
export class PipelinesImpl implements Pipelines {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class Pipelines class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts b/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts
index 78ce52c023ed..4c8348c9917e 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/privateEndPointConnections.ts
@@ -11,7 +11,7 @@ import { PrivateEndPointConnections } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
PrivateEndpointConnectionResource,
PrivateEndPointConnectionsListByFactoryNextOptionalParams,
@@ -24,13 +24,13 @@ import {
/** Class containing PrivateEndPointConnections operations. */
export class PrivateEndPointConnectionsImpl
implements PrivateEndPointConnections {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class PrivateEndPointConnections class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts b/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts
index 2e96eb7c9172..32390e5b52fd 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/privateEndpointConnection.ts
@@ -10,7 +10,7 @@ import { PrivateEndpointConnection } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
PrivateLinkConnectionApprovalRequestResource,
PrivateEndpointConnectionCreateOrUpdateOptionalParams,
@@ -23,13 +23,13 @@ import {
/** Class containing PrivateEndpointConnection operations. */
export class PrivateEndpointConnectionImpl
implements PrivateEndpointConnection {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class PrivateEndpointConnection class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/privateLinkResources.ts b/sdk/datafactory/arm-datafactory/src/operations/privateLinkResources.ts
index 83c87e143858..8db9d2c73707 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/privateLinkResources.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/privateLinkResources.ts
@@ -10,7 +10,7 @@ import { PrivateLinkResources } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
PrivateLinkResourcesGetOptionalParams,
PrivateLinkResourcesGetResponse
@@ -18,13 +18,13 @@ import {
/** Class containing PrivateLinkResources operations. */
export class PrivateLinkResourcesImpl implements PrivateLinkResources {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class PrivateLinkResources class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts b/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts
index d3be7460912c..cedcfcf8a01c 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/triggerRuns.ts
@@ -10,7 +10,7 @@ import { TriggerRuns } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import {
TriggerRunsRerunOptionalParams,
TriggerRunsCancelOptionalParams,
@@ -21,13 +21,13 @@ import {
/** Class containing TriggerRuns operations. */
export class TriggerRunsImpl implements TriggerRuns {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class TriggerRuns class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}
diff --git a/sdk/datafactory/arm-datafactory/src/operations/triggers.ts b/sdk/datafactory/arm-datafactory/src/operations/triggers.ts
index 344df0709f07..c17e310af847 100644
--- a/sdk/datafactory/arm-datafactory/src/operations/triggers.ts
+++ b/sdk/datafactory/arm-datafactory/src/operations/triggers.ts
@@ -11,7 +11,7 @@ import { Triggers } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
-import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext";
+import { DataFactoryManagementClient } from "../dataFactoryManagementClient";
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
import { LroImpl } from "../lroImpl";
import {
@@ -41,13 +41,13 @@ import {
///
/** Class containing Triggers operations. */
export class TriggersImpl implements Triggers {
- private readonly client: DataFactoryManagementClientContext;
+ private readonly client: DataFactoryManagementClient;
/**
* Initialize a new instance of the class Triggers class.
* @param client Reference to the service client
*/
- constructor(client: DataFactoryManagementClientContext) {
+ constructor(client: DataFactoryManagementClient) {
this.client = client;
}