Skip to content

Commit

Permalink
CodeGen from PR 19455 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge d12feeb12cc76ed6a96588fda27774653868fb3f into aa42d66d5b919ea80c8dde04ae19d30a9c974d7d
  • Loading branch information
SDKAuto committed Jun 15, 2022
1 parent e78fe2d commit df7ebd6
Show file tree
Hide file tree
Showing 8 changed files with 432 additions and 121 deletions.
21 changes: 11 additions & 10 deletions sdk/datafactory/arm-datafactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Release History

## 10.7.0 (2022-06-15)

**Features**

## 10.6.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Type Alias SapOdpLinkedService
- Added Type Alias SapOdpResourceDataset
- Added Type Alias SapOdpSource
- Added Type Alias Type
- Added Enum KnownType


## 10.6.0 (2022-06-07)

**Features**
Expand Down
8 changes: 4 additions & 4 deletions sdk/datafactory/arm-datafactory/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "18feac466ef3407c59f61c61275f9c25f9b1cf19",
"commit": "1b797ff996b54955cb0064b1d73e1ef101c4e817",
"readme": "specification/datafactory/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/Users/zhangqiaoqiao/work/code/azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=../autorest.typescript --generate-sample=true",
"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",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.1",
"use": "../autorest.typescript"
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.2",
"use": "@autorest/typescript@6.0.0-alpha.19.20220425.1"
}
16 changes: 3 additions & 13 deletions sdk/datafactory/arm-datafactory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DataFactoryManagementClient.",
"version": "10.6.1",
"version": "10.7.0",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -43,8 +43,6 @@
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
Expand Down Expand Up @@ -110,13 +108,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview"
}
}
"autoPublish": true
}
64 changes: 56 additions & 8 deletions sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class DataFactoryManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-datafactory/10.6.1`;
const packageDetails = `azsdk-js-arm-datafactory/10.7.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
131 changes: 109 additions & 22 deletions sdk/datafactory/arm-datafactory/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export type LinkedServiceUnion =
| SapCloudForCustomerLinkedService
| SapEccLinkedService
| SapOpenHubLinkedService
| SapOdpLinkedService
| RestServiceLinkedService
| AmazonS3LinkedService
| TeamDeskLinkedService
| QuickbaseLinkedService
| SmartsheetLinkedService
Expand All @@ -87,6 +87,7 @@ export type LinkedServiceUnion =
| AppFiguresLinkedService
| AsanaLinkedService
| TwilioLinkedService
| AmazonS3LinkedService
| AmazonRedshiftLinkedService
| CustomDataSourceLinkedService
| AzureSearchLinkedService
Expand Down Expand Up @@ -194,6 +195,7 @@ export type DatasetUnion =
| AmazonRdsForSqlServerTableDataset
| RestResourceDataset
| SapTableResourceDataset
| SapOdpResourceDataset
| WebTableDataset
| AzureSearchIndexDataset
| HttpDataset
Expand Down Expand Up @@ -491,6 +493,7 @@ export type TabularSourceUnion =
| SapEccSource
| SapHanaSource
| SapOpenHubSource
| SapOdpSource
| SapTableSource
| SqlSource
| SqlServerSource
Expand Down Expand Up @@ -1234,7 +1237,7 @@ export interface LinkedServiceListResponse {
nextLink?: string;
}

/** The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource. */
/** The nested object which contains the information and credential which can be used to connect with related store or compute resource. */
export interface LinkedService {
/** Polymorphic discriminator, which specifies the different types this object can be */
type:
Expand Down Expand Up @@ -1287,8 +1290,8 @@ export interface LinkedService {
| "SapCloudForCustomer"
| "SapEcc"
| "SapOpenHub"
| "SapOdp"
| "RestService"
| "AmazonS3"
| "TeamDesk"
| "Quickbase"
| "Smartsheet"
Expand All @@ -1297,6 +1300,7 @@ export interface LinkedService {
| "AppFigures"
| "Asana"
| "Twilio"
| "AmazonS3"
| "AmazonRedshift"
| "CustomDataSource"
| "AzureSearch"
Expand Down Expand Up @@ -1444,6 +1448,7 @@ export interface Dataset {
| "AmazonRdsForSqlServerTable"
| "RestResource"
| "SapTableResource"
| "SapOdpResource"
| "WebTable"
| "AzureSearchIndex"
| "HttpFile"
Expand Down Expand Up @@ -1506,7 +1511,7 @@ export interface Dataset {
/** Linked service reference type. */
export interface LinkedServiceReference {
/** Linked service reference type. */
type: "LinkedServiceReference";
type: Type;
/** Reference LinkedService name. */
referenceName: string;
/** Arguments for LinkedService. */
Expand Down Expand Up @@ -2972,6 +2977,7 @@ export interface CopySource {
| "SapEccSource"
| "SapHanaSource"
| "SapOpenHubSource"
| "SapOdpSource"
| "SapTableSource"
| "RestSource"
| "SqlSource"
Expand Down Expand Up @@ -4915,6 +4921,48 @@ export type SapOpenHubLinkedService = LinkedService & {
encryptedCredential?: any;
};

/** SAP ODP Linked Service. */
export type SapOdpLinkedService = LinkedService & {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "SapOdp";
/** Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). */
server?: any;
/** 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). */
systemNumber?: any;
/** 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). */
clientId?: any;
/** Language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). */
language?: any;
/** SystemID of the SAP system where the table is located. Type: string (or Expression with resultType string). */
systemId?: any;
/** Username to access the SAP server where the table is located. Type: string (or Expression with resultType string). */
userName?: any;
/** Password to access the SAP server where the table is located. */
password?: SecretBaseUnion;
/** The hostname of the SAP Message Server. Type: string (or Expression with resultType string). */
messageServer?: any;
/** The service name or port number of the Message Server. Type: string (or Expression with resultType string). */
messageServerService?: any;
/** 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). */
sncMode?: any;
/** Initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */
sncMyName?: any;
/** Communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). */
sncPartnerName?: any;
/** External security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). */
sncLibraryPath?: any;
/** SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). */
sncQop?: any;
/** SNC X509 certificate file path. Type: string (or Expression with resultType string). */
x509CertificatePath?: any;
/** The Logon Group for the SAP System. Type: string (or Expression with resultType string). */
logonGroup?: any;
/** The subscriber name. Type: string (or Expression with resultType string). */
subscriberName?: any;
/** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
encryptedCredential?: any;
};

/** Rest Service linked service. */
export type RestServiceLinkedService = LinkedService & {
/** Polymorphic discriminator, which specifies the different types this object can be */
Expand Down Expand Up @@ -4957,24 +5005,6 @@ export type RestServiceLinkedService = LinkedService & {
scope?: any;
};

/** Linked service for Amazon S3. */
export type AmazonS3LinkedService = LinkedService & {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "AmazonS3";
/** The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). */
authenticationType?: any;
/** The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */
accessKeyId?: any;
/** The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */
secretAccessKey?: SecretBaseUnion;
/** 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). */
serviceUrl?: any;
/** The session token for the S3 temporary security credential. */
sessionToken?: SecretBaseUnion;
/** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
encryptedCredential?: any;
};

/** Linked service for TeamDesk. */
export type TeamDeskLinkedService = LinkedService & {
/** Polymorphic discriminator, which specifies the different types this object can be */
Expand Down Expand Up @@ -5075,6 +5105,24 @@ export type TwilioLinkedService = LinkedService & {
password: SecretBaseUnion;
};

/** Linked service for Amazon S3. */
export type AmazonS3LinkedService = LinkedService & {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "AmazonS3";
/** The authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). */
authenticationType?: any;
/** The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). */
accessKeyId?: any;
/** The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */
secretAccessKey?: SecretBaseUnion;
/** 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). */
serviceUrl?: any;
/** The session token for the S3 temporary security credential. */
sessionToken?: SecretBaseUnion;
/** The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). */
encryptedCredential?: any;
};

/** Linked service for Amazon Redshift. */
export type AmazonRedshiftLinkedService = LinkedService & {
/** Polymorphic discriminator, which specifies the different types this object can be */
Expand Down Expand Up @@ -6805,6 +6853,16 @@ export type SapTableResourceDataset = Dataset & {
tableName: any;
};

/** SAP ODP Resource properties. */
export type SapOdpResourceDataset = Dataset & {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "SapOdpResource";
/** The context of the SAP ODP Object. Type: string (or Expression with resultType string). */
context: any;
/** The name of the SAP ODP Object. Type: string (or Expression with resultType string). */
objectName: any;
};

/** The dataset points to a HTML table in the web page. */
export type WebTableDataset = Dataset & {
/** Polymorphic discriminator, which specifies the different types this object can be */
Expand Down Expand Up @@ -8306,6 +8364,7 @@ export type TabularSource = CopySource & {
| "SapEccSource"
| "SapHanaSource"
| "SapOpenHubSource"
| "SapOdpSource"
| "SapTableSource"
| "SqlSource"
| "SqlServerSource"
Expand Down Expand Up @@ -10033,6 +10092,20 @@ export type SapOpenHubSource = TabularSource & {
sapDataColumnDelimiter?: any;
};

/** A copy activity source for SAP ODP source. */
export type SapOdpSource = TabularSource & {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "SapOdpSource";
/** The extraction mode. Allowed value include: Full, Delta and Recovery. The default value is Full. Type: string (or Expression with resultType string). */
extractionMode?: any;
/** The subscriber process to manage the delta process. Type: string (or Expression with resultType string). */
subscriberProcess?: any;
/** Specifies the selection conditions from source data. Type: array of objects(selection) (or Expression with resultType array of objects). */
selection?: any;
/** Specifies the columns to be selected from source data. Type: array of objects(projection) (or Expression with resultType array of objects). */
projection?: any;
};

/** A copy activity source for SAP Table source. */
export type SapTableSource = TabularSource & {
/** Polymorphic discriminator, which specifies the different types this object can be */
Expand Down Expand Up @@ -10741,6 +10814,20 @@ export enum KnownParameterType {
*/
export type ParameterType = string;

/** Known values of {@link Type} that the service accepts. */
export enum KnownType {
LinkedServiceReference = "LinkedServiceReference"
}

/**
* Defines values for Type. \
* {@link KnownType} can be used interchangeably with Type,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **LinkedServiceReference**
*/
export type Type = string;

/** Known values of {@link DependencyCondition} that the service accepts. */
export enum KnownDependencyCondition {
Succeeded = "Succeeded",
Expand Down
Loading

0 comments on commit df7ebd6

Please sign in to comment.