Skip to content

Commit 1a6fe3b

Browse files
author
SDKAuto
committed
CodeGen from PR 19518 in Azure/azure-rest-api-specs
Merge edc73e54b50c1e7957482a99b23bddd61c4d54da into 4efbcb5da33a5558d3fe71bfebaa3f304eab2df3
1 parent ee78a58 commit 1a6fe3b

File tree

8 files changed

+432
-121
lines changed

8 files changed

+432
-121
lines changed

sdk/datafactory/arm-datafactory/CHANGELOG.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Release History
2+
3+
## 10.7.0 (2022-06-20)
4+
5+
**Features**
26

3-
## 10.6.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added Type Alias SapOdpLinkedService
8+
- Added Type Alias SapOdpResourceDataset
9+
- Added Type Alias SapOdpSource
10+
- Added Type Alias Type
11+
- Added Enum KnownType
12+
13+
1314
## 10.6.0 (2022-06-07)
1415

1516
**Features**
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "18feac466ef3407c59f61c61275f9c25f9b1cf19",
2+
"commit": "6e3115cda4aaef4eb53807115115d9d832dcbf6e",
33
"readme": "specification/datafactory/resource-manager/readme.md",
4-
"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=/Users/zhangqiaoqiao/work/code/azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=../autorest.typescript --generate-sample=true",
4+
"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/typescript@6.0.0-alpha.19.20220425.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.1",
7-
"use": "../autorest.typescript"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.2",
7+
"use": "@autorest/[email protected]"
88
}

sdk/datafactory/arm-datafactory/package.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for DataFactoryManagementClient.",
6-
"version": "10.6.1",
6+
"version": "10.7.0",
77
"engines": {
88
"node": ">=12.0.0"
99
},
@@ -43,8 +43,6 @@
4343
"@azure-tools/test-recorder": "^2.0.0",
4444
"@azure-tools/test-credential": "^1.0.0",
4545
"mocha": "^7.1.1",
46-
"@types/chai": "^4.2.8",
47-
"chai": "^4.2.0",
4846
"cross-env": "^7.0.2",
4947
"@azure/dev-tool": "^1.0.0"
5048
},
@@ -110,13 +108,5 @@
110108
}
111109
]
112110
},
113-
"autoPublish": true,
114-
"//sampleConfiguration": {
115-
"productName": "",
116-
"productSlugs": [
117-
"azure"
118-
],
119-
"disableDocsMs": true,
120-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview"
121-
}
122-
}
111+
"autoPublish": true
112+
}

sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md

Lines changed: 56 additions & 8 deletions
Large diffs are not rendered by default.

sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
9494
credential: credentials
9595
};
9696

97-
const packageDetails = `azsdk-js-arm-datafactory/10.6.1`;
97+
const packageDetails = `azsdk-js-arm-datafactory/10.7.0`;
9898
const userAgentPrefix =
9999
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
100100
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`

sdk/datafactory/arm-datafactory/src/models/index.ts

Lines changed: 109 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export type LinkedServiceUnion =
7777
| SapCloudForCustomerLinkedService
7878
| SapEccLinkedService
7979
| SapOpenHubLinkedService
80+
| SapOdpLinkedService
8081
| RestServiceLinkedService
81-
| AmazonS3LinkedService
8282
| TeamDeskLinkedService
8383
| QuickbaseLinkedService
8484
| SmartsheetLinkedService
@@ -87,6 +87,7 @@ export type LinkedServiceUnion =
8787
| AppFiguresLinkedService
8888
| AsanaLinkedService
8989
| TwilioLinkedService
90+
| AmazonS3LinkedService
9091
| AmazonRedshiftLinkedService
9192
| CustomDataSourceLinkedService
9293
| AzureSearchLinkedService
@@ -194,6 +195,7 @@ export type DatasetUnion =
194195
| AmazonRdsForSqlServerTableDataset
195196
| RestResourceDataset
196197
| SapTableResourceDataset
198+
| SapOdpResourceDataset
197199
| WebTableDataset
198200
| AzureSearchIndexDataset
199201
| HttpDataset
@@ -491,6 +493,7 @@ export type TabularSourceUnion =
491493
| SapEccSource
492494
| SapHanaSource
493495
| SapOpenHubSource
496+
| SapOdpSource
494497
| SapTableSource
495498
| SqlSource
496499
| SqlServerSource
@@ -1234,7 +1237,7 @@ export interface LinkedServiceListResponse {
12341237
nextLink?: string;
12351238
}
12361239

1237-
/** The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. */
1240+
/** The nested object which contains the information and credential which can be used to connect with related store or compute resource. */
12381241
export interface LinkedService {
12391242
/** Polymorphic discriminator, which specifies the different types this object can be */
12401243
type:
@@ -1287,8 +1290,8 @@ export interface LinkedService {
12871290
| "SapCloudForCustomer"
12881291
| "SapEcc"
12891292
| "SapOpenHub"
1293+
| "SapOdp"
12901294
| "RestService"
1291-
| "AmazonS3"
12921295
| "TeamDesk"
12931296
| "Quickbase"
12941297
| "Smartsheet"
@@ -1297,6 +1300,7 @@ export interface LinkedService {
12971300
| "AppFigures"
12981301
| "Asana"
12991302
| "Twilio"
1303+
| "AmazonS3"
13001304
| "AmazonRedshift"
13011305
| "CustomDataSource"
13021306
| "AzureSearch"
@@ -1444,6 +1448,7 @@ export interface Dataset {
14441448
| "AmazonRdsForSqlServerTable"
14451449
| "RestResource"
14461450
| "SapTableResource"
1451+
| "SapOdpResource"
14471452
| "WebTable"
14481453
| "AzureSearchIndex"
14491454
| "HttpFile"
@@ -1506,7 +1511,7 @@ export interface Dataset {
15061511
/** Linked service reference type. */
15071512
export interface LinkedServiceReference {
15081513
/** Linked service reference type. */
1509-
type: "LinkedServiceReference";
1514+
type: Type;
15101515
/** Reference LinkedService name. */
15111516
referenceName: string;
15121517
/** Arguments for LinkedService. */
@@ -2972,6 +2977,7 @@ export interface CopySource {
29722977
| "SapEccSource"
29732978
| "SapHanaSource"
29742979
| "SapOpenHubSource"
2980+
| "SapOdpSource"
29752981
| "SapTableSource"
29762982
| "RestSource"
29772983
| "SqlSource"
@@ -4915,6 +4921,48 @@ export type SapOpenHubLinkedService = LinkedService & {
49154921
encryptedCredential?: any;
49164922
};
49174923

4924+
/** SAP ODP Linked Service. */
4925+
export type SapOdpLinkedService = LinkedService & {
4926+
/** Polymorphic discriminator, which specifies the different types this object can be */
4927+
type: "SapOdp";
4928+
/** Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). */
4929+
server?: any;
4930+
/** System number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). */
4931+
systemNumber?: any;
4932+
/** Client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). */
4933+
clientId?: any;
4934+
/** Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). */
4935+
language?: any;
4936+
/** SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). */
4937+
systemId?: any;
4938+
/** Username to access the SAP server where the table is located. Type: string (or Expression with resultType string). */
4939+
userName?: any;
4940+
/** Password to access the SAP server where the table is located. */
4941+
password?: SecretBaseUnion;
4942+
/** The hostname of the SAP Message Server. Type: string (or Expression with resultType string). */
4943+
messageServer?: any;
4944+
/** The service name or port number of the Message Server. Type: string (or Expression with resultType string). */
4945+
messageServerService?: any;
4946+
/** SNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). */
4947+
sncMode?: any;
4948+
/** Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */
4949+
sncMyName?: any;
4950+
/** Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */
4951+
sncPartnerName?: any;
4952+
/** External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). */
4953+
sncLibraryPath?: any;
4954+
/** SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). */
4955+
sncQop?: any;
4956+
/** SNC X509 certificate file path. Type: string (or Expression with resultType string). */
4957+
x509CertificatePath?: any;
4958+
/** The Logon Group for the SAP System. Type: string (or Expression with resultType string). */
4959+
logonGroup?: any;
4960+
/** The subscriber name. Type: string (or Expression with resultType string). */
4961+
subscriberName?: any;
4962+
/** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
4963+
encryptedCredential?: any;
4964+
};
4965+
49184966
/** Rest Service linked service. */
49194967
export type RestServiceLinkedService = LinkedService & {
49204968
/** Polymorphic discriminator, which specifies the different types this object can be */
@@ -4957,24 +5005,6 @@ export type RestServiceLinkedService = LinkedService & {
49575005
scope?: any;
49585006
};
49595007

4960-
/** Linked service for Amazon S3. */
4961-
export type AmazonS3LinkedService = LinkedService & {
4962-
/** Polymorphic discriminator, which specifies the different types this object can be */
4963-
type: "AmazonS3";
4964-
/** The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). */
4965-
authenticationType?: any;
4966-
/** The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */
4967-
accessKeyId?: any;
4968-
/** The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */
4969-
secretAccessKey?: SecretBaseUnion;
4970-
/** This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */
4971-
serviceUrl?: any;
4972-
/** The session token for the S3 temporary security credential. */
4973-
sessionToken?: SecretBaseUnion;
4974-
/** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
4975-
encryptedCredential?: any;
4976-
};
4977-
49785008
/** Linked service for TeamDesk. */
49795009
export type TeamDeskLinkedService = LinkedService & {
49805010
/** Polymorphic discriminator, which specifies the different types this object can be */
@@ -5075,6 +5105,24 @@ export type TwilioLinkedService = LinkedService & {
50755105
password: SecretBaseUnion;
50765106
};
50775107

5108+
/** Linked service for Amazon S3. */
5109+
export type AmazonS3LinkedService = LinkedService & {
5110+
/** Polymorphic discriminator, which specifies the different types this object can be */
5111+
type: "AmazonS3";
5112+
/** The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). */
5113+
authenticationType?: any;
5114+
/** The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */
5115+
accessKeyId?: any;
5116+
/** The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */
5117+
secretAccessKey?: SecretBaseUnion;
5118+
/** This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string). */
5119+
serviceUrl?: any;
5120+
/** The session token for the S3 temporary security credential. */
5121+
sessionToken?: SecretBaseUnion;
5122+
/** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
5123+
encryptedCredential?: any;
5124+
};
5125+
50785126
/** Linked service for Amazon Redshift. */
50795127
export type AmazonRedshiftLinkedService = LinkedService & {
50805128
/** Polymorphic discriminator, which specifies the different types this object can be */
@@ -6805,6 +6853,16 @@ export type SapTableResourceDataset = Dataset & {
68056853
tableName: any;
68066854
};
68076855

6856+
/** SAP ODP Resource properties. */
6857+
export type SapOdpResourceDataset = Dataset & {
6858+
/** Polymorphic discriminator, which specifies the different types this object can be */
6859+
type: "SapOdpResource";
6860+
/** The context of the SAP ODP Object. Type: string (or Expression with resultType string). */
6861+
context: any;
6862+
/** The name of the SAP ODP Object. Type: string (or Expression with resultType string). */
6863+
objectName: any;
6864+
};
6865+
68086866
/** The dataset points to a HTML table in the web page. */
68096867
export type WebTableDataset = Dataset & {
68106868
/** Polymorphic discriminator, which specifies the different types this object can be */
@@ -8306,6 +8364,7 @@ export type TabularSource = CopySource & {
83068364
| "SapEccSource"
83078365
| "SapHanaSource"
83088366
| "SapOpenHubSource"
8367+
| "SapOdpSource"
83098368
| "SapTableSource"
83108369
| "SqlSource"
83118370
| "SqlServerSource"
@@ -10033,6 +10092,20 @@ export type SapOpenHubSource = TabularSource & {
1003310092
sapDataColumnDelimiter?: any;
1003410093
};
1003510094

10095+
/** A copy activity source for SAP ODP source. */
10096+
export type SapOdpSource = TabularSource & {
10097+
/** Polymorphic discriminator, which specifies the different types this object can be */
10098+
type: "SapOdpSource";
10099+
/** The extraction mode. Allowed value include: Full, Delta and Recovery. The default value is Full. Type: string (or Expression with resultType string). */
10100+
extractionMode?: any;
10101+
/** The subscriber process to manage the delta process. Type: string (or Expression with resultType string). */
10102+
subscriberProcess?: any;
10103+
/** Specifies the selection conditions from source data. Type: array of objects(selection) (or Expression with resultType array of objects). */
10104+
selection?: any;
10105+
/** Specifies the columns to be selected from source data. Type: array of objects(projection) (or Expression with resultType array of objects). */
10106+
projection?: any;
10107+
};
10108+
1003610109
/** A copy activity source for SAP Table source. */
1003710110
export type SapTableSource = TabularSource & {
1003810111
/** Polymorphic discriminator, which specifies the different types this object can be */
@@ -10741,6 +10814,20 @@ export enum KnownParameterType {
1074110814
*/
1074210815
export type ParameterType = string;
1074310816

10817+
/** Known values of {@link Type} that the service accepts. */
10818+
export enum KnownType {
10819+
LinkedServiceReference = "LinkedServiceReference"
10820+
}
10821+
10822+
/**
10823+
* Defines values for Type. \
10824+
* {@link KnownType} can be used interchangeably with Type,
10825+
* this enum contains the known values that the service supports.
10826+
* ### Known values supported by the service
10827+
* **LinkedServiceReference**
10828+
*/
10829+
export type Type = string;
10830+
1074410831
/** Known values of {@link DependencyCondition} that the service accepts. */
1074510832
export enum KnownDependencyCondition {
1074610833
Succeeded = "Succeeded",

0 commit comments

Comments
 (0)