Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR datafactory/resource-manager] DataFactory Swagger Change for SapOpenHub and Rest #4700

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
171 changes: 171 additions & 0 deletions lib/services/datafactoryManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3478,6 +3478,97 @@ export interface AmazonS3LinkedService extends LinkedService {
encryptedCredential?: any;
}

/**
* Rest Service linked service.
*/
export interface RestServiceLinkedService extends LinkedService {
/**
* The base URL of the REST service.
*/
url: any;
/**
* Whether to validate server side SSL certificate when connecting to the endpoint.The default
* value is true. Type: boolean (or Expression with resultType boolean).
*/
enableServerCertificateValidation?: any;
/**
* Type of authentication used to connect to the REST service. Possible values include:
* 'Anonymous', 'Basic', 'AadServicePrincipal', 'ManagedServiceIdentity'
*/
authenticationType: string;
/**
* The user name used in Basic authentication type.
*/
userName?: any;
/**
* The password used in Basic authentication type.
*/
password?: SecretBase;
/**
* The application's client ID used in AadServicePrincipal authentication type.
*/
servicePrincipalId?: any;
/**
* The application's key used in AadServicePrincipal authentication type.
*/
servicePrincipalKey?: SecretBase;
/**
* The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication
* type under which your application resides.
*/
tenant?: any;
/**
* The resource you are requesting authorization to use.
*/
aadResourceId?: 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;
}

/**
* SAP Business Warehouse Open Hub Destination Linked Service.
*/
export interface SapOpenHubLinkedService extends LinkedService {
/**
* Host name of the SAP BW instance where the open hub destination is located. Type: string (or
* Expression with resultType string).
*/
server: any;
/**
* System number of the BW system where the open hub destination 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 BW system where the open hub destination is located. (Usually a
* three-digit decimal number represented as a string) Type: string (or Expression with
* resultType string).
*/
clientId: any;
/**
* Language of the BW system where the open hub destination is located. The default value is EN.
* Type: string (or Expression with resultType string).
*/
language?: any;
/**
* Username to access the SAP BW server where the open hub destination is located. Type: string
* (or Expression with resultType string).
*/
userName?: any;
/**
* Password to access the SAP BW server where the open hub destination is located.
*/
password?: SecretBase;
/**
* 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 SAP ERP Central Component(SAP ECC).
*/
Expand Down Expand Up @@ -4959,6 +5050,37 @@ export interface WebTableDataset extends Dataset {
path?: any;
}

/**
* A Rest service dataset.
*/
export interface RestResourceDataset extends Dataset {
/**
* The relative URL to the resource that the RESTful API provides. Type: string (or Expression
* with resultType string).
*/
relativeUrl?: any;
/**
* The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression
* with resultType string).
*/
requestMethod?: any;
/**
* The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression
* with resultType string).
*/
requestBody?: any;
/**
* The additional HTTP headers in the request to the RESTful API. Type: string (or Expression
* with resultType string).
*/
additionalHeaders?: any;
/**
* The pagination rules to compose next page requests. Type: string (or Expression with
* resultType string).
*/
paginationRules?: any;
}

/**
* The on-premises SQL Server dataset.
*/
Expand All @@ -4969,6 +5091,28 @@ export interface SqlServerTableDataset extends Dataset {
tableName: any;
}

/**
* Sap Business Warehouse Open Hub Destination Table properties.
*/
export interface SapOpenHubTableDataset extends Dataset {
/**
* The name of the Open Hub Destination with destination type as Database Table. Type: string (or
* Expression with resultType string).
*/
openHubDestinationName: any;
/**
* Whether to exclude the records of the last request. The default value is true. Type: boolean
* (or Expression with resultType boolean).
*/
excludeLastRequest?: any;
/**
* The ID of request for delta loading. Once it is set, only data with requestId larger than the
* value of this property will be retrieved. The default value is 0. Type: integer (or Expression
* with resultType integer ).
*/
baseRequestId?: any;
}

/**
* The path of the SAP ECC OData entity.
*/
Expand Down Expand Up @@ -6092,6 +6236,28 @@ export interface SqlSource extends CopySource {
storedProcedureParameters?: { [propertyName: string]: StoredProcedureParameter };
}

/**
* A copy activity Rest service source.
*/
export interface RestSource extends CopySource {
/**
* The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the
* timeout to read response data. Default value: 00:01:40. Type: string (or Expression with
* resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
*/
httpRequestTimeout?: any;
/**
* The time to await before sending next page request.
*/
requestInterval?: any;
}

/**
* A copy activity source for SAP Business Warehouse Open Hub Destination source.
*/
export interface SapOpenHubSource extends CopySource {
}

/**
* A copy activity source for SAP ECC source.
*/
Expand Down Expand Up @@ -6705,6 +6871,11 @@ export interface TabularTranslator extends CopyTranslator {
* (or Expression with resultType object).
*/
schemaMapping?: any;
/**
* The JSON Path of the Nested Array that is going to do cross-apply. Type: object (or Expression
* with resultType object).
*/
collectionReference?: any;
}

/**
Expand Down
12 changes: 12 additions & 0 deletions lib/services/datafactoryManagement/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ exports.AzureSearchLinkedService = require('./azureSearchLinkedService');
exports.CustomDataSourceLinkedService = require('./customDataSourceLinkedService');
exports.AmazonRedshiftLinkedService = require('./amazonRedshiftLinkedService');
exports.AmazonS3LinkedService = require('./amazonS3LinkedService');
exports.RestServiceLinkedService = require('./restServiceLinkedService');
exports.SapOpenHubLinkedService = require('./sapOpenHubLinkedService');
exports.SapEccLinkedService = require('./sapEccLinkedService');
exports.SapCloudForCustomerLinkedService = require('./sapCloudForCustomerLinkedService');
exports.SalesforceLinkedService = require('./salesforceLinkedService');
Expand Down Expand Up @@ -224,7 +226,9 @@ exports.TextFormat = require('./textFormat');
exports.HttpDataset = require('./httpDataset');
exports.AzureSearchIndexDataset = require('./azureSearchIndexDataset');
exports.WebTableDataset = require('./webTableDataset');
exports.RestResourceDataset = require('./restResourceDataset');
exports.SqlServerTableDataset = require('./sqlServerTableDataset');
exports.SapOpenHubTableDataset = require('./sapOpenHubTableDataset');
exports.SapEccResourceDataset = require('./sapEccResourceDataset');
exports.SapCloudForCustomerResourceDataset = require('./sapCloudForCustomerResourceDataset');
exports.SalesforceObjectDataset = require('./salesforceObjectDataset');
Expand Down Expand Up @@ -303,6 +307,8 @@ exports.FileSystemSource = require('./fileSystemSource');
exports.SqlDWSource = require('./sqlDWSource');
exports.StoredProcedureParameter = require('./storedProcedureParameter');
exports.SqlSource = require('./sqlSource');
exports.RestSource = require('./restSource');
exports.SapOpenHubSource = require('./sapOpenHubSource');
exports.SapEccSource = require('./sapEccSource');
exports.SapCloudForCustomerSource = require('./sapCloudForCustomerSource');
exports.SalesforceSource = require('./salesforceSource');
Expand Down Expand Up @@ -456,6 +462,8 @@ exports.discriminators = {
'LinkedService.CustomDataSource' : exports.CustomDataSourceLinkedService,
'LinkedService.AmazonRedshift' : exports.AmazonRedshiftLinkedService,
'LinkedService.AmazonS3' : exports.AmazonS3LinkedService,
'LinkedService.RestService' : exports.RestServiceLinkedService,
'LinkedService.SapOpenHub' : exports.SapOpenHubLinkedService,
'LinkedService.SapEcc' : exports.SapEccLinkedService,
'LinkedService.SapCloudForCustomer' : exports.SapCloudForCustomerLinkedService,
'LinkedService.Salesforce' : exports.SalesforceLinkedService,
Expand Down Expand Up @@ -534,7 +542,9 @@ exports.discriminators = {
'Dataset.HttpFile' : exports.HttpDataset,
'Dataset.AzureSearchIndex' : exports.AzureSearchIndexDataset,
'Dataset.WebTable' : exports.WebTableDataset,
'Dataset.RestResource' : exports.RestResourceDataset,
'Dataset.SqlServerTable' : exports.SqlServerTableDataset,
'Dataset.SapOpenHubTable' : exports.SapOpenHubTableDataset,
'Dataset.SapEccResource' : exports.SapEccResourceDataset,
'Dataset.SapCloudForCustomerResource' : exports.SapCloudForCustomerResourceDataset,
'Dataset.SalesforceObject' : exports.SalesforceObjectDataset,
Expand Down Expand Up @@ -605,6 +615,8 @@ exports.discriminators = {
'CopySource.FileSystemSource' : exports.FileSystemSource,
'CopySource.SqlDWSource' : exports.SqlDWSource,
'CopySource.SqlSource' : exports.SqlSource,
'CopySource.RestSource' : exports.RestSource,
'CopySource.SapOpenHubSource' : exports.SapOpenHubSource,
'CopySource.SapEccSource' : exports.SapEccSource,
'CopySource.SapCloudForCustomerSource' : exports.SapCloudForCustomerSource,
'CopySource.SalesforceSource' : exports.SalesforceSource,
Expand Down
Loading