diff --git a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts index 21184128a935..be96a827a17d 100644 --- a/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts +++ b/sdk/datafactory/arm-datafactory/src/dataFactoryManagementClient.ts @@ -30,7 +30,6 @@ class DataFactoryManagementClient extends DataFactoryManagementClientContext { activityRuns: operations.ActivityRuns; triggers: operations.Triggers; triggerRuns: operations.TriggerRuns; - rerunTriggers: operations.RerunTriggers; dataFlows: operations.DataFlows; dataFlowDebugSession: operations.DataFlowDebugSession; @@ -55,7 +54,6 @@ class DataFactoryManagementClient extends DataFactoryManagementClientContext { this.activityRuns = new operations.ActivityRuns(this); this.triggers = new operations.Triggers(this); this.triggerRuns = new operations.TriggerRuns(this); - this.rerunTriggers = new operations.RerunTriggers(this); this.dataFlows = new operations.DataFlows(this); this.dataFlowDebugSession = new operations.DataFlowDebugSession(this); } diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts index f302ede884dc..b375a910a73c 100644 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts @@ -374,7 +374,6 @@ export { RedshiftUnloadSettings, RelationalSource, RelationalTableDataset, - RerunTriggerResource, RerunTumblingWindowTrigger, Resource, ResponsysLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts index bb0bb8162f24..f9680d53725d 100644 --- a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts @@ -374,7 +374,6 @@ export { RedshiftUnloadSettings, RelationalSource, RelationalTableDataset, - RerunTriggerResource, RerunTumblingWindowTrigger, Resource, ResponsysLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts index a29de38c9fba..2c334aff2249 100644 --- a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts @@ -379,7 +379,6 @@ export { RedshiftUnloadSettings, RelationalSource, RelationalTableDataset, - RerunTriggerResource, RerunTumblingWindowTrigger, Resource, ResponsysLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index f9c994ec0132..08d3d8c3f42f 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -685,7 +685,7 @@ export interface PipelineResource extends SubResource { /** * Contains the possible cases for Trigger. */ -export type TriggerUnion = Trigger | RerunTumblingWindowTrigger | ChainingTrigger | TumblingWindowTrigger | MultiplePipelineTriggerUnion; +export type TriggerUnion = Trigger | ChainingTrigger | RerunTumblingWindowTrigger | TumblingWindowTrigger | MultiplePipelineTriggerUnion; /** * Azure data factory nested object which contains information about creating pipeline run @@ -725,6 +725,21 @@ export interface TriggerResource extends SubResource { properties: TriggerUnion; } +/** + * A query of triggers. + */ +export interface TriggerQueryResponse { + /** + * List of triggers. + */ + value: TriggerResource[]; + /** + * The continuation token for getting the next page of results, if any remaining results exist, + * null otherwise. + */ + continuationToken?: string; +} + /** * Response body with a run identifier. */ @@ -990,6 +1005,20 @@ export interface LinkedServiceDebugResource extends SubResourceDebugResource { properties: LinkedServiceUnion; } +/** + * Query parameters for triggers. + */ +export interface TriggerFilterParameters { + /** + * The continuation token for getting the next page of results. Null for first page. + */ + continuationToken?: string; + /** + * The name of the parent TumblingWindowTrigger to get the child rerun triggers + */ + parentTriggerName?: string; +} + /** * Query filter option for listing runs. */ @@ -1335,79 +1364,6 @@ export interface TriggerRunsQueryResponse { continuationToken?: string; } -/** - * Rerun tumbling window trigger Parameters. - */ -export interface RerunTumblingWindowTriggerActionParameters { - /** - * The start time for the time period for which restatement is initiated. Only UTC time is - * currently supported. - */ - startTime: Date; - /** - * The end time for the time period for which restatement is initiated. Only UTC time is - * currently supported. - */ - endTime: Date; - /** - * The max number of parallel time windows (ready for execution) for which a rerun is triggered. - */ - maxConcurrency: number; -} - -/** - * Trigger that schedules pipeline reruns for all fixed time interval windows from a requested - * start time to requested end time. - */ -export interface RerunTumblingWindowTrigger { - /** - * Polymorphic Discriminator - */ - type: "RerunTumblingWindowTrigger"; - /** - * Trigger description. - */ - description?: string; - /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runtimeState?: TriggerRuntimeState; - /** - * List of tags that can be used for describing the trigger. - */ - annotations?: any[]; - /** - * The parent trigger reference. - */ - parentTrigger?: any; - /** - * The start time for the time period for which restatement is initiated. Only UTC time is - * currently supported. - */ - requestedStartTime: Date; - /** - * The end time for the time period for which restatement is initiated. Only UTC time is - * currently supported. - */ - requestedEndTime: Date; - /** - * The max number of parallel time windows (ready for execution) for which a rerun is triggered. - */ - maxConcurrency: number; -} - -/** - * RerunTrigger resource type. - */ -export interface RerunTriggerResource extends SubResource { - /** - * Properties of the rerun trigger. - */ - properties: RerunTumblingWindowTrigger; -} - /** * Metadata associated with the operation. */ @@ -2031,486 +1987,387 @@ export interface MappingDataFlow { } /** - * Trigger that allows the referenced pipeline to depend on other pipeline runs based on - * runDimension Name/Value pairs. Upstream pipelines should declare the same runDimension Name and - * their runs should have the values for those runDimensions. The referenced pipeline run would be - * triggered if the values for the runDimension match for all upstream pipeline runs. + * Azure Function linked service. */ -export interface ChainingTrigger { +export interface AzureFunctionLinkedService { /** * Polymorphic Discriminator */ - type: "ChainingTrigger"; + type: "AzureFunction"; /** - * Trigger description. + * The integration runtime reference. */ - description?: string; + connectVia?: IntegrationRuntimeReference; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Linked service description. */ - readonly runtimeState?: TriggerRuntimeState; + description?: string; /** - * List of tags that can be used for describing the trigger. + * Parameters for linked service. */ - annotations?: any[]; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Pipeline for which runs are created when all upstream pipelines complete successfully. + * List of tags that can be used for describing the linked service. */ - pipelineProperty: TriggerPipelineReference; + annotations?: any[]; /** - * Upstream Pipelines. + * The endpoint of the Azure Function App. URL will be in the format + * https://.azurewebsites.net. */ - dependsOn: PipelineReference[]; + functionAppUrl: any; /** - * Run Dimension property that needs to be emitted by upstream pipelines. + * Function or Host key for Azure Function App. */ - runDimension: string; -} - -/** - * Contains the possible cases for DependencyReference. - */ -export type DependencyReferenceUnion = DependencyReference | SelfDependencyTumblingWindowTriggerReference | TriggerDependencyReferenceUnion; - -/** - * Referenced dependency. - */ -export interface DependencyReference { + functionKey?: SecretBaseUnion; /** - * Polymorphic Discriminator + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - type: "DependencyReference"; + encryptedCredential?: any; } /** - * Self referenced tumbling window trigger dependency. + * Azure Data Explorer (Kusto) linked service. */ -export interface SelfDependencyTumblingWindowTriggerReference { +export interface AzureDataExplorerLinkedService { /** * Polymorphic Discriminator */ - type: "SelfDependencyTumblingWindowTriggerReference"; + type: "AzureDataExplorer"; /** - * Timespan applied to the start time of a tumbling window when evaluating dependency. + * The integration runtime reference. */ - offset: string; + connectVia?: IntegrationRuntimeReference; /** - * The size of the window when evaluating the dependency. If undefined the frequency of the - * tumbling window will be used. + * Linked service description. */ - size?: string; -} - -/** - * Trigger reference type. - */ -export interface TriggerReference { + description?: string; /** - * Reference trigger name. + * Parameters for linked service. */ - referenceName: string; -} - -/** - * Contains the possible cases for TriggerDependencyReference. - */ -export type TriggerDependencyReferenceUnion = TriggerDependencyReference | TumblingWindowTriggerDependencyReference; - -/** - * Trigger referenced dependency. - */ -export interface TriggerDependencyReference { + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Polymorphic Discriminator + * List of tags that can be used for describing the linked service. */ - type: "TriggerDependencyReference"; + annotations?: any[]; /** - * Referenced trigger. + * The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format + * https://..kusto.windows.net. Type: string (or Expression with + * resultType string) */ - referenceTrigger: TriggerReference; -} - -/** - * Referenced tumbling window trigger dependency. - */ -export interface TumblingWindowTriggerDependencyReference { + endpoint: any; /** - * Polymorphic Discriminator + * The ID of the service principal used to authenticate against Azure Data Explorer. Type: string + * (or Expression with resultType string). */ - type: "TumblingWindowTriggerDependencyReference"; + servicePrincipalId: any; /** - * Referenced trigger. + * The key of the service principal used to authenticate against Kusto. */ - referenceTrigger: TriggerReference; + servicePrincipalKey: SecretBaseUnion; /** - * Timespan applied to the start time of a tumbling window when evaluating dependency. + * Database name for connection. Type: string (or Expression with resultType string). */ - offset?: string; + database: any; /** - * The size of the window when evaluating the dependency. If undefined the frequency of the - * tumbling window will be used. + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). */ - size?: string; + tenant: any; } /** - * Execution policy for an activity. + * SAP Table Linked Service. */ -export interface RetryPolicy { - /** - * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType - * integer), minimum: 0. - */ - count?: any; +export interface SapTableLinkedService { /** - * Interval between retries in seconds. Default is 30. + * Polymorphic Discriminator */ - intervalInSeconds?: number; -} - -/** - * Trigger that schedules pipeline runs for all fixed time interval windows from a start time - * without gaps and also supports backfill scenarios (when start time is in the past). - */ -export interface TumblingWindowTrigger { + type: "SapTable"; /** - * Polymorphic Discriminator + * The integration runtime reference. */ - type: "TumblingWindowTrigger"; + connectVia?: IntegrationRuntimeReference; /** - * Trigger description. + * Linked service description. */ description?: string; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Parameters for linked service. */ - readonly runtimeState?: TriggerRuntimeState; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * List of tags that can be used for describing the trigger. + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Pipeline for which runs are created when an event is fired for trigger window that is ready. + * Host name of the SAP instance where the table is located. Type: string (or Expression with + * resultType string). */ - pipelineProperty: TriggerPipelineReference; + server?: any; /** - * The frequency of the time windows. Possible values include: 'Minute', 'Hour' + * 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). */ - frequency: TumblingWindowFrequency; + systemNumber?: any; /** - * The interval of the time windows. The minimum interval allowed is 15 Minutes. + * 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). */ - interval: number; + clientId?: any; /** - * The start time for the time period for the trigger during which events are fired for windows - * that are ready. Only UTC time is currently supported. + * Language of the SAP system where the table is located. The default value is EN. Type: string + * (or Expression with resultType string). */ - startTime: Date; + language?: any; /** - * The end time for the time period for the trigger during which events are fired for windows - * that are ready. Only UTC time is currently supported. + * SystemID of the SAP system where the table is located. Type: string (or Expression with + * resultType string). */ - endTime?: Date; + systemId?: any; /** - * Specifies how long the trigger waits past due time before triggering new run. It doesn't alter - * window start and end time. The default is 0. Type: string (or Expression with resultType - * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * Username to access the SAP server where the table is located. Type: string (or Expression with + * resultType string). */ - delay?: any; + userName?: any; /** - * The max number of parallel time windows (ready for execution) for which a new run is - * triggered. + * Password to access the SAP server where the table is located. */ - maxConcurrency: number; + password?: SecretBaseUnion; /** - * Retry policy that will be applied for failed pipeline runs. + * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). */ - retryPolicy?: RetryPolicy; + messageServer?: any; /** - * Triggers that this trigger depends on. Only tumbling window triggers are supported. + * The service name or port number of the Message Server. Type: string (or Expression with + * resultType string). */ - dependsOn?: DependencyReferenceUnion[]; -} - -/** - * Contains the possible cases for MultiplePipelineTrigger. - */ -export type MultiplePipelineTriggerUnion = MultiplePipelineTrigger | BlobEventsTrigger | BlobTrigger | ScheduleTrigger; - -/** - * Base class for all triggers that support one to many model for trigger to pipeline. - */ -export interface MultiplePipelineTrigger { + messageServerService?: any; /** - * Polymorphic Discriminator + * 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). */ - type: "MultiplePipelineTrigger"; + sncMode?: any; /** - * Trigger description. + * Initiator's SNC name to access the SAP server where the table is located. Type: string (or + * Expression with resultType string). */ - description?: string; + sncMyName?: any; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Communication partner's SNC name to access the SAP server where the table is located. Type: + * string (or Expression with resultType string). */ - readonly runtimeState?: TriggerRuntimeState; + sncPartnerName?: any; /** - * List of tags that can be used for describing the trigger. + * External security product's library to access the SAP server where the table is located. Type: + * string (or Expression with resultType string). */ - annotations?: any[]; + sncLibraryPath?: any; /** - * Pipelines that need to be started. + * SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression + * with resultType string). */ - pipelines?: TriggerPipelineReference[]; + sncQop?: any; + /** + * The Logon Group for the SAP System. Type: string (or Expression with resultType string). + */ + logonGroup?: 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; } /** - * Trigger that runs every time a Blob event occurs. + * Google AdWords service linked service. */ -export interface BlobEventsTrigger { +export interface GoogleAdWordsLinkedService { /** * Polymorphic Discriminator */ - type: "BlobEventsTrigger"; + type: "GoogleAdWords"; /** - * Trigger description. + * The integration runtime reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * Linked service description. */ description?: string; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Parameters for linked service. */ - readonly runtimeState?: TriggerRuntimeState; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * List of tags that can be used for describing the trigger. + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Pipelines that need to be started. + * The Client customer ID of the AdWords account that you want to fetch report data for. */ - pipelines?: TriggerPipelineReference[]; + clientCustomerID: any; /** - * The blob path must begin with the pattern provided for trigger to fire. For example, - * '/records/blobs/december/' will only fire the trigger for blobs in the december folder under - * the records container. At least one of these must be provided: blobPathBeginsWith, - * blobPathEndsWith. + * The developer token associated with the manager account that you use to grant access to the + * AdWords API. */ - blobPathBeginsWith?: string; + developerToken: SecretBaseUnion; /** - * The blob path must end with the pattern provided for trigger to fire. For example, - * 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At - * least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. + * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only + * be used on self-hosted IR. Possible values include: 'ServiceAuthentication', + * 'UserAuthentication' */ - blobPathEndsWith?: string; + authenticationType: GoogleAdWordsAuthenticationType; /** - * If set to true, blobs with zero bytes will be ignored. + * The refresh token obtained from Google for authorizing access to AdWords for + * UserAuthentication. */ - ignoreEmptyBlobs?: boolean; + refreshToken?: SecretBaseUnion; /** - * The type of events that cause this trigger to fire. + * The client id of the google application used to acquire the refresh token. Type: string (or + * Expression with resultType string). */ - events: BlobEventTypes[]; + clientId?: any; /** - * The ARM resource ID of the Storage Account. + * The client secret of the google application used to acquire the refresh token. */ - scope: string; + clientSecret?: SecretBaseUnion; + /** + * The service account email ID that is used for ServiceAuthentication and can only be used on + * self-hosted IR. + */ + email?: any; + /** + * The full path to the .p12 key file that is used to authenticate the service account email + * address and can only be used on self-hosted IR. + */ + keyFilePath?: any; + /** + * The full path of the .pem file containing trusted CA certificates for verifying the server + * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The + * default value is the cacerts.pem file installed with the IR. + */ + trustedCertPath?: any; + /** + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM + * file. The default value is false. + */ + useSystemTrustStore?: 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; } /** - * Trigger that runs every time the selected Blob container changes. + * Oracle Service Cloud linked service. */ -export interface BlobTrigger { +export interface OracleServiceCloudLinkedService { /** * Polymorphic Discriminator */ - type: "BlobTrigger"; + type: "OracleServiceCloud"; /** - * Trigger description. + * The integration runtime reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * Linked service description. */ description?: string; /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Parameters for linked service. */ - readonly runtimeState?: TriggerRuntimeState; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * List of tags that can be used for describing the trigger. + * List of tags that can be used for describing the linked service. */ annotations?: any[]; /** - * Pipelines that need to be started. + * The URL of the Oracle Service Cloud instance. */ - pipelines?: TriggerPipelineReference[]; + host: any; /** - * The path of the container/folder that will trigger the pipeline. + * The user name that you use to access Oracle Service Cloud server. */ - folderPath: string; + username: any; /** - * The max number of parallel files to handle when it is triggered. + * The password corresponding to the user name that you provided in the username key. */ - maxConcurrency: number; + password: SecretBaseUnion; /** - * The Azure Storage linked service reference. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. Type: boolean (or Expression with resultType boolean). */ - linkedService: LinkedServiceReference; -} - -/** - * The recurrence schedule occurrence. - */ -export interface RecurrenceScheduleOccurrence { + useEncryptedEndpoints?: any; /** - * The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', - * 'Thursday', 'Friday', 'Saturday' + * Specifies whether to require the host name in the server's certificate to match the host name + * of the server when connecting over SSL. The default value is true. Type: boolean (or + * Expression with resultType boolean). */ - day?: DayOfWeek; + useHostVerification?: any; /** - * The occurrence. + * Specifies whether to verify the identity of the server when connecting over SSL. The default + * value is true. Type: boolean (or Expression with resultType boolean). */ - occurrence?: number; + usePeerVerification?: any; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - [property: string]: any; + encryptedCredential?: any; } /** - * The recurrence schedule. + * Dynamics AX linked service. */ -export interface RecurrenceSchedule { +export interface DynamicsAXLinkedService { /** - * The minutes. + * Polymorphic Discriminator */ - minutes?: number[]; + type: "DynamicsAX"; /** - * The hours. + * The integration runtime reference. */ - hours?: number[]; + connectVia?: IntegrationRuntimeReference; /** - * The days of the week. + * Linked service description. */ - weekDays?: DaysOfWeek[]; + description?: string; /** - * The month days. + * Parameters for linked service. */ - monthDays?: number[]; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The monthly occurrences. + * List of tags that can be used for describing the linked service. */ - monthlyOccurrences?: RecurrenceScheduleOccurrence[]; + annotations?: any[]; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. */ - [property: string]: any; -} - -/** - * The workflow trigger recurrence. - */ -export interface ScheduleTriggerRecurrence { + url: any; /** - * The frequency. Possible values include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', - * 'Month', 'Year' - */ - frequency?: RecurrenceFrequency; - /** - * The interval. - */ - interval?: number; - /** - * The start time. - */ - startTime?: Date; - /** - * The end time. - */ - endTime?: Date; - /** - * The time zone. - */ - timeZone?: string; - /** - * The recurrence schedule. - */ - schedule?: RecurrenceSchedule; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Trigger that creates pipeline runs periodically, on schedule. - */ -export interface ScheduleTrigger { - /** - * Polymorphic Discriminator - */ - type: "ScheduleTrigger"; - /** - * Trigger description. - */ - description?: string; - /** - * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the - * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly runtimeState?: TriggerRuntimeState; - /** - * List of tags that can be used for describing the trigger. - */ - annotations?: any[]; - /** - * Pipelines that need to be started. - */ - pipelines?: TriggerPipelineReference[]; - /** - * Recurrence schedule configuration. - */ - recurrence: ScheduleTriggerRecurrence; -} - -/** - * Azure Function linked service. - */ -export interface AzureFunctionLinkedService { - /** - * Polymorphic Discriminator - */ - type: "AzureFunction"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; - /** - * Linked service description. - */ - description?: string; - /** - * Parameters for linked service. + * Specify the application's client ID. Type: string (or Expression with resultType string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + servicePrincipalId: any; /** - * List of tags that can be used for describing the linked service. + * Specify the application's key. Mark this field as a SecureString to store it securely in Data + * Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with + * resultType string). */ - annotations?: any[]; + servicePrincipalKey: SecretBaseUnion; /** - * The endpoint of the Azure Function App. URL will be in the format - * https://.azurewebsites.net. + * Specify the tenant information (domain name or tenant ID) under which your application + * resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: + * string (or Expression with resultType string). */ - functionAppUrl: any; + tenant: any; /** - * Function or Host key for Azure Function App. + * Specify the resource you are requesting authorization. Type: string (or Expression with + * resultType string). */ - functionKey?: SecretBaseUnion; + aadResourceId: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -2519,13 +2376,13 @@ export interface AzureFunctionLinkedService { } /** - * Azure Data Explorer (Kusto) linked service. + * Responsys linked service. */ -export interface AzureDataExplorerLinkedService { +export interface ResponsysLinkedService { /** * Polymorphic Discriminator */ - type: "AzureDataExplorer"; + type: "Responsys"; /** * The integration runtime reference. */ @@ -2543,39 +2400,50 @@ export interface AzureDataExplorerLinkedService { */ annotations?: any[]; /** - * The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format - * https://..kusto.windows.net. Type: string (or Expression with - * resultType string) + * The endpoint of the Responsys server. */ endpoint: any; /** - * The ID of the service principal used to authenticate against Azure Data Explorer. Type: string - * (or Expression with resultType string). + * The client ID associated with the Responsys application. Type: string (or Expression with + * resultType string). */ - servicePrincipalId: any; + clientId: any; /** - * The key of the service principal used to authenticate against Kusto. + * The client secret associated with the Responsys application. Type: string (or Expression with + * resultType string). */ - servicePrincipalKey: SecretBaseUnion; + clientSecret?: SecretBaseUnion; /** - * Database name for connection. Type: string (or Expression with resultType string). + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. Type: boolean (or Expression with resultType boolean). */ - database: any; + useEncryptedEndpoints?: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * Specifies whether to require the host name in the server's certificate to match the host name + * of the server when connecting over SSL. The default value is true. Type: boolean (or + * Expression with resultType boolean). */ - tenant: any; + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default + * value is true. Type: boolean (or Expression with resultType boolean). + */ + usePeerVerification?: 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 Table Linked Service. + * Azure Databricks linked service. */ -export interface SapTableLinkedService { +export interface AzureDatabricksLinkedService { /** * Polymorphic Discriminator */ - type: "SapTable"; + type: "AzureDatabricks"; /** * The integration runtime reference. */ @@ -2593,77 +2461,76 @@ export interface SapTableLinkedService { */ annotations?: any[]; /** - * 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). + * .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or + * Expression with resultType string). */ - clientId?: any; + domain: any; /** - * Language of the SAP system where the table is located. The default value is EN. Type: string - * (or Expression with resultType string). + * Access token for databricks REST API. Refer to + * https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression + * with resultType string). */ - language?: any; + accessToken: SecretBaseUnion; /** - * SystemID of the SAP system where the table is located. Type: string (or Expression with - * resultType string). + * The id of an existing interactive cluster that will be used for all runs of this activity. + * Type: string (or Expression with resultType string). */ - systemId?: any; + existingClusterId?: any; /** - * Username to access the SAP server where the table is located. Type: string (or Expression with - * resultType string). + * The id of an existing instance pool that will be used for all runs of this activity. Type: + * string (or Expression with resultType string). */ - userName?: any; + instancePoolId?: any; /** - * Password to access the SAP server where the table is located. + * If not using an existing interactive cluster, this specifies the Spark version of a new job + * cluster or instance pool nodes created for each run of this activity. Required if + * instancePoolId is specified. Type: string (or Expression with resultType string). */ - password?: SecretBaseUnion; + newClusterVersion?: any; /** - * The hostname of the SAP Message Server. Type: string (or Expression with resultType string). + * If not using an existing interactive cluster, this specifies the number of worker nodes to use + * for the new job cluster or instance pool. For new job clusters, this a string-formatted Int32, + * like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For + * instance pools, this is a string-formatted Int32, and can only specify a fixed number of + * worker nodes, such as '2'. Required if newClusterVersion is specified. Type: string (or + * Expression with resultType string). */ - messageServer?: any; + newClusterNumOfWorker?: any; /** - * The service name or port number of the Message Server. Type: string (or Expression with - * resultType string). + * The node type of the new job cluster. This property is required if newClusterVersion is + * specified and instancePoolId is not specified. If instancePoolId is specified, this property + * is ignored. Type: string (or Expression with resultType string). */ - messageServerService?: any; + newClusterNodeType?: 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). + * A set of optional, user-specified Spark configuration key-value pairs. */ - sncMode?: any; + newClusterSparkConf?: { [propertyName: string]: any }; /** - * Initiator's SNC name to access the SAP server where the table is located. Type: string (or - * Expression with resultType string). + * A set of optional, user-specified Spark environment variables key-value pairs. */ - sncMyName?: any; + newClusterSparkEnvVars?: { [propertyName: string]: any }; /** - * Communication partner's SNC name to access the SAP server where the table is located. Type: - * string (or Expression with resultType string). + * Additional tags for cluster resources. This property is ignored in instance pool + * configurations. */ - sncPartnerName?: any; + newClusterCustomTags?: { [propertyName: string]: any }; /** - * External security product's library to access the SAP server where the table is located. Type: - * string (or Expression with resultType string). + * The driver node type for the new job cluster. This property is ignored in instance pool + * configurations. Type: string (or Expression with resultType string). */ - sncLibraryPath?: any; + newClusterDriverNodeType?: any; /** - * SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression - * with resultType string). + * User-defined initialization scripts for the new cluster. Type: array of strings (or Expression + * with resultType array of strings). */ - sncQop?: any; + newClusterInitScripts?: any; /** - * The Logon Group for the SAP System. Type: string (or Expression with resultType string). + * Enable the elastic disk on the new cluster. This property is now ignored, and takes the + * default elastic disk behavior in Databricks (elastic disks are always enabled). Type: boolean + * (or Expression with resultType boolean). */ - logonGroup?: any; + newClusterEnableElasticDisk?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -2672,13 +2539,13 @@ export interface SapTableLinkedService { } /** - * Google AdWords service linked service. + * Azure Data Lake Analytics linked service. */ -export interface GoogleAdWordsLinkedService { +export interface AzureDataLakeAnalyticsLinkedService { /** * Polymorphic Discriminator */ - type: "GoogleAdWords"; + type: "AzureDataLakeAnalytics"; /** * The integration runtime reference. */ @@ -2696,70 +2563,75 @@ export interface GoogleAdWordsLinkedService { */ annotations?: any[]; /** - * The Client customer ID of the AdWords account that you want to fetch report data for. + * The Azure Data Lake Analytics account name. Type: string (or Expression with resultType + * string). */ - clientCustomerID: any; + accountName: any; /** - * The developer token associated with the manager account that you use to grant access to the - * AdWords API. + * The ID of the application used to authenticate against the Azure Data Lake Analytics account. + * Type: string (or Expression with resultType string). */ - developerToken: SecretBaseUnion; + servicePrincipalId?: any; /** - * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only - * be used on self-hosted IR. Possible values include: 'ServiceAuthentication', - * 'UserAuthentication' + * The Key of the application used to authenticate against the Azure Data Lake Analytics account. */ - authenticationType: GoogleAdWordsAuthenticationType; + servicePrincipalKey?: SecretBaseUnion; /** - * The refresh token obtained from Google for authorizing access to AdWords for - * UserAuthentication. + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). */ - refreshToken?: SecretBaseUnion; + tenant: any; /** - * The client id of the google application used to acquire the refresh token. Type: string (or - * Expression with resultType string). + * Data Lake Analytics account subscription ID (if different from Data Factory account). Type: + * string (or Expression with resultType string). */ - clientId?: any; + subscriptionId?: any; /** - * The client secret of the google application used to acquire the refresh token. + * Data Lake Analytics account resource group name (if different from Data Factory account). + * Type: string (or Expression with resultType string). */ - clientSecret?: SecretBaseUnion; + resourceGroupName?: any; /** - * The service account email ID that is used for ServiceAuthentication and can only be used on - * self-hosted IR. + * Azure Data Lake Analytics URI Type: string (or Expression with resultType string). */ - email?: any; + dataLakeAnalyticsUri?: any; /** - * The full path to the .p12 key file that is used to authenticate the service account email - * address and can only be used on self-hosted IR. + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - keyFilePath?: any; + encryptedCredential?: any; +} + +/** + * Custom script action to run on HDI ondemand cluster once it's up. + */ +export interface ScriptAction { /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. + * The user provided name of the script action. */ - trustedCertPath?: any; + name: string; /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. + * The URI for the script action. */ - useSystemTrustStore?: any; + uri: string; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The node types on which the script action should be executed. */ - encryptedCredential?: any; + roles: any; + /** + * The parameters for the script action. + */ + parameters?: string; } /** - * Oracle Service Cloud linked service. + * HDInsight ondemand linked service. */ -export interface OracleServiceCloudLinkedService { +export interface HDInsightOnDemandLinkedService { /** * Polymorphic Discriminator */ - type: "OracleServiceCloud"; + type: "HDInsightOnDemand"; /** * The integration runtime reference. */ @@ -2777,104 +2649,166 @@ export interface OracleServiceCloudLinkedService { */ annotations?: any[]; /** - * The URL of the Oracle Service Cloud instance. + * Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression + * with resultType string). */ - host: any; + clusterSize: any; /** - * The user name that you use to access Oracle Service Cloud server. + * The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand + * HDInsight cluster stays alive after completion of an activity run if there are no other active + * jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType + * string). */ - username: any; + timeToLive: any; /** - * The password corresponding to the user name that you provided in the username key. + * Version of the HDInsight cluster.  Type: string (or Expression with resultType string). */ - password: SecretBaseUnion; + version: any; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. Type: boolean (or Expression with resultType boolean). + * Azure Storage linked service to be used by the on-demand cluster for storing and processing + * data. */ - useEncryptedEndpoints?: any; + linkedServiceName: LinkedServiceReference; /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. Type: boolean (or - * Expression with resultType boolean). + * The customer’s subscription to host the cluster. Type: string (or Expression with resultType + * string). */ - useHostVerification?: any; + hostSubscriptionId: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. Type: boolean (or Expression with resultType boolean). + * The service principal id for the hostSubscriptionId. Type: string (or Expression with + * resultType string). */ - usePeerVerification?: any; + servicePrincipalId?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The key for the service principal id. */ - encryptedCredential?: any; -} - -/** - * Dynamics AX linked service. - */ -export interface DynamicsAXLinkedService { + servicePrincipalKey?: SecretBaseUnion; /** - * Polymorphic Discriminator + * The Tenant id/name to which the service principal belongs. Type: string (or Expression with + * resultType string). */ - type: "DynamicsAX"; + tenant: any; /** - * The integration runtime reference. + * The resource group where the cluster belongs. Type: string (or Expression with resultType + * string). */ - connectVia?: IntegrationRuntimeReference; + clusterResourceGroup: any; /** - * Linked service description. + * The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or + * Expression with resultType string). */ - description?: string; + clusterNamePrefix?: any; /** - * Parameters for linked service. + * The username to access the cluster. Type: string (or Expression with resultType string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + clusterUserName?: any; /** - * List of tags that can be used for describing the linked service. + * The password to access the cluster. */ - annotations?: any[]; + clusterPassword?: SecretBaseUnion; /** - * The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. + * The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or + * Expression with resultType string). */ - url: any; + clusterSshUserName?: any; /** - * Specify the application's client ID. Type: string (or Expression with resultType string). + * The password to SSH remotely connect cluster’s node (for Linux). */ - servicePrincipalId: any; + clusterSshPassword?: SecretBaseUnion; /** - * Specify the application's key. Mark this field as a SecureString to store it securely in Data - * Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with - * resultType string). + * Specifies additional storage accounts for the HDInsight linked service so that the Data + * Factory service can register them on your behalf. */ - servicePrincipalKey: SecretBaseUnion; + additionalLinkedServiceNames?: LinkedServiceReference[]; /** - * Specify the tenant information (domain name or tenant ID) under which your application - * resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: - * string (or Expression with resultType string). + * The name of Azure SQL linked service that point to the HCatalog database. The on-demand + * HDInsight cluster is created by using the Azure SQL database as the metastore. */ - tenant: any; + hcatalogLinkedServiceName?: LinkedServiceReference; /** - * Specify the resource you are requesting authorization. Type: string (or Expression with + * The cluster type. Type: string (or Expression with resultType string). + */ + clusterType?: any; + /** + * The version of spark if the cluster type is 'spark'. Type: string (or Expression with * resultType string). */ - aadResourceId: any; + sparkVersion?: any; + /** + * Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to + * be created. + */ + coreConfiguration?: any; + /** + * Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster. + */ + hBaseConfiguration?: any; + /** + * Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster. + */ + hdfsConfiguration?: any; + /** + * Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster. + */ + hiveConfiguration?: any; + /** + * Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster. + */ + mapReduceConfiguration?: any; + /** + * Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster. + */ + oozieConfiguration?: any; + /** + * Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster. + */ + stormConfiguration?: any; + /** + * Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. + */ + yarnConfiguration?: 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; + /** + * Specifies the size of the head node for the HDInsight cluster. + */ + headNodeSize?: any; + /** + * Specifies the size of the data node for the HDInsight cluster. + */ + dataNodeSize?: any; + /** + * Specifies the size of the Zoo Keeper node for the HDInsight cluster. + */ + zookeeperNodeSize?: any; + /** + * Custom script actions to run on HDI ondemand cluster once it's up. Please refer to + * https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. + */ + scriptActions?: ScriptAction[]; + /** + * The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: + * string (or Expression with resultType string). + */ + virtualNetworkId?: any; + /** + * The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this + * property is required. Type: string (or Expression with resultType string). + */ + subnetName?: any; } /** - * Responsys linked service. + * Salesforce Marketing Cloud linked service. */ -export interface ResponsysLinkedService { +export interface SalesforceMarketingCloudLinkedService { /** * Polymorphic Discriminator */ - type: "Responsys"; + type: "SalesforceMarketingCloud"; /** * The integration runtime reference. */ @@ -2892,17 +2826,13 @@ export interface ResponsysLinkedService { */ annotations?: any[]; /** - * The endpoint of the Responsys server. - */ - endpoint: any; - /** - * The client ID associated with the Responsys application. Type: string (or Expression with - * resultType string). + * The client ID associated with the Salesforce Marketing Cloud application. Type: string (or + * Expression with resultType string). */ clientId: any; /** - * The client secret associated with the Responsys application. Type: string (or Expression with - * resultType string). + * The client secret associated with the Salesforce Marketing Cloud application. Type: string (or + * Expression with resultType string). */ clientSecret?: SecretBaseUnion; /** @@ -2929,13 +2859,13 @@ export interface ResponsysLinkedService { } /** - * Azure Databricks linked service. + * Netezza linked service. */ -export interface AzureDatabricksLinkedService { +export interface NetezzaLinkedService { /** * Polymorphic Discriminator */ - type: "AzureDatabricks"; + type: "Netezza"; /** * The integration runtime reference. */ @@ -2953,76 +2883,52 @@ export interface AzureDatabricksLinkedService { */ annotations?: any[]; /** - * .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or - * Expression with resultType string). + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - domain: any; - /** - * Access token for databricks REST API. Refer to - * https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string (or Expression - * with resultType string). - */ - accessToken: SecretBaseUnion; - /** - * The id of an existing interactive cluster that will be used for all runs of this activity. - * Type: string (or Expression with resultType string). - */ - existingClusterId?: any; - /** - * The id of an existing instance pool that will be used for all runs of this activity. Type: - * string (or Expression with resultType string). - */ - instancePoolId?: any; + connectionString?: any; /** - * If not using an existing interactive cluster, this specifies the Spark version of a new job - * cluster or instance pool nodes created for each run of this activity. Required if - * instancePoolId is specified. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of password in connection string. */ - newClusterVersion?: any; + pwd?: AzureKeyVaultSecretReference; /** - * If not using an existing interactive cluster, this specifies the number of worker nodes to use - * for the new job cluster or instance pool. For new job clusters, this a string-formatted Int32, - * like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 (min) to 10 (max). For - * instance pools, this is a string-formatted Int32, and can only specify a fixed number of - * worker nodes, such as '2'. Required if newClusterVersion is specified. Type: string (or - * Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - newClusterNumOfWorker?: any; + encryptedCredential?: any; +} + +/** + * Vertica linked service. + */ +export interface VerticaLinkedService { /** - * The node type of the new job cluster. This property is required if newClusterVersion is - * specified and instancePoolId is not specified. If instancePoolId is specified, this property - * is ignored. Type: string (or Expression with resultType string). + * Polymorphic Discriminator */ - newClusterNodeType?: any; + type: "Vertica"; /** - * A set of optional, user-specified Spark configuration key-value pairs. + * The integration runtime reference. */ - newClusterSparkConf?: { [propertyName: string]: any }; + connectVia?: IntegrationRuntimeReference; /** - * A set of optional, user-specified Spark environment variables key-value pairs. + * Linked service description. */ - newClusterSparkEnvVars?: { [propertyName: string]: any }; + description?: string; /** - * Additional tags for cluster resources. This property is ignored in instance pool - * configurations. + * Parameters for linked service. */ - newClusterCustomTags?: { [propertyName: string]: any }; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The driver node type for the new job cluster. This property is ignored in instance pool - * configurations. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the linked service. */ - newClusterDriverNodeType?: any; + annotations?: any[]; /** - * User-defined initialization scripts for the new cluster. Type: array of strings (or Expression - * with resultType array of strings). + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - newClusterInitScripts?: any; + connectionString?: any; /** - * Enable the elastic disk on the new cluster. This property is now ignored, and takes the - * default elastic disk behavior in Databricks (elastic disks are always enabled). Type: boolean - * (or Expression with resultType boolean). + * The Azure key vault secret reference of password in connection string. */ - newClusterEnableElasticDisk?: any; + pwd?: AzureKeyVaultSecretReference; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -3031,13 +2937,13 @@ export interface AzureDatabricksLinkedService { } /** - * Azure Data Lake Analytics linked service. + * Zoho server linked service. */ -export interface AzureDataLakeAnalyticsLinkedService { +export interface ZohoLinkedService { /** * Polymorphic Discriminator */ - type: "AzureDataLakeAnalytics"; + type: "Zoho"; /** * The integration runtime reference. */ @@ -3055,38 +2961,28 @@ export interface AzureDataLakeAnalyticsLinkedService { */ annotations?: any[]; /** - * The Azure Data Lake Analytics account name. Type: string (or Expression with resultType - * string). - */ - accountName: any; - /** - * The ID of the application used to authenticate against the Azure Data Lake Analytics account. - * Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The Key of the application used to authenticate against the Azure Data Lake Analytics account. + * The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private) */ - servicePrincipalKey?: SecretBaseUnion; + endpoint: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * The access token for Zoho authentication. */ - tenant: any; + accessToken?: SecretBaseUnion; /** - * Data Lake Analytics account subscription ID (if different from Data Factory account). Type: - * string (or Expression with resultType string). + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. */ - subscriptionId?: any; + useEncryptedEndpoints?: any; /** - * Data Lake Analytics account resource group name (if different from Data Factory account). - * Type: string (or Expression with resultType string). + * Specifies whether to require the host name in the server's certificate to match the host name + * of the server when connecting over SSL. The default value is true. */ - resourceGroupName?: any; + useHostVerification?: any; /** - * Azure Data Lake Analytics URI Type: string (or Expression with resultType string). + * Specifies whether to verify the identity of the server when connecting over SSL. The default + * value is true. */ - dataLakeAnalyticsUri?: any; + usePeerVerification?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -3095,35 +2991,13 @@ export interface AzureDataLakeAnalyticsLinkedService { } /** - * Custom script action to run on HDI ondemand cluster once it's up. - */ -export interface ScriptAction { - /** - * The user provided name of the script action. - */ - name: string; - /** - * The URI for the script action. - */ - uri: string; - /** - * The node types on which the script action should be executed. - */ - roles: any; - /** - * The parameters for the script action. - */ - parameters?: string; -} - -/** - * HDInsight ondemand linked service. + * Xero Service linked service. */ -export interface HDInsightOnDemandLinkedService { +export interface XeroLinkedService { /** * Polymorphic Discriminator */ - type: "HDInsightOnDemand"; + type: "Xero"; /** * The integration runtime reference. */ @@ -3141,166 +3015,111 @@ export interface HDInsightOnDemandLinkedService { */ annotations?: any[]; /** - * Number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression - * with resultType string). + * The endpoint of the Xero server. (i.e. api.xero.com) */ - clusterSize: any; + host: any; /** - * The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand - * HDInsight cluster stays alive after completion of an activity run if there are no other active - * jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType - * string). + * The consumer key associated with the Xero application. */ - timeToLive: any; + consumerKey?: SecretBaseUnion; /** - * Version of the HDInsight cluster.  Type: string (or Expression with resultType string). + * The private key from the .pem file that was generated for your Xero private application. You + * must include all the text from the .pem file, including the Unix line endings( + * ). */ - version: any; + privateKey?: SecretBaseUnion; /** - * Azure Storage linked service to be used by the on-demand cluster for storing and processing - * data. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. */ - linkedServiceName: LinkedServiceReference; + useEncryptedEndpoints?: any; /** - * The customer’s subscription to host the cluster. Type: string (or Expression with resultType - * string). + * Specifies whether to require the host name in the server's certificate to match the host name + * of the server when connecting over SSL. The default value is true. */ - hostSubscriptionId: any; + useHostVerification?: any; /** - * The service principal id for the hostSubscriptionId. Type: string (or Expression with - * resultType string). + * Specifies whether to verify the identity of the server when connecting over SSL. The default + * value is true. */ - servicePrincipalId?: any; + usePeerVerification?: any; /** - * The key for the service principal id. + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - servicePrincipalKey?: SecretBaseUnion; + encryptedCredential?: any; +} + +/** + * Square Service linked service. + */ +export interface SquareLinkedService { /** - * The Tenant id/name to which the service principal belongs. Type: string (or Expression with - * resultType string). + * Polymorphic Discriminator */ - tenant: any; + type: "Square"; /** - * The resource group where the cluster belongs. Type: string (or Expression with resultType - * string). + * The integration runtime reference. */ - clusterResourceGroup: any; + connectVia?: IntegrationRuntimeReference; /** - * The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or - * Expression with resultType string). + * Linked service description. */ - clusterNamePrefix?: any; + description?: string; /** - * The username to access the cluster. Type: string (or Expression with resultType string). + * Parameters for linked service. */ - clusterUserName?: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The password to access the cluster. + * List of tags that can be used for describing the linked service. */ - clusterPassword?: SecretBaseUnion; + annotations?: any[]; /** - * The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or - * Expression with resultType string). + * The URL of the Square instance. (i.e. mystore.mysquare.com) */ - clusterSshUserName?: any; + host: any; /** - * The password to SSH remotely connect cluster’s node (for Linux). + * The client ID associated with your Square application. */ - clusterSshPassword?: SecretBaseUnion; + clientId: any; /** - * Specifies additional storage accounts for the HDInsight linked service so that the Data - * Factory service can register them on your behalf. + * The client secret associated with your Square application. */ - additionalLinkedServiceNames?: LinkedServiceReference[]; + clientSecret?: SecretBaseUnion; /** - * The name of Azure SQL linked service that point to the HCatalog database. The on-demand - * HDInsight cluster is created by using the Azure SQL database as the metastore. + * The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) */ - hcatalogLinkedServiceName?: LinkedServiceReference; + redirectUri: any; /** - * The cluster type. Type: string (or Expression with resultType string). + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. */ - clusterType?: any; + useEncryptedEndpoints?: any; /** - * The version of spark if the cluster type is 'spark'. Type: string (or Expression with - * resultType string). + * Specifies whether to require the host name in the server's certificate to match the host name + * of the server when connecting over SSL. The default value is true. */ - sparkVersion?: any; + useHostVerification?: any; /** - * Specifies the core configuration parameters (as in core-site.xml) for the HDInsight cluster to - * be created. + * Specifies whether to verify the identity of the server when connecting over SSL. The default + * value is true. */ - coreConfiguration?: any; + usePeerVerification?: any; /** - * Specifies the HBase configuration parameters (hbase-site.xml) for the HDInsight cluster. - */ - hBaseConfiguration?: any; - /** - * Specifies the HDFS configuration parameters (hdfs-site.xml) for the HDInsight cluster. - */ - hdfsConfiguration?: any; - /** - * Specifies the hive configuration parameters (hive-site.xml) for the HDInsight cluster. - */ - hiveConfiguration?: any; - /** - * Specifies the MapReduce configuration parameters (mapred-site.xml) for the HDInsight cluster. - */ - mapReduceConfiguration?: any; - /** - * Specifies the Oozie configuration parameters (oozie-site.xml) for the HDInsight cluster. - */ - oozieConfiguration?: any; - /** - * Specifies the Storm configuration parameters (storm-site.xml) for the HDInsight cluster. - */ - stormConfiguration?: any; - /** - * Specifies the Yarn configuration parameters (yarn-site.xml) for the HDInsight cluster. - */ - yarnConfiguration?: any; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ encryptedCredential?: any; - /** - * Specifies the size of the head node for the HDInsight cluster. - */ - headNodeSize?: any; - /** - * Specifies the size of the data node for the HDInsight cluster. - */ - dataNodeSize?: any; - /** - * Specifies the size of the Zoo Keeper node for the HDInsight cluster. - */ - zookeeperNodeSize?: any; - /** - * Custom script actions to run on HDI ondemand cluster once it's up. Please refer to - * https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-customize-cluster-linux?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#understanding-script-actions. - */ - scriptActions?: ScriptAction[]; - /** - * The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: - * string (or Expression with resultType string). - */ - virtualNetworkId?: any; - /** - * The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this - * property is required. Type: string (or Expression with resultType string). - */ - subnetName?: any; } /** - * Salesforce Marketing Cloud linked service. + * Spark Server linked service. */ -export interface SalesforceMarketingCloudLinkedService { +export interface SparkLinkedService { /** * Polymorphic Discriminator */ - type: "SalesforceMarketingCloud"; + type: "Spark"; /** * The integration runtime reference. */ @@ -3318,70 +3137,66 @@ export interface SalesforceMarketingCloudLinkedService { */ annotations?: any[]; /** - * The client ID associated with the Salesforce Marketing Cloud application. Type: string (or - * Expression with resultType string). + * IP address or host name of the Spark server */ - clientId: any; + host: any; /** - * The client secret associated with the Salesforce Marketing Cloud application. Type: string (or - * Expression with resultType string). + * The TCP port that the Spark server uses to listen for client connections. */ - clientSecret?: SecretBaseUnion; + port: any; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. Type: boolean (or Expression with resultType boolean). + * The type of Spark server. Possible values include: 'SharkServer', 'SharkServer2', + * 'SparkThriftServer' */ - useEncryptedEndpoints?: any; + serverType?: SparkServerType; /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. Type: boolean (or - * Expression with resultType boolean). + * The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', + * 'HTTP ' */ - useHostVerification?: any; + thriftTransportProtocol?: SparkThriftTransportProtocol; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. Type: boolean (or Expression with resultType boolean). + * The authentication method used to access the Spark server. Possible values include: + * 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService' */ - usePeerVerification?: any; + authenticationType: SparkAuthenticationType; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The user name that you use to access Spark Server. */ - encryptedCredential?: any; -} - -/** - * Netezza linked service. - */ -export interface NetezzaLinkedService { + username?: any; /** - * Polymorphic Discriminator + * The password corresponding to the user name that you provided in the Username field */ - type: "Netezza"; + password?: SecretBaseUnion; /** - * The integration runtime reference. + * The partial URL corresponding to the Spark server. */ - connectVia?: IntegrationRuntimeReference; + httpPath?: any; /** - * Linked service description. + * Specifies whether the connections to the server are encrypted using SSL. The default value is + * false. */ - description?: string; + enableSsl?: any; /** - * Parameters for linked service. + * The full path of the .pem file containing trusted CA certificates for verifying the server + * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The + * default value is the cacerts.pem file installed with the IR. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + trustedCertPath?: any; /** - * List of tags that can be used for describing the linked service. + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM + * file. The default value is false. */ - annotations?: any[]; + useSystemTrustStore?: any; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the + * server when connecting over SSL. The default value is false. */ - connectionString?: any; + allowHostNameCNMismatch?: any; /** - * The Azure key vault secret reference of password in connection string. + * Specifies whether to allow self-signed certificates from the server. The default value is + * false. */ - pwd?: AzureKeyVaultSecretReference; + allowSelfSignedServerCert?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -3390,13 +3205,13 @@ export interface NetezzaLinkedService { } /** - * Vertica linked service. + * Shopify Service linked service. */ -export interface VerticaLinkedService { +export interface ShopifyLinkedService { /** * Polymorphic Discriminator */ - type: "Vertica"; + type: "Shopify"; /** * The integration runtime reference. */ @@ -3414,13 +3229,29 @@ export interface VerticaLinkedService { */ annotations?: any[]; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The endpoint of the Shopify server. (i.e. mystore.myshopify.com) */ - connectionString?: any; + host: any; /** - * The Azure key vault secret reference of password in connection string. + * The API access token that can be used to access Shopify’s data. The token won't expire if it + * is offline mode. */ - pwd?: AzureKeyVaultSecretReference; + accessToken?: SecretBaseUnion; + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. + */ + useEncryptedEndpoints?: any; + /** + * Specifies whether to require the host name in the server's certificate to match the host name + * of the server when connecting over SSL. The default value is true. + */ + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default + * value is true. + */ + usePeerVerification?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -3429,13 +3260,13 @@ export interface VerticaLinkedService { } /** - * Zoho server linked service. + * ServiceNow server linked service. */ -export interface ZohoLinkedService { +export interface ServiceNowLinkedService { /** * Polymorphic Discriminator */ - type: "Zoho"; + type: "ServiceNow"; /** * The integration runtime reference. */ @@ -3453,13 +3284,29 @@ export interface ZohoLinkedService { */ annotations?: any[]; /** - * The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private) + * The endpoint of the ServiceNow server. (i.e. .service-now.com) */ endpoint: any; /** - * The access token for Zoho authentication. + * The authentication type to use. Possible values include: 'Basic', 'OAuth2' */ - accessToken?: SecretBaseUnion; + authenticationType: ServiceNowAuthenticationType; + /** + * The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. + */ + username?: any; + /** + * The password corresponding to the user name for Basic and OAuth2 authentication. + */ + password?: SecretBaseUnion; + /** + * The client id for OAuth2 authentication. + */ + clientId?: any; + /** + * The client secret for OAuth2 authentication. + */ + clientSecret?: SecretBaseUnion; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is * true. @@ -3483,13 +3330,13 @@ export interface ZohoLinkedService { } /** - * Xero Service linked service. + * QuickBooks server linked service. */ -export interface XeroLinkedService { +export interface QuickBooksLinkedService { /** * Polymorphic Discriminator */ - type: "Xero"; + type: "QuickBooks"; /** * The integration runtime reference. */ @@ -3507,34 +3354,34 @@ export interface XeroLinkedService { */ annotations?: any[]; /** - * The endpoint of the Xero server. (i.e. api.xero.com) + * The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) */ - host: any; + endpoint: any; /** - * The consumer key associated with the Xero application. + * The company ID of the QuickBooks company to authorize. */ - consumerKey?: SecretBaseUnion; + companyId: any; /** - * The private key from the .pem file that was generated for your Xero private application. You - * must include all the text from the .pem file, including the Unix line endings( - * ). + * The consumer key for OAuth 1.0 authentication. */ - privateKey?: SecretBaseUnion; + consumerKey: any; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. + * The consumer secret for OAuth 1.0 authentication. */ - useEncryptedEndpoints?: any; + consumerSecret: SecretBaseUnion; /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. + * The access token for OAuth 1.0 authentication. */ - useHostVerification?: any; + accessToken: SecretBaseUnion; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. + * The access token secret for OAuth 1.0 authentication. */ - usePeerVerification?: any; + accessTokenSecret: SecretBaseUnion; + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. + */ + useEncryptedEndpoints?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -3543,13 +3390,13 @@ export interface XeroLinkedService { } /** - * Square Service linked service. + * Presto server linked service. */ -export interface SquareLinkedService { +export interface PrestoLinkedService { /** * Polymorphic Discriminator */ - type: "Square"; + type: "Presto"; /** * The integration runtime reference. */ @@ -3567,36 +3414,66 @@ export interface SquareLinkedService { */ annotations?: any[]; /** - * The URL of the Square instance. (i.e. mystore.mysquare.com) + * The IP address or host name of the Presto server. (i.e. 192.168.222.160) */ host: any; /** - * The client ID associated with your Square application. + * The version of the Presto server. (i.e. 0.148-t) */ - clientId: any; + serverVersion: any; /** - * The client secret associated with your Square application. + * The catalog context for all request against the server. */ - clientSecret?: SecretBaseUnion; + catalog: any; /** - * The redirect URL assigned in the Square application dashboard. (i.e. http://localhost:2500) + * The TCP port that the Presto server uses to listen for client connections. The default value + * is 8080. */ - redirectUri: any; + port?: any; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. + * The authentication mechanism used to connect to the Presto server. Possible values include: + * 'Anonymous', 'LDAP' */ - useEncryptedEndpoints?: any; + authenticationType: PrestoAuthenticationType; /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. + * The user name used to connect to the Presto server. */ - useHostVerification?: any; + username?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. + * The password corresponding to the user name. */ - usePeerVerification?: any; + password?: SecretBaseUnion; + /** + * Specifies whether the connections to the server are encrypted using SSL. The default value is + * false. + */ + enableSsl?: any; + /** + * The full path of the .pem file containing trusted CA certificates for verifying the server + * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The + * default value is the cacerts.pem file installed with the IR. + */ + trustedCertPath?: any; + /** + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM + * file. The default value is false. + */ + useSystemTrustStore?: any; + /** + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the + * server when connecting over SSL. The default value is false. + */ + allowHostNameCNMismatch?: any; + /** + * Specifies whether to allow self-signed certificates from the server. The default value is + * false. + */ + allowSelfSignedServerCert?: any; + /** + * The local time zone used by the connection. Valid values for this option are specified in the + * IANA Time Zone Database. The default value is the system time zone. + */ + timeZoneID?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -3605,13 +3482,13 @@ export interface SquareLinkedService { } /** - * Spark Server linked service. + * Phoenix server linked service. */ -export interface SparkLinkedService { +export interface PhoenixLinkedService { /** * Polymorphic Discriminator */ - type: "Spark"; + type: "Phoenix"; /** * The integration runtime reference. */ @@ -3629,40 +3506,32 @@ export interface SparkLinkedService { */ annotations?: any[]; /** - * IP address or host name of the Spark server + * The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) */ host: any; /** - * The TCP port that the Spark server uses to listen for client connections. - */ - port: any; - /** - * The type of Spark server. Possible values include: 'SharkServer', 'SharkServer2', - * 'SparkThriftServer' + * The TCP port that the Phoenix server uses to listen for client connections. The default value + * is 8765. */ - serverType?: SparkServerType; + port?: any; /** - * The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', - * 'HTTP ' + * The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). + * The default value is hbasephoenix if using WindowsAzureHDInsightService. */ - thriftTransportProtocol?: SparkThriftTransportProtocol; + httpPath?: any; /** - * The authentication method used to access the Spark server. Possible values include: - * 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService' + * The authentication mechanism used to connect to the Phoenix server. Possible values include: + * 'Anonymous', 'UsernameAndPassword', 'WindowsAzureHDInsightService' */ - authenticationType: SparkAuthenticationType; + authenticationType: PhoenixAuthenticationType; /** - * The user name that you use to access Spark Server. + * The user name used to connect to the Phoenix server. */ username?: any; /** - * The password corresponding to the user name that you provided in the Username field + * The password corresponding to the user name. */ password?: SecretBaseUnion; - /** - * The partial URL corresponding to the Spark server. - */ - httpPath?: any; /** * Specifies whether the connections to the server are encrypted using SSL. The default value is * false. @@ -3697,13 +3566,13 @@ export interface SparkLinkedService { } /** - * Shopify Service linked service. + * Paypal Service linked service. */ -export interface ShopifyLinkedService { +export interface PaypalLinkedService { /** * Polymorphic Discriminator */ - type: "Shopify"; + type: "Paypal"; /** * The integration runtime reference. */ @@ -3721,14 +3590,17 @@ export interface ShopifyLinkedService { */ annotations?: any[]; /** - * The endpoint of the Shopify server. (i.e. mystore.myshopify.com) + * The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) */ host: any; /** - * The API access token that can be used to access Shopify’s data. The token won't expire if it - * is offline mode. + * The client ID associated with your PayPal application. */ - accessToken?: SecretBaseUnion; + clientId: any; + /** + * The client secret associated with your PayPal application. + */ + clientSecret?: SecretBaseUnion; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is * true. @@ -3752,13 +3624,13 @@ export interface ShopifyLinkedService { } /** - * ServiceNow server linked service. + * Marketo server linked service. */ -export interface ServiceNowLinkedService { +export interface MarketoLinkedService { /** * Polymorphic Discriminator */ - type: "ServiceNow"; + type: "Marketo"; /** * The integration runtime reference. */ @@ -3776,27 +3648,15 @@ export interface ServiceNowLinkedService { */ annotations?: any[]; /** - * The endpoint of the ServiceNow server. (i.e. .service-now.com) + * The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com) */ endpoint: any; /** - * The authentication type to use. Possible values include: 'Basic', 'OAuth2' - */ - authenticationType: ServiceNowAuthenticationType; - /** - * The user name used to connect to the ServiceNow server for Basic and OAuth2 authentication. - */ - username?: any; - /** - * The password corresponding to the user name for Basic and OAuth2 authentication. - */ - password?: SecretBaseUnion; - /** - * The client id for OAuth2 authentication. + * The client Id of your Marketo service. */ - clientId?: any; + clientId: any; /** - * The client secret for OAuth2 authentication. + * The client secret of your Marketo service. */ clientSecret?: SecretBaseUnion; /** @@ -3822,13 +3682,13 @@ export interface ServiceNowLinkedService { } /** - * QuickBooks server linked service. + * Azure Database for MariaDB linked service. */ -export interface QuickBooksLinkedService { +export interface AzureMariaDBLinkedService { /** * Polymorphic Discriminator */ - type: "QuickBooks"; + type: "AzureMariaDB"; /** * The integration runtime reference. */ @@ -3846,34 +3706,13 @@ export interface QuickBooksLinkedService { */ annotations?: any[]; /** - * The endpoint of the QuickBooks server. (i.e. quickbooks.api.intuit.com) - */ - endpoint: any; - /** - * The company ID of the QuickBooks company to authorize. - */ - companyId: any; - /** - * The consumer key for OAuth 1.0 authentication. - */ - consumerKey: any; - /** - * The consumer secret for OAuth 1.0 authentication. - */ - consumerSecret: SecretBaseUnion; - /** - * The access token for OAuth 1.0 authentication. - */ - accessToken: SecretBaseUnion; - /** - * The access token secret for OAuth 1.0 authentication. + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - accessTokenSecret: SecretBaseUnion; + connectionString?: any; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. + * The Azure key vault secret reference of password in connection string. */ - useEncryptedEndpoints?: any; + pwd?: AzureKeyVaultSecretReference; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -3882,13 +3721,13 @@ export interface QuickBooksLinkedService { } /** - * Presto server linked service. + * MariaDB server linked service. */ -export interface PrestoLinkedService { +export interface MariaDBLinkedService { /** * Polymorphic Discriminator */ - type: "Presto"; + type: "MariaDB"; /** * The integration runtime reference. */ @@ -3906,66 +3745,67 @@ export interface PrestoLinkedService { */ annotations?: any[]; /** - * The IP address or host name of the Presto server. (i.e. 192.168.222.160) + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - host: any; + connectionString?: any; /** - * The version of the Presto server. (i.e. 0.148-t) + * The Azure key vault secret reference of password in connection string. */ - serverVersion: any; + pwd?: AzureKeyVaultSecretReference; /** - * The catalog context for all request against the server. + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - catalog: any; + encryptedCredential?: any; +} + +/** + * Magento server linked service. + */ +export interface MagentoLinkedService { /** - * The TCP port that the Presto server uses to listen for client connections. The default value - * is 8080. + * Polymorphic Discriminator */ - port?: any; + type: "Magento"; /** - * The authentication mechanism used to connect to the Presto server. Possible values include: - * 'Anonymous', 'LDAP' + * The integration runtime reference. */ - authenticationType: PrestoAuthenticationType; + connectVia?: IntegrationRuntimeReference; /** - * The user name used to connect to the Presto server. + * Linked service description. */ - username?: any; + description?: string; /** - * The password corresponding to the user name. + * Parameters for linked service. */ - password?: SecretBaseUnion; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. + * List of tags that can be used for describing the linked service. */ - enableSsl?: any; + annotations?: any[]; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. + * The URL of the Magento instance. (i.e. 192.168.222.110/magento3) */ - trustedCertPath?: any; + host: any; /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. + * The access token from Magento. */ - useSystemTrustStore?: any; + accessToken?: SecretBaseUnion; /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. */ - allowHostNameCNMismatch?: any; + useEncryptedEndpoints?: any; /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. + * Specifies whether to require the host name in the server's certificate to match the host name + * of the server when connecting over SSL. The default value is true. */ - allowSelfSignedServerCert?: any; + useHostVerification?: any; /** - * The local time zone used by the connection. Valid values for this option are specified in the - * IANA Time Zone Database. The default value is the system time zone. + * Specifies whether to verify the identity of the server when connecting over SSL. The default + * value is true. */ - timeZoneID?: any; + usePeerVerification?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -3974,13 +3814,13 @@ export interface PrestoLinkedService { } /** - * Phoenix server linked service. + * Jira Service linked service. */ -export interface PhoenixLinkedService { +export interface JiraLinkedService { /** * Polymorphic Discriminator */ - type: "Phoenix"; + type: "Jira"; /** * The integration runtime reference. */ @@ -3998,30 +3838,89 @@ export interface PhoenixLinkedService { */ annotations?: any[]; /** - * The IP address or host name of the Phoenix server. (i.e. 192.168.222.160) + * The IP address or host name of the Jira service. (e.g. jira.example.com) */ host: any; /** - * The TCP port that the Phoenix server uses to listen for client connections. The default value - * is 8765. + * The TCP port that the Jira server uses to listen for client connections. The default value is + * 443 if connecting through HTTPS, or 8080 if connecting through HTTP. */ port?: any; /** - * The partial URL corresponding to the Phoenix server. (i.e. /gateway/sandbox/phoenix/version). - * The default value is hbasephoenix if using WindowsAzureHDInsightService. + * The user name that you use to access Jira Service. */ - httpPath?: any; + username: any; /** - * The authentication mechanism used to connect to the Phoenix server. Possible values include: - * 'Anonymous', 'UsernameAndPassword', 'WindowsAzureHDInsightService' + * The password corresponding to the user name that you provided in the username field. */ - authenticationType: PhoenixAuthenticationType; + password?: SecretBaseUnion; /** - * The user name used to connect to the Phoenix server. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. + */ + useEncryptedEndpoints?: any; + /** + * Specifies whether to require the host name in the server's certificate to match the host name + * of the server when connecting over SSL. The default value is true. + */ + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default + * value is true. + */ + usePeerVerification?: 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; +} + +/** + * Impala server linked service. + */ +export interface ImpalaLinkedService { + /** + * Polymorphic Discriminator + */ + type: "Impala"; + /** + * The integration runtime reference. + */ + connectVia?: IntegrationRuntimeReference; + /** + * Linked service description. + */ + description?: string; + /** + * Parameters for linked service. + */ + parameters?: { [propertyName: string]: ParameterSpecification }; + /** + * List of tags that can be used for describing the linked service. + */ + annotations?: any[]; + /** + * The IP address or host name of the Impala server. (i.e. 192.168.222.160) + */ + host: any; + /** + * The TCP port that the Impala server uses to listen for client connections. The default value + * is 21050. + */ + port?: any; + /** + * The authentication type to use. Possible values include: 'Anonymous', 'SASLUsername', + * 'UsernameAndPassword' + */ + authenticationType: ImpalaAuthenticationType; + /** + * The user name used to access the Impala server. The default value is anonymous when using + * SASLUsername. */ username?: any; /** - * The password corresponding to the user name. + * The password corresponding to the user name when using UsernameAndPassword. */ password?: SecretBaseUnion; /** @@ -4058,13 +3957,13 @@ export interface PhoenixLinkedService { } /** - * Paypal Service linked service. + * Hubspot Service linked service. */ -export interface PaypalLinkedService { +export interface HubspotLinkedService { /** * Polymorphic Discriminator */ - type: "Paypal"; + type: "Hubspot"; /** * The integration runtime reference. */ @@ -4082,17 +3981,21 @@ export interface PaypalLinkedService { */ annotations?: any[]; /** - * The URL of the PayPal instance. (i.e. api.sandbox.paypal.com) - */ - host: any; - /** - * The client ID associated with your PayPal application. + * The client ID associated with your Hubspot application. */ clientId: any; /** - * The client secret associated with your PayPal application. + * The client secret associated with your Hubspot application. */ clientSecret?: SecretBaseUnion; + /** + * The access token obtained when initially authenticating your OAuth integration. + */ + accessToken?: SecretBaseUnion; + /** + * The refresh token obtained when initially authenticating your OAuth integration. + */ + refreshToken?: SecretBaseUnion; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is * true. @@ -4116,13 +4019,13 @@ export interface PaypalLinkedService { } /** - * Marketo server linked service. + * Hive Server linked service. */ -export interface MarketoLinkedService { +export interface HiveLinkedService { /** * Polymorphic Discriminator */ - type: "Marketo"; + type: "Hive"; /** * The integration runtime reference. */ @@ -4140,32 +4043,80 @@ export interface MarketoLinkedService { */ annotations?: any[]; /** - * The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com) + * IP address or host name of the Hive server, separated by ';' for multiple hosts (only when + * serviceDiscoveryMode is enable). */ - endpoint: any; + host: any; /** - * The client Id of your Marketo service. + * The TCP port that the Hive server uses to listen for client connections. */ - clientId: any; + port?: any; /** - * The client secret of your Marketo service. + * The type of Hive server. Possible values include: 'HiveServer1', 'HiveServer2', + * 'HiveThriftServer' */ - clientSecret?: SecretBaseUnion; + serverType?: HiveServerType; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. + * The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', + * 'HTTP ' */ - useEncryptedEndpoints?: any; + thriftTransportProtocol?: HiveThriftTransportProtocol; /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. + * The authentication method used to access the Hive server. Possible values include: + * 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService' */ - useHostVerification?: any; + authenticationType: HiveAuthenticationType; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. + * true to indicate using the ZooKeeper service, false not. */ - usePeerVerification?: any; + serviceDiscoveryMode?: any; + /** + * The namespace on ZooKeeper under which Hive Server 2 nodes are added. + */ + zooKeeperNameSpace?: any; + /** + * Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent + * form in HiveQL. + */ + useNativeQuery?: any; + /** + * The user name that you use to access Hive Server. + */ + username?: any; + /** + * The password corresponding to the user name that you provided in the Username field + */ + password?: SecretBaseUnion; + /** + * The partial URL corresponding to the Hive server. + */ + httpPath?: any; + /** + * Specifies whether the connections to the server are encrypted using SSL. The default value is + * false. + */ + enableSsl?: any; + /** + * The full path of the .pem file containing trusted CA certificates for verifying the server + * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The + * default value is the cacerts.pem file installed with the IR. + */ + trustedCertPath?: any; + /** + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM + * file. The default value is false. + */ + useSystemTrustStore?: any; + /** + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the + * server when connecting over SSL. The default value is false. + */ + allowHostNameCNMismatch?: any; + /** + * Specifies whether to allow self-signed certificates from the server. The default value is + * false. + */ + allowSelfSignedServerCert?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4174,13 +4125,13 @@ export interface MarketoLinkedService { } /** - * Azure Database for MariaDB linked service. + * HBase server linked service. */ -export interface AzureMariaDBLinkedService { +export interface HBaseLinkedService { /** * Polymorphic Discriminator */ - type: "AzureMariaDB"; + type: "HBase"; /** * The integration runtime reference. */ @@ -4198,13 +4149,52 @@ export interface AzureMariaDBLinkedService { */ annotations?: any[]; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The IP address or host name of the HBase server. (i.e. 192.168.222.160) */ - connectionString?: any; + host: any; /** - * The Azure key vault secret reference of password in connection string. + * The TCP port that the HBase instance uses to listen for client connections. The default value + * is 9090. */ - pwd?: AzureKeyVaultSecretReference; + port?: any; + /** + * The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version) + */ + httpPath?: any; + /** + * The authentication mechanism to use to connect to the HBase server. Possible values include: + * 'Anonymous', 'Basic' + */ + authenticationType: HBaseAuthenticationType; + /** + * The user name used to connect to the HBase instance. + */ + username?: any; + /** + * The password corresponding to the user name. + */ + password?: SecretBaseUnion; + /** + * Specifies whether the connections to the server are encrypted using SSL. The default value is + * false. + */ + enableSsl?: any; + /** + * The full path of the .pem file containing trusted CA certificates for verifying the server + * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The + * default value is the cacerts.pem file installed with the IR. + */ + trustedCertPath?: any; + /** + * Specifies whether to require a CA-issued SSL certificate name to match the host name of the + * server when connecting over SSL. The default value is false. + */ + allowHostNameCNMismatch?: any; + /** + * Specifies whether to allow self-signed certificates from the server. The default value is + * false. + */ + allowSelfSignedServerCert?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4213,13 +4203,13 @@ export interface AzureMariaDBLinkedService { } /** - * MariaDB server linked service. + * Greenplum Database linked service. */ -export interface MariaDBLinkedService { +export interface GreenplumLinkedService { /** * Polymorphic Discriminator */ - type: "MariaDB"; + type: "Greenplum"; /** * The integration runtime reference. */ @@ -4252,13 +4242,13 @@ export interface MariaDBLinkedService { } /** - * Magento server linked service. + * Google BigQuery service linked service. */ -export interface MagentoLinkedService { +export interface GoogleBigQueryLinkedService { /** * Polymorphic Discriminator */ - type: "Magento"; + type: "GoogleBigQuery"; /** * The integration runtime reference. */ @@ -4276,28 +4266,60 @@ export interface MagentoLinkedService { */ annotations?: any[]; /** - * The URL of the Magento instance. (i.e. 192.168.222.110/magento3) + * The default BigQuery project to query against. */ - host: any; + project: any; /** - * The access token from Magento. + * A comma-separated list of public BigQuery projects to access. */ - accessToken?: SecretBaseUnion; + additionalProjects?: any; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. + * Whether to request access to Google Drive. Allowing Google Drive access enables support for + * federated tables that combine BigQuery data with data from Google Drive. The default value is + * false. */ - useEncryptedEndpoints?: any; + requestGoogleDriveScope?: any; /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. - */ - useHostVerification?: any; + * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only + * be used on self-hosted IR. Possible values include: 'ServiceAuthentication', + * 'UserAuthentication' + */ + authenticationType: GoogleBigQueryAuthenticationType; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. + * The refresh token obtained from Google for authorizing access to BigQuery for + * UserAuthentication. */ - usePeerVerification?: any; + refreshToken?: SecretBaseUnion; + /** + * The client id of the google application used to acquire the refresh token. Type: string (or + * Expression with resultType string). + */ + clientId?: any; + /** + * The client secret of the google application used to acquire the refresh token. + */ + clientSecret?: SecretBaseUnion; + /** + * The service account email ID that is used for ServiceAuthentication and can only be used on + * self-hosted IR. + */ + email?: any; + /** + * The full path to the .p12 key file that is used to authenticate the service account email + * address and can only be used on self-hosted IR. + */ + keyFilePath?: any; + /** + * The full path of the .pem file containing trusted CA certificates for verifying the server + * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The + * default value is the cacerts.pem file installed with the IR. + */ + trustedCertPath?: any; + /** + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM + * file. The default value is false. + */ + useSystemTrustStore?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4306,13 +4328,13 @@ export interface MagentoLinkedService { } /** - * Jira Service linked service. + * Eloqua server linked service. */ -export interface JiraLinkedService { +export interface EloquaLinkedService { /** * Polymorphic Discriminator */ - type: "Jira"; + type: "Eloqua"; /** * The integration runtime reference. */ @@ -4330,20 +4352,16 @@ export interface JiraLinkedService { */ annotations?: any[]; /** - * The IP address or host name of the Jira service. (e.g. jira.example.com) - */ - host: any; - /** - * The TCP port that the Jira server uses to listen for client connections. The default value is - * 443 if connecting through HTTPS, or 8080 if connecting through HTTP. + * The endpoint of the Eloqua server. (i.e. eloqua.example.com) */ - port?: any; + endpoint: any; /** - * The user name that you use to access Jira Service. + * The site name and user name of your Eloqua account in the form: sitename/username. (i.e. + * Eloqua/Alice) */ username: any; /** - * The password corresponding to the user name that you provided in the username field. + * The password corresponding to the user name. */ password?: SecretBaseUnion; /** @@ -4369,13 +4387,13 @@ export interface JiraLinkedService { } /** - * Impala server linked service. + * Drill server linked service. */ -export interface ImpalaLinkedService { +export interface DrillLinkedService { /** * Polymorphic Discriminator */ - type: "Impala"; + type: "Drill"; /** * The integration runtime reference. */ @@ -4393,54 +4411,52 @@ export interface ImpalaLinkedService { */ annotations?: any[]; /** - * The IP address or host name of the Impala server. (i.e. 192.168.222.160) + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - host: any; + connectionString?: any; /** - * The TCP port that the Impala server uses to listen for client connections. The default value - * is 21050. + * The Azure key vault secret reference of password in connection string. */ - port?: any; + pwd?: AzureKeyVaultSecretReference; /** - * The authentication type to use. Possible values include: 'Anonymous', 'SASLUsername', - * 'UsernameAndPassword' + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - authenticationType: ImpalaAuthenticationType; + encryptedCredential?: any; +} + +/** + * Couchbase server linked service. + */ +export interface CouchbaseLinkedService { /** - * The user name used to access the Impala server. The default value is anonymous when using - * SASLUsername. + * Polymorphic Discriminator */ - username?: any; + type: "Couchbase"; /** - * The password corresponding to the user name when using UsernameAndPassword. + * The integration runtime reference. */ - password?: SecretBaseUnion; + connectVia?: IntegrationRuntimeReference; /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. + * Linked service description. */ - enableSsl?: any; + description?: string; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. + * Parameters for linked service. */ - trustedCertPath?: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. + * List of tags that can be used for describing the linked service. */ - useSystemTrustStore?: any; + annotations?: any[]; /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - allowHostNameCNMismatch?: any; + connectionString?: any; /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. + * The Azure key vault secret reference of credString in connection string. */ - allowSelfSignedServerCert?: any; + credString?: AzureKeyVaultSecretReference; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4449,13 +4465,13 @@ export interface ImpalaLinkedService { } /** - * Hubspot Service linked service. + * Concur Service linked service. */ -export interface HubspotLinkedService { +export interface ConcurLinkedService { /** * Polymorphic Discriminator */ - type: "Hubspot"; + type: "Concur"; /** * The integration runtime reference. */ @@ -4473,21 +4489,17 @@ export interface HubspotLinkedService { */ annotations?: any[]; /** - * The client ID associated with your Hubspot application. + * Application client_id supplied by Concur App Management. */ clientId: any; /** - * The client secret associated with your Hubspot application. - */ - clientSecret?: SecretBaseUnion; - /** - * The access token obtained when initially authenticating your OAuth integration. + * The user name that you use to access Concur Service. */ - accessToken?: SecretBaseUnion; + username: any; /** - * The refresh token obtained when initially authenticating your OAuth integration. + * The password corresponding to the user name that you provided in the username field. */ - refreshToken?: SecretBaseUnion; + password?: SecretBaseUnion; /** * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is * true. @@ -4511,13 +4523,13 @@ export interface HubspotLinkedService { } /** - * Hive Server linked service. + * Azure PostgreSQL linked service. */ -export interface HiveLinkedService { +export interface AzurePostgreSqlLinkedService { /** * Polymorphic Discriminator */ - type: "Hive"; + type: "AzurePostgreSql"; /** * The integration runtime reference. */ @@ -4535,80 +4547,84 @@ export interface HiveLinkedService { */ annotations?: any[]; /** - * IP address or host name of the Hive server, separated by ';' for multiple hosts (only when - * serviceDiscoveryMode is enable). + * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - host: any; + connectionString?: any; /** - * The TCP port that the Hive server uses to listen for client connections. + * The Azure key vault secret reference of password in connection string. */ - port?: any; + password?: AzureKeyVaultSecretReference; /** - * The type of Hive server. Possible values include: 'HiveServer1', 'HiveServer2', - * 'HiveThriftServer' + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - serverType?: HiveServerType; + encryptedCredential?: any; +} + +/** + * Amazon Marketplace Web Service linked service. + */ +export interface AmazonMWSLinkedService { /** - * The transport protocol to use in the Thrift layer. Possible values include: 'Binary', 'SASL', - * 'HTTP ' + * Polymorphic Discriminator */ - thriftTransportProtocol?: HiveThriftTransportProtocol; + type: "AmazonMWS"; /** - * The authentication method used to access the Hive server. Possible values include: - * 'Anonymous', 'Username', 'UsernameAndPassword', 'WindowsAzureHDInsightService' + * The integration runtime reference. */ - authenticationType: HiveAuthenticationType; + connectVia?: IntegrationRuntimeReference; /** - * true to indicate using the ZooKeeper service, false not. + * Linked service description. */ - serviceDiscoveryMode?: any; + description?: string; /** - * The namespace on ZooKeeper under which Hive Server 2 nodes are added. + * Parameters for linked service. */ - zooKeeperNameSpace?: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent - * form in HiveQL. + * List of tags that can be used for describing the linked service. */ - useNativeQuery?: any; + annotations?: any[]; /** - * The user name that you use to access Hive Server. + * The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com) */ - username?: any; + endpoint: any; /** - * The password corresponding to the user name that you provided in the Username field + * The Amazon Marketplace ID you want to retrieve data from. To retrieve data from multiple + * Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2) */ - password?: SecretBaseUnion; + marketplaceID: any; /** - * The partial URL corresponding to the Hive server. + * The Amazon seller ID. */ - httpPath?: any; + sellerID: any; /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. + * The Amazon MWS authentication token. */ - enableSsl?: any; + mwsAuthToken?: SecretBaseUnion; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. + * The access key id used to access data. */ - trustedCertPath?: any; + accessKeyId: any; /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. + * The secret key used to access data. */ - useSystemTrustStore?: any; + secretKey?: SecretBaseUnion; /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. */ - allowHostNameCNMismatch?: any; + useEncryptedEndpoints?: any; /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. + * Specifies whether to require the host name in the server's certificate to match the host name + * of the server when connecting over SSL. The default value is true. */ - allowSelfSignedServerCert?: any; + useHostVerification?: any; + /** + * Specifies whether to verify the identity of the server when connecting over SSL. The default + * value is true. + */ + usePeerVerification?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4617,13 +4633,13 @@ export interface HiveLinkedService { } /** - * HBase server linked service. + * SAP HANA Linked Service. */ -export interface HBaseLinkedService { +export interface SapHanaLinkedService { /** * Polymorphic Discriminator */ - type: "HBase"; + type: "SapHana"; /** * The integration runtime reference. */ @@ -4641,52 +4657,26 @@ export interface HBaseLinkedService { */ annotations?: any[]; /** - * The IP address or host name of the HBase server. (i.e. 192.168.222.160) + * SAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - host: any; + connectionString?: any; /** - * The TCP port that the HBase instance uses to listen for client connections. The default value - * is 9090. + * Host name of the SAP HANA server. Type: string (or Expression with resultType string). */ - port?: any; + server: any; /** - * The partial URL corresponding to the HBase server. (i.e. /gateway/sandbox/hbase/version) - */ - httpPath?: any; - /** - * The authentication mechanism to use to connect to the HBase server. Possible values include: - * 'Anonymous', 'Basic' + * The authentication type to be used to connect to the SAP HANA server. Possible values include: + * 'Basic', 'Windows' */ - authenticationType: HBaseAuthenticationType; + authenticationType?: SapHanaAuthenticationType; /** - * The user name used to connect to the HBase instance. + * Username to access the SAP HANA server. Type: string (or Expression with resultType string). */ - username?: any; + userName?: any; /** - * The password corresponding to the user name. + * Password to access the SAP HANA server. */ password?: SecretBaseUnion; - /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. - */ - enableSsl?: any; - /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. - */ - trustedCertPath?: any; - /** - * Specifies whether to require a CA-issued SSL certificate name to match the host name of the - * server when connecting over SSL. The default value is false. - */ - allowHostNameCNMismatch?: any; - /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. - */ - allowSelfSignedServerCert?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4695,13 +4685,13 @@ export interface HBaseLinkedService { } /** - * Greenplum Database linked service. + * SAP Business Warehouse Linked Service. */ -export interface GreenplumLinkedService { +export interface SapBWLinkedService { /** * Polymorphic Discriminator */ - type: "Greenplum"; + type: "SapBW"; /** * The integration runtime reference. */ @@ -4719,13 +4709,27 @@ export interface GreenplumLinkedService { */ annotations?: any[]; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Host name of the SAP BW instance. Type: string (or Expression with resultType string). */ - connectionString?: any; + server: any; /** - * The Azure key vault secret reference of password in connection string. + * System number of the BW system. (Usually a two-digit decimal number represented as a string.) + * Type: string (or Expression with resultType string). */ - pwd?: AzureKeyVaultSecretReference; + systemNumber: any; + /** + * Client ID of the client on the BW system. (Usually a three-digit decimal number represented as + * a string) Type: string (or Expression with resultType string). + */ + clientId: any; + /** + * Username to access the SAP BW server. Type: string (or Expression with resultType string). + */ + userName?: any; + /** + * Password to access the SAP BW server. + */ + password?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4734,13 +4738,13 @@ export interface GreenplumLinkedService { } /** - * Google BigQuery service linked service. + * A linked service for an SSH File Transfer Protocol (SFTP) server. */ -export interface GoogleBigQueryLinkedService { +export interface SftpServerLinkedService { /** * Polymorphic Discriminator */ - type: "GoogleBigQuery"; + type: "Sftp"; /** * The integration runtime reference. */ @@ -4758,75 +4762,70 @@ export interface GoogleBigQueryLinkedService { */ annotations?: any[]; /** - * The default BigQuery project to query against. - */ - project: any; - /** - * A comma-separated list of public BigQuery projects to access. + * The SFTP server host name. Type: string (or Expression with resultType string). */ - additionalProjects?: any; + host: any; /** - * Whether to request access to Google Drive. Allowing Google Drive access enables support for - * federated tables that combine BigQuery data with data from Google Drive. The default value is - * false. + * The TCP port number that the SFTP server uses to listen for client connections. Default value + * is 22. Type: integer (or Expression with resultType integer), minimum: 0. */ - requestGoogleDriveScope?: any; + port?: any; /** - * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only - * be used on self-hosted IR. Possible values include: 'ServiceAuthentication', - * 'UserAuthentication' + * The authentication type to be used to connect to the FTP server. Possible values include: + * 'Basic', 'SshPublicKey' */ - authenticationType: GoogleBigQueryAuthenticationType; + authenticationType?: SftpAuthenticationType; /** - * The refresh token obtained from Google for authorizing access to BigQuery for - * UserAuthentication. + * The username used to log on to the SFTP server. Type: string (or Expression with resultType + * string). */ - refreshToken?: SecretBaseUnion; + userName?: any; /** - * The client id of the google application used to acquire the refresh token. Type: string (or - * Expression with resultType string). + * Password to logon the SFTP server for Basic authentication. */ - clientId?: any; + password?: SecretBaseUnion; /** - * The client secret of the google application used to acquire the refresh token. + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - clientSecret?: SecretBaseUnion; + encryptedCredential?: any; /** - * The service account email ID that is used for ServiceAuthentication and can only be used on - * self-hosted IR. + * The SSH private key file path for SshPublicKey authentication. Only valid for on-premises + * copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or + * PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string + * (or Expression with resultType string). */ - email?: any; + privateKeyPath?: any; /** - * The full path to the .p12 key file that is used to authenticate the service account email - * address and can only be used on self-hosted IR. + * Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy + * with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be + * specified. SSH private key should be OpenSSH format. */ - keyFilePath?: any; + privateKeyContent?: SecretBaseUnion; /** - * The full path of the .pem file containing trusted CA certificates for verifying the server - * when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The - * default value is the cacerts.pem file installed with the IR. + * The password to decrypt the SSH private key if the SSH private key is encrypted. */ - trustedCertPath?: any; + passPhrase?: SecretBaseUnion; /** - * Specifies whether to use a CA certificate from the system trust store or from a specified PEM - * file. The default value is false. + * If true, skip the SSH host key validation. Default value is false. Type: boolean (or + * Expression with resultType boolean). */ - useSystemTrustStore?: any; + skipHostKeyValidation?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, + * HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + hostKeyFingerprint?: any; } /** - * Eloqua server linked service. + * A FTP server Linked Service. */ -export interface EloquaLinkedService { +export interface FtpServerLinkedService { /** * Polymorphic Discriminator */ - type: "Eloqua"; + type: "FtpServer"; /** * The integration runtime reference. */ @@ -4844,48 +4843,52 @@ export interface EloquaLinkedService { */ annotations?: any[]; /** - * The endpoint of the Eloqua server. (i.e. eloqua.example.com) - */ - endpoint: any; - /** - * The site name and user name of your Eloqua account in the form: sitename/username. (i.e. - * Eloqua/Alice) + * Host name of the FTP server. Type: string (or Expression with resultType string). */ - username: any; + host: any; /** - * The password corresponding to the user name. + * The TCP port number that the FTP server uses to listen for client connections. Default value + * is 21. Type: integer (or Expression with resultType integer), minimum: 0. */ - password?: SecretBaseUnion; + port?: any; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. + * The authentication type to be used to connect to the FTP server. Possible values include: + * 'Basic', 'Anonymous' */ - useEncryptedEndpoints?: any; + authenticationType?: FtpAuthenticationType; /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. + * Username to logon the FTP server. Type: string (or Expression with resultType string). */ - useHostVerification?: any; + userName?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. + * Password to logon the FTP server. */ - usePeerVerification?: any; + password?: 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; + /** + * If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean + * (or Expression with resultType boolean). + */ + enableSsl?: any; + /** + * If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default + * value is true. Type: boolean (or Expression with resultType boolean). + */ + enableServerCertificateValidation?: any; } /** - * Drill server linked service. + * Linked service for an HTTP source. */ -export interface DrillLinkedService { +export interface HttpLinkedService { /** * Polymorphic Discriminator */ - type: "Drill"; + type: "HttpServer"; /** * The integration runtime reference. */ @@ -4903,28 +4906,58 @@ export interface DrillLinkedService { */ annotations?: any[]; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression + * with resultType string). */ - connectionString?: any; + url: any; /** - * The Azure key vault secret reference of password in connection string. + * The authentication type to be used to connect to the HTTP server. Possible values include: + * 'Basic', 'Anonymous', 'Digest', 'Windows', 'ClientCertificate' */ - pwd?: AzureKeyVaultSecretReference; + authenticationType?: HttpAuthenticationType; + /** + * User name for Basic, Digest, or Windows authentication. Type: string (or Expression with + * resultType string). + */ + userName?: any; + /** + * Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData + * authentication. + */ + password?: SecretBaseUnion; + /** + * Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy + * with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password + * should be specified. Type: string (or Expression with resultType string). + */ + embeddedCertData?: any; + /** + * Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises + * copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or + * EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType + * string). + */ + certThumbprint?: 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; + /** + * If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or + * Expression with resultType boolean). + */ + enableServerCertificateValidation?: any; } /** - * Couchbase server linked service. + * Linked service for Windows Azure Search Service. */ -export interface CouchbaseLinkedService { +export interface AzureSearchLinkedService { /** * Polymorphic Discriminator */ - type: "Couchbase"; + type: "AzureSearch"; /** * The integration runtime reference. */ @@ -4942,13 +4975,13 @@ export interface CouchbaseLinkedService { */ annotations?: any[]; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * URL for Azure Search service. Type: string (or Expression with resultType string). */ - connectionString?: any; + url: any; /** - * The Azure key vault secret reference of credString in connection string. + * Admin Key for Azure Search service */ - credString?: AzureKeyVaultSecretReference; + key?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4957,13 +4990,13 @@ export interface CouchbaseLinkedService { } /** - * Concur Service linked service. + * Custom linked service. */ -export interface ConcurLinkedService { +export interface CustomDataSourceLinkedService { /** * Polymorphic Discriminator */ - type: "Concur"; + type: "CustomDataSource"; /** * The integration runtime reference. */ @@ -4981,32 +5014,58 @@ export interface ConcurLinkedService { */ annotations?: any[]; /** - * Application client_id supplied by Concur App Management. + * Custom linked service properties. */ - clientId: any; - /** - * The user name that you use to access Concur Service. + typeProperties: any; +} + +/** + * Linked service for Amazon Redshift. + */ +export interface AmazonRedshiftLinkedService { + /** + * Polymorphic Discriminator */ - username: any; + type: "AmazonRedshift"; /** - * The password corresponding to the user name that you provided in the username field. + * The integration runtime reference. */ - password?: SecretBaseUnion; + connectVia?: IntegrationRuntimeReference; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. + * Linked service description. */ - useEncryptedEndpoints?: any; + description?: string; /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. + * Parameters for linked service. */ - useHostVerification?: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. + * List of tags that can be used for describing the linked service. */ - usePeerVerification?: any; + annotations?: any[]; + /** + * The name of the Amazon Redshift server. Type: string (or Expression with resultType string). + */ + server: any; + /** + * The username of the Amazon Redshift source. Type: string (or Expression with resultType + * string). + */ + username?: any; + /** + * The password of the Amazon Redshift source. + */ + password?: SecretBaseUnion; + /** + * The database name of the Amazon Redshift source. Type: string (or Expression with resultType + * string). + */ + database: any; + /** + * The TCP port number that the Amazon Redshift server uses to listen for client connections. The + * default value is 5439. Type: integer (or Expression with resultType integer). + */ + port?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5015,13 +5074,13 @@ export interface ConcurLinkedService { } /** - * Azure PostgreSQL linked service. + * Linked service for Amazon S3. */ -export interface AzurePostgreSqlLinkedService { +export interface AmazonS3LinkedService { /** * Polymorphic Discriminator */ - type: "AzurePostgreSql"; + type: "AmazonS3"; /** * The integration runtime reference. */ @@ -5039,13 +5098,20 @@ export interface AzurePostgreSqlLinkedService { */ annotations?: any[]; /** - * An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: + * string (or Expression with resultType string). */ - connectionString?: any; + accessKeyId?: any; /** - * The Azure key vault secret reference of password in connection string. + * The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */ - password?: AzureKeyVaultSecretReference; + 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 encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5054,13 +5120,13 @@ export interface AzurePostgreSqlLinkedService { } /** - * Amazon Marketplace Web Service linked service. + * Rest Service linked service. */ -export interface AmazonMWSLinkedService { +export interface RestServiceLinkedService { /** * Polymorphic Discriminator */ - type: "AmazonMWS"; + type: "RestService"; /** * The integration runtime reference. */ @@ -5078,45 +5144,44 @@ export interface AmazonMWSLinkedService { */ annotations?: any[]; /** - * The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com) + * The base URL of the REST service. */ - endpoint: any; + url: any; /** - * The Amazon Marketplace ID you want to retrieve data from. To retrieve data from multiple - * Marketplace IDs, separate them with a comma (,). (i.e. A2EUQ1WTGCTBG2) + * Whether to validate server side SSL certificate when connecting to the endpoint.The default + * value is true. Type: boolean (or Expression with resultType boolean). */ - marketplaceID: any; + enableServerCertificateValidation?: any; /** - * The Amazon seller ID. + * Type of authentication used to connect to the REST service. Possible values include: + * 'Anonymous', 'Basic', 'AadServicePrincipal', 'ManagedServiceIdentity' */ - sellerID: any; + authenticationType: RestServiceAuthenticationType; /** - * The Amazon MWS authentication token. + * The user name used in Basic authentication type. */ - mwsAuthToken?: SecretBaseUnion; + userName?: any; /** - * The access key id used to access data. + * The password used in Basic authentication type. */ - accessKeyId: any; + password?: SecretBaseUnion; /** - * The secret key used to access data. + * The application's client ID used in AadServicePrincipal authentication type. */ - secretKey?: SecretBaseUnion; + servicePrincipalId?: any; /** - * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is - * true. + * The application's key used in AadServicePrincipal authentication type. */ - useEncryptedEndpoints?: any; + servicePrincipalKey?: SecretBaseUnion; /** - * Specifies whether to require the host name in the server's certificate to match the host name - * of the server when connecting over SSL. The default value is true. + * The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication + * type under which your application resides. */ - useHostVerification?: any; + tenant?: any; /** - * Specifies whether to verify the identity of the server when connecting over SSL. The default - * value is true. + * The resource you are requesting authorization to use. */ - usePeerVerification?: any; + aadResourceId?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5125,13 +5190,13 @@ export interface AmazonMWSLinkedService { } /** - * SAP HANA Linked Service. + * SAP Business Warehouse Open Hub Destination Linked Service. */ -export interface SapHanaLinkedService { +export interface SapOpenHubLinkedService { /** * Polymorphic Discriminator */ - type: "SapHana"; + type: "SapOpenHub"; /** * The integration runtime reference. */ @@ -5149,24 +5214,33 @@ export interface SapHanaLinkedService { */ annotations?: any[]; /** - * SAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Host name of the SAP BW instance where the open hub destination is located. Type: string (or + * Expression with resultType string). */ - connectionString?: any; + server: any; /** - * Host name of the SAP HANA server. Type: string (or Expression with resultType string). + * 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). */ - server: any; + systemNumber: any; /** - * The authentication type to be used to connect to the SAP HANA server. Possible values include: - * 'Basic', 'Windows' + * 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). */ - authenticationType?: SapHanaAuthenticationType; + clientId: any; /** - * Username to access the SAP HANA server. Type: string (or Expression with resultType string). + * 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 HANA server. + * Password to access the SAP BW server where the open hub destination is located. */ password?: SecretBaseUnion; /** @@ -5177,13 +5251,13 @@ export interface SapHanaLinkedService { } /** - * SAP Business Warehouse Linked Service. + * Linked service for SAP ERP Central Component(SAP ECC). */ -export interface SapBWLinkedService { +export interface SapEccLinkedService { /** * Polymorphic Discriminator */ - type: "SapBW"; + type: "SapEcc"; /** * The integration runtime reference. */ @@ -5201,42 +5275,35 @@ export interface SapBWLinkedService { */ annotations?: any[]; /** - * Host name of the SAP BW instance. Type: string (or Expression with resultType string). - */ - server: any; - /** - * System number of the BW system. (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. (Usually a three-digit decimal number represented as - * a string) Type: string (or Expression with resultType string). + * The URL of SAP ECC OData API. For example, + * '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with + * resultType string). */ - clientId: any; + url: string; /** - * Username to access the SAP BW server. Type: string (or Expression with resultType string). + * The username for Basic authentication. Type: string (or Expression with resultType string). */ - userName?: any; + username?: string; /** - * Password to access the SAP BW server. + * The password for Basic authentication. */ password?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * integration runtime credential manager. Either encryptedCredential or username/password must + * be provided. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + encryptedCredential?: string; } /** - * A linked service for an SSH File Transfer Protocol (SFTP) server. + * Linked service for SAP Cloud for Customer. */ -export interface SftpServerLinkedService { +export interface SapCloudForCustomerLinkedService { /** * Polymorphic Discriminator */ - type: "Sftp"; + type: "SapCloudForCustomer"; /** * The integration runtime reference. */ @@ -5254,70 +5321,35 @@ export interface SftpServerLinkedService { */ annotations?: any[]; /** - * The SFTP server host name. Type: string (or Expression with resultType string). - */ - host: any; - /** - * The TCP port number that the SFTP server uses to listen for client connections. Default value - * is 22. Type: integer (or Expression with resultType integer), minimum: 0. - */ - port?: any; - /** - * The authentication type to be used to connect to the FTP server. Possible values include: - * 'Basic', 'SshPublicKey' + * The URL of SAP Cloud for Customer OData API. For example, + * '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with + * resultType string). */ - authenticationType?: SftpAuthenticationType; + url: any; /** - * The username used to log on to the SFTP server. Type: string (or Expression with resultType - * string). + * The username for Basic authentication. Type: string (or Expression with resultType string). */ - userName?: any; + username?: any; /** - * Password to logon the SFTP server for Basic authentication. + * The password for Basic authentication. */ password?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * integration runtime credential manager. Either encryptedCredential or username/password must + * be provided. Type: string (or Expression with resultType string). */ encryptedCredential?: any; - /** - * The SSH private key file path for SshPublicKey authentication. Only valid for on-premises - * copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or - * PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string - * (or Expression with resultType string). - */ - privateKeyPath?: any; - /** - * Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy - * with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be - * specified. SSH private key should be OpenSSH format. - */ - privateKeyContent?: SecretBaseUnion; - /** - * The password to decrypt the SSH private key if the SSH private key is encrypted. - */ - passPhrase?: SecretBaseUnion; - /** - * If true, skip the SSH host key validation. Default value is false. Type: boolean (or - * Expression with resultType boolean). - */ - skipHostKeyValidation?: any; - /** - * The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, - * HostKeyFingerprint should be specified. Type: string (or Expression with resultType string). - */ - hostKeyFingerprint?: any; } /** - * A FTP server Linked Service. + * Linked service for Salesforce Service Cloud. */ -export interface FtpServerLinkedService { +export interface SalesforceServiceCloudLinkedService { /** * Polymorphic Discriminator */ - type: "FtpServer"; + type: "SalesforceServiceCloud"; /** * The integration runtime reference. */ @@ -5335,52 +5367,45 @@ export interface FtpServerLinkedService { */ annotations?: any[]; /** - * Host name of the FTP server. Type: string (or Expression with resultType string). - */ - host: any; + * The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To + * copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom + * domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or + * Expression with resultType string). + */ + environmentUrl?: any; /** - * The TCP port number that the FTP server uses to listen for client connections. Default value - * is 21. Type: integer (or Expression with resultType integer), minimum: 0. + * The username for Basic authentication of the Salesforce instance. Type: string (or Expression + * with resultType string). */ - port?: any; + username?: any; /** - * The authentication type to be used to connect to the FTP server. Possible values include: - * 'Basic', 'Anonymous' + * The password for Basic authentication of the Salesforce instance. */ - authenticationType?: FtpAuthenticationType; + password?: SecretBaseUnion; /** - * Username to logon the FTP server. Type: string (or Expression with resultType string). + * The security token is required to remotely access Salesforce instance. */ - userName?: any; + securityToken?: SecretBaseUnion; /** - * Password to logon the FTP server. + * Extended properties appended to the connection string. Type: string (or Expression with + * resultType string). */ - password?: SecretBaseUnion; + extendedProperties?: 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; - /** - * If true, connect to the FTP server over SSL/TLS channel. Default value is true. Type: boolean - * (or Expression with resultType boolean). - */ - enableSsl?: any; - /** - * If true, validate the FTP server SSL certificate when connect over SSL/TLS channel. Default - * value is true. Type: boolean (or Expression with resultType boolean). - */ - enableServerCertificateValidation?: any; } /** - * Linked service for an HTTP source. + * Linked service for Salesforce. */ -export interface HttpLinkedService { +export interface SalesforceLinkedService { /** * Polymorphic Discriminator */ - type: "HttpServer"; + type: "Salesforce"; /** * The integration runtime reference. */ @@ -5398,58 +5423,40 @@ export interface HttpLinkedService { */ annotations?: any[]; /** - * The base URL of the HTTP endpoint, e.g. http://www.microsoft.com. Type: string (or Expression - * with resultType string). - */ - url: any; - /** - * The authentication type to be used to connect to the HTTP server. Possible values include: - * 'Basic', 'Anonymous', 'Digest', 'Windows', 'ClientCertificate' + * The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from + * sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for + * example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType + * string). */ - authenticationType?: HttpAuthenticationType; + environmentUrl?: any; /** - * User name for Basic, Digest, or Windows authentication. Type: string (or Expression with - * resultType string). + * The username for Basic authentication of the Salesforce instance. Type: string (or Expression + * with resultType string). */ - userName?: any; + username?: any; /** - * Password for Basic, Digest, Windows, or ClientCertificate with EmbeddedCertData - * authentication. + * The password for Basic authentication of the Salesforce instance. */ password?: SecretBaseUnion; /** - * Base64 encoded certificate data for ClientCertificate authentication. For on-premises copy - * with ClientCertificate authentication, either CertThumbprint or EmbeddedCertData/Password - * should be specified. Type: string (or Expression with resultType string). - */ - embeddedCertData?: any; - /** - * Thumbprint of certificate for ClientCertificate authentication. Only valid for on-premises - * copy. For on-premises copy with ClientCertificate authentication, either CertThumbprint or - * EmbeddedCertData/Password should be specified. Type: string (or Expression with resultType - * string). + * The security token is required to remotely access Salesforce instance. */ - certThumbprint?: any; + securityToken?: 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; - /** - * If true, validate the HTTPS server SSL certificate. Default value is true. Type: boolean (or - * Expression with resultType boolean). - */ - enableServerCertificateValidation?: any; } /** - * Linked service for Windows Azure Search Service. + * Office365 linked service. */ -export interface AzureSearchLinkedService { +export interface Office365LinkedService { /** * Polymorphic Discriminator */ - type: "AzureSearch"; + type: "Office365"; /** * The integration runtime reference. */ @@ -5467,13 +5474,23 @@ export interface AzureSearchLinkedService { */ annotations?: any[]; /** - * URL for Azure Search service. Type: string (or Expression with resultType string). + * Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with + * resultType string). */ - url: any; + office365TenantId: any; /** - * Admin Key for Azure Search service + * Specify the tenant information under which your Azure AD web application resides. Type: string + * (or Expression with resultType string). */ - key?: SecretBaseUnion; + servicePrincipalTenantId: any; + /** + * Specify the application's client ID. Type: string (or Expression with resultType string). + */ + servicePrincipalId: any; + /** + * Specify the application's key. + */ + servicePrincipalKey: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5482,13 +5499,13 @@ export interface AzureSearchLinkedService { } /** - * Custom linked service. + * Azure Data Lake Storage Gen2 linked service. */ -export interface CustomDataSourceLinkedService { +export interface AzureBlobFSLinkedService { /** * Polymorphic Discriminator */ - type: "CustomDataSource"; + type: "AzureBlobFS"; /** * The integration runtime reference. */ @@ -5506,19 +5523,45 @@ export interface CustomDataSourceLinkedService { */ annotations?: any[]; /** - * Custom linked service properties. + * Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with + * resultType string). */ - typeProperties: any; + url: any; + /** + * Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with + * resultType string). + */ + accountKey?: any; + /** + * The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 + * account. Type: string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 + * account. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). + */ + tenant?: 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; } /** - * Linked service for Amazon Redshift. + * Azure Data Lake Store linked service. */ -export interface AmazonRedshiftLinkedService { +export interface AzureDataLakeStoreLinkedService { /** * Polymorphic Discriminator */ - type: "AmazonRedshift"; + type: "AzureDataLakeStore"; /** * The integration runtime reference. */ @@ -5536,28 +5579,37 @@ export interface AmazonRedshiftLinkedService { */ annotations?: any[]; /** - * The name of the Amazon Redshift server. Type: string (or Expression with resultType string). + * Data Lake Store service URI. Type: string (or Expression with resultType string). */ - server: any; + dataLakeStoreUri: any; /** - * The username of the Amazon Redshift source. Type: string (or Expression with resultType - * string). + * The ID of the application used to authenticate against the Azure Data Lake Store account. + * Type: string (or Expression with resultType string). */ - username?: any; + servicePrincipalId?: any; /** - * The password of the Amazon Redshift source. + * The Key of the application used to authenticate against the Azure Data Lake Store account. */ - password?: SecretBaseUnion; + servicePrincipalKey?: SecretBaseUnion; /** - * The database name of the Amazon Redshift source. Type: string (or Expression with resultType - * string). + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). */ - database: any; + tenant?: any; /** - * The TCP port number that the Amazon Redshift server uses to listen for client connections. The - * default value is 5439. Type: integer (or Expression with resultType integer). + * Data Lake Store account name. Type: string (or Expression with resultType string). */ - port?: any; + accountName?: any; + /** + * Data Lake Store account subscription ID (if different from Data Factory account). Type: string + * (or Expression with resultType string). + */ + subscriptionId?: any; + /** + * Data Lake Store account resource group name (if different from Data Factory account). Type: + * string (or Expression with resultType string). + */ + resourceGroupName?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5566,13 +5618,13 @@ export interface AmazonRedshiftLinkedService { } /** - * Linked service for Amazon S3. + * Linked service for CosmosDB (MongoDB API) data source. */ -export interface AmazonS3LinkedService { +export interface CosmosDbMongoDbApiLinkedService { /** * Polymorphic Discriminator */ - type: "AmazonS3"; + type: "CosmosDbMongoDbApi"; /** * The integration runtime reference. */ @@ -5590,35 +5642,25 @@ export interface AmazonS3LinkedService { */ annotations?: 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). + * The CosmosDB (MongoDB API) connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. */ - serviceUrl?: any; + connectionString: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or + * Expression with resultType string). */ - encryptedCredential?: any; + database: any; } /** - * Rest Service linked service. + * Linked service for MongoDB data source. */ -export interface RestServiceLinkedService { +export interface MongoDbV2LinkedService { /** * Polymorphic Discriminator */ - type: "RestService"; + type: "MongoDbV2"; /** * The integration runtime reference. */ @@ -5636,44 +5678,84 @@ export interface RestServiceLinkedService { */ annotations?: any[]; /** - * The base URL of the REST service. + * The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Type: string, SecureString or AzureKeyVaultSecretReference. */ - url: any; + connectionString: 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). + * The name of the MongoDB database that you want to access. Type: string (or Expression with + * resultType string). */ - enableServerCertificateValidation?: any; + database: any; +} + +/** + * Linked service for MongoDb data source. + */ +export interface MongoDbLinkedService { /** - * Type of authentication used to connect to the REST service. Possible values include: - * 'Anonymous', 'Basic', 'AadServicePrincipal', 'ManagedServiceIdentity' + * Polymorphic Discriminator */ - authenticationType: RestServiceAuthenticationType; + type: "MongoDb"; /** - * The user name used in Basic authentication type. + * The integration runtime reference. */ - userName?: any; + connectVia?: IntegrationRuntimeReference; /** - * The password used in Basic authentication type. + * Linked service description. */ - password?: SecretBaseUnion; + description?: string; /** - * The application's client ID used in AadServicePrincipal authentication type. + * Parameters for linked service. */ - servicePrincipalId?: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The application's key used in AadServicePrincipal authentication type. + * List of tags that can be used for describing the linked service. */ - servicePrincipalKey?: SecretBaseUnion; + annotations?: any[]; /** - * The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication - * type under which your application resides. + * The IP address or server name of the MongoDB server. Type: string (or Expression with + * resultType string). */ - tenant?: any; + server: any; /** - * The resource you are requesting authorization to use. + * The authentication type to be used to connect to the MongoDB database. Possible values + * include: 'Basic', 'Anonymous' */ - aadResourceId?: any; + authenticationType?: MongoDbAuthenticationType; + /** + * The name of the MongoDB database that you want to access. Type: string (or Expression with + * resultType string). + */ + databaseName: any; + /** + * Username for authentication. Type: string (or Expression with resultType string). + */ + username?: any; + /** + * Password for authentication. + */ + password?: SecretBaseUnion; + /** + * Database to verify the username and password. Type: string (or Expression with resultType + * string). + */ + authSource?: any; + /** + * The TCP port number that the MongoDB server uses to listen for client connections. The default + * value is 27017. Type: integer (or Expression with resultType integer), minimum: 0. + */ + port?: any; + /** + * Specifies whether the connections to the server are encrypted using SSL. The default value is + * false. Type: boolean (or Expression with resultType boolean). + */ + enableSsl?: any; + /** + * Specifies whether to allow self-signed certificates from the server. The default value is + * false. Type: boolean (or Expression with resultType boolean). + */ + allowSelfSignedServerCert?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5682,13 +5764,13 @@ export interface RestServiceLinkedService { } /** - * SAP Business Warehouse Open Hub Destination Linked Service. + * Linked service for Cassandra data source. */ -export interface SapOpenHubLinkedService { +export interface CassandraLinkedService { /** * Polymorphic Discriminator */ - type: "SapOpenHub"; + type: "Cassandra"; /** * The integration runtime reference. */ @@ -5706,33 +5788,24 @@ export interface SapOpenHubLinkedService { */ annotations?: any[]; /** - * 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). + * Host name for connection. Type: string (or Expression with resultType string). */ - systemNumber: any; + host: 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). + * AuthenticationType to be used for connection. Type: string (or Expression with resultType + * string). */ - clientId: any; + authenticationType?: 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). + * The port for the connection. Type: integer (or Expression with resultType integer). */ - language?: any; + port?: any; /** - * Username to access the SAP BW server where the open hub destination is located. Type: string - * (or Expression with resultType string). + * Username for authentication. Type: string (or Expression with resultType string). */ - userName?: any; + username?: any; /** - * Password to access the SAP BW server where the open hub destination is located. + * Password for authentication. */ password?: SecretBaseUnion; /** @@ -5743,59 +5816,97 @@ export interface SapOpenHubLinkedService { } /** - * Linked service for SAP ERP Central Component(SAP ECC). + * Contains the possible cases for WebLinkedServiceTypeProperties. */ -export interface SapEccLinkedService { +export type WebLinkedServiceTypePropertiesUnion = WebLinkedServiceTypeProperties | WebClientCertificateAuthentication | WebBasicAuthentication | WebAnonymousAuthentication; + +/** + * Base definition of WebLinkedServiceTypeProperties, this typeProperties is polymorphic based on + * authenticationType, so not flattened in SDK models. + */ +export interface WebLinkedServiceTypeProperties { /** * Polymorphic Discriminator */ - type: "SapEcc"; + authenticationType: "WebLinkedServiceTypeProperties"; /** - * The integration runtime reference. + * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or + * Expression with resultType string). */ - connectVia?: IntegrationRuntimeReference; + url: any; +} + +/** + * A WebLinkedService that uses client certificate based authentication to communicate with an HTTP + * endpoint. This scheme follows mutual authentication; the server must also provide valid + * credentials to the client. + */ +export interface WebClientCertificateAuthentication { /** - * Linked service description. + * Polymorphic Discriminator */ - description?: string; + authenticationType: "ClientCertificate"; /** - * Parameters for linked service. + * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or + * Expression with resultType string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + url: any; /** - * List of tags that can be used for describing the linked service. + * Base64-encoded contents of a PFX file. */ - annotations?: any[]; + pfx: SecretBaseUnion; /** - * The URL of SAP ECC OData API. For example, - * '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with - * resultType string). + * Password for the PFX file. */ - url: string; + password: SecretBaseUnion; +} + +/** + * A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint. + */ +export interface WebBasicAuthentication { /** - * The username for Basic authentication. Type: string (or Expression with resultType string). + * Polymorphic Discriminator */ - username?: string; + authenticationType: "Basic"; + /** + * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or + * Expression with resultType string). + */ + url: any; + /** + * User name for Basic authentication. Type: string (or Expression with resultType string). + */ + username: any; /** * The password for Basic authentication. */ - password?: SecretBaseUnion; + password: SecretBaseUnion; +} + +/** + * A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. + */ +export interface WebAnonymousAuthentication { /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Either encryptedCredential or username/password must - * be provided. Type: string (or Expression with resultType string). + * Polymorphic Discriminator */ - encryptedCredential?: string; + authenticationType: "Anonymous"; + /** + * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or + * Expression with resultType string). + */ + url: any; } /** - * Linked service for SAP Cloud for Customer. + * Web linked service. */ -export interface SapCloudForCustomerLinkedService { +export interface WebLinkedService { /** * Polymorphic Discriminator */ - type: "SapCloudForCustomer"; + type: "Web"; /** * The integration runtime reference. */ @@ -5813,35 +5924,19 @@ export interface SapCloudForCustomerLinkedService { */ annotations?: any[]; /** - * The URL of SAP Cloud for Customer OData API. For example, - * '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with - * resultType string). - */ - url: any; - /** - * The username for Basic authentication. Type: string (or Expression with resultType string). - */ - username?: any; - /** - * The password for Basic authentication. - */ - password?: SecretBaseUnion; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Either encryptedCredential or username/password must - * be provided. Type: string (or Expression with resultType string). + * Web linked service properties. */ - encryptedCredential?: any; + typeProperties: WebLinkedServiceTypePropertiesUnion; } /** - * Linked service for Salesforce Service Cloud. + * Open Data Protocol (OData) linked service. */ -export interface SalesforceServiceCloudLinkedService { +export interface ODataLinkedService { /** * Polymorphic Discriminator */ - type: "SalesforceServiceCloud"; + type: "OData"; /** * The integration runtime reference. */ @@ -5859,30 +5954,57 @@ export interface SalesforceServiceCloudLinkedService { */ annotations?: any[]; /** - * The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To - * copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom - * domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or - * Expression with resultType string). + * The URL of the OData service endpoint. Type: string (or Expression with resultType string). */ - environmentUrl?: any; + url: any; /** - * The username for Basic authentication of the Salesforce instance. Type: string (or Expression - * with resultType string). + * Type of authentication used to connect to the OData service. Possible values include: 'Basic', + * 'Anonymous', 'Windows', 'AadServicePrincipal', 'ManagedServiceIdentity' */ - username?: any; + authenticationType?: ODataAuthenticationType; /** - * The password for Basic authentication of the Salesforce instance. + * User name of the OData service. Type: string (or Expression with resultType string). + */ + userName?: any; + /** + * Password of the OData service. */ password?: SecretBaseUnion; /** - * The security token is required to remotely access Salesforce instance. + * Specify the tenant information (domain name or tenant ID) under which your application + * resides. Type: string (or Expression with resultType string). */ - securityToken?: SecretBaseUnion; + tenant?: any; /** - * Extended properties appended to the connection string. Type: string (or Expression with - * resultType string). + * Specify the application id of your application registered in Azure Active Directory. Type: + * string (or Expression with resultType string). */ - extendedProperties?: any; + servicePrincipalId?: any; + /** + * Specify the resource you are requesting authorization to use Directory. Type: string (or + * Expression with resultType string). + */ + aadResourceId?: any; + /** + * Specify the credential type (key or cert) is used for service principal. Possible values + * include: 'ServicePrincipalKey', 'ServicePrincipalCert' + */ + aadServicePrincipalCredentialType?: ODataAadServicePrincipalCredentialType; + /** + * Specify the secret of your application registered in Azure Active Directory. Type: string (or + * Expression with resultType string). + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * Specify the base64 encoded certificate of your application registered in Azure Active + * Directory. Type: string (or Expression with resultType string). + */ + servicePrincipalEmbeddedCert?: SecretBaseUnion; + /** + * Specify the password of your certificate if your certificate has a password and you are using + * AadServicePrincipal authentication. Type: string (or Expression with resultType string). + */ + servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5891,13 +6013,13 @@ export interface SalesforceServiceCloudLinkedService { } /** - * Linked service for Salesforce. + * Hadoop Distributed File System (HDFS) linked service. */ -export interface SalesforceLinkedService { +export interface HdfsLinkedService { /** * Polymorphic Discriminator */ - type: "Salesforce"; + type: "Hdfs"; /** * The integration runtime reference. */ @@ -5915,40 +6037,38 @@ export interface SalesforceLinkedService { */ annotations?: any[]; /** - * The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from - * sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for - * example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType - * string). + * The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string + * (or Expression with resultType string). */ - environmentUrl?: any; + url: any; /** - * The username for Basic authentication of the Salesforce instance. Type: string (or Expression - * with resultType string). + * Type of authentication used to connect to the HDFS. Possible values are: Anonymous and + * Windows. Type: string (or Expression with resultType string). */ - username?: any; + authenticationType?: any; /** - * The password for Basic authentication of the Salesforce instance. + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - password?: SecretBaseUnion; + encryptedCredential?: any; /** - * The security token is required to remotely access Salesforce instance. + * User name for Windows authentication. Type: string (or Expression with resultType string). */ - securityToken?: SecretBaseUnion; + userName?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * Password for Windows authentication. */ - encryptedCredential?: any; + password?: SecretBaseUnion; } /** - * Office365 linked service. + * Microsoft Access linked service. */ -export interface Office365LinkedService { +export interface MicrosoftAccessLinkedService { /** * Polymorphic Discriminator */ - type: "Office365"; + type: "MicrosoftAccess"; /** * The integration runtime reference. */ @@ -5966,23 +6086,28 @@ export interface Office365LinkedService { */ annotations?: any[]; /** - * Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with - * resultType string). + * The non-access credential portion of the connection string as well as an optional encrypted + * credential. Type: string, SecureString or AzureKeyVaultSecretReference. */ - office365TenantId: any; + connectionString: any; /** - * Specify the tenant information under which your Azure AD web application resides. Type: string - * (or Expression with resultType string). + * Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible + * values are: Anonymous and Basic. Type: string (or Expression with resultType string). */ - servicePrincipalTenantId: any; + authenticationType?: any; /** - * Specify the application's client ID. Type: string (or Expression with resultType string). + * The access credential portion of the connection string specified in driver-specific + * property-value format. */ - servicePrincipalId: any; + credential?: SecretBaseUnion; /** - * Specify the application's key. + * User name for Basic authentication. Type: string (or Expression with resultType string). */ - servicePrincipalKey: SecretBaseUnion; + userName?: any; + /** + * Password for Basic authentication. + */ + password?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -5991,13 +6116,13 @@ export interface Office365LinkedService { } /** - * Azure Data Lake Storage Gen2 linked service. + * Informix linked service. */ -export interface AzureBlobFSLinkedService { +export interface InformixLinkedService { /** * Polymorphic Discriminator */ - type: "AzureBlobFS"; + type: "Informix"; /** * The integration runtime reference. */ @@ -6015,30 +6140,28 @@ export interface AzureBlobFSLinkedService { */ annotations?: any[]; /** - * Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with - * resultType string). + * The non-access credential portion of the connection string as well as an optional encrypted + * credential. Type: string, SecureString or AzureKeyVaultSecretReference. */ - url: any; + connectionString: any; /** - * Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with - * resultType string). + * Type of authentication used to connect to the Informix as ODBC data store. Possible values + * are: Anonymous and Basic. Type: string (or Expression with resultType string). */ - accountKey?: any; + authenticationType?: any; /** - * The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 - * account. Type: string (or Expression with resultType string). + * The access credential portion of the connection string specified in driver-specific + * property-value format. */ - servicePrincipalId?: any; + credential?: SecretBaseUnion; /** - * The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 - * account. + * User name for Basic authentication. Type: string (or Expression with resultType string). */ - servicePrincipalKey?: SecretBaseUnion; + userName?: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * Password for Basic authentication. */ - tenant?: any; + password?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6047,13 +6170,13 @@ export interface AzureBlobFSLinkedService { } /** - * Azure Data Lake Store linked service. + * Open Database Connectivity (ODBC) linked service. */ -export interface AzureDataLakeStoreLinkedService { +export interface OdbcLinkedService { /** * Polymorphic Discriminator */ - type: "AzureDataLakeStore"; + type: "Odbc"; /** * The integration runtime reference. */ @@ -6071,37 +6194,28 @@ export interface AzureDataLakeStoreLinkedService { */ annotations?: any[]; /** - * Data Lake Store service URI. Type: string (or Expression with resultType string). - */ - dataLakeStoreUri: any; - /** - * The ID of the application used to authenticate against the Azure Data Lake Store account. - * Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The Key of the application used to authenticate against the Azure Data Lake Store account. + * The non-access credential portion of the connection string as well as an optional encrypted + * credential. Type: string, SecureString or AzureKeyVaultSecretReference. */ - servicePrincipalKey?: SecretBaseUnion; + connectionString: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous + * and Basic. Type: string (or Expression with resultType string). */ - tenant?: any; + authenticationType?: any; /** - * Data Lake Store account name. Type: string (or Expression with resultType string). + * The access credential portion of the connection string specified in driver-specific + * property-value format. */ - accountName?: any; + credential?: SecretBaseUnion; /** - * Data Lake Store account subscription ID (if different from Data Factory account). Type: string - * (or Expression with resultType string). + * User name for Basic authentication. Type: string (or Expression with resultType string). */ - subscriptionId?: any; + userName?: any; /** - * Data Lake Store account resource group name (if different from Data Factory account). Type: - * string (or Expression with resultType string). + * Password for Basic authentication. */ - resourceGroupName?: any; + password?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6110,13 +6224,13 @@ export interface AzureDataLakeStoreLinkedService { } /** - * Linked service for CosmosDB (MongoDB API) data source. + * Azure ML Service linked service. */ -export interface CosmosDbMongoDbApiLinkedService { +export interface AzureMLServiceLinkedService { /** * Polymorphic Discriminator */ - type: "CosmosDbMongoDbApi"; + type: "AzureMLService"; /** * The integration runtime reference. */ @@ -6134,61 +6248,49 @@ export interface CosmosDbMongoDbApiLinkedService { */ annotations?: any[]; /** - * The CosmosDB (MongoDB API) connection string. Type: string, SecureString or - * AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or - * Expression with resultType string). - */ - database: any; -} - -/** - * Linked service for MongoDB data source. - */ -export interface MongoDbV2LinkedService { - /** - * Polymorphic Discriminator + * Azure ML Service workspace subscription ID. Type: string (or Expression with resultType + * string). */ - type: "MongoDbV2"; + subscriptionId: any; /** - * The integration runtime reference. + * Azure ML Service workspace resource group name. Type: string (or Expression with resultType + * string). */ - connectVia?: IntegrationRuntimeReference; + resourceGroupName: any; /** - * Linked service description. + * Azure ML Service workspace name. Type: string (or Expression with resultType string). */ - description?: string; + mlWorkspaceName: any; /** - * Parameters for linked service. + * The ID of the service principal used to authenticate against the endpoint of a published Azure + * ML Service pipeline. Type: string (or Expression with resultType string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + servicePrincipalId?: any; /** - * List of tags that can be used for describing the linked service. + * The key of the service principal used to authenticate against the endpoint of a published + * Azure ML Service pipeline. */ - annotations?: any[]; + servicePrincipalKey?: SecretBaseUnion; /** - * The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. - * Type: string, SecureString or AzureKeyVaultSecretReference. + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). */ - connectionString: any; + tenant?: any; /** - * The name of the MongoDB database that you want to access. Type: string (or Expression with - * resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - database: any; + encryptedCredential?: any; } /** - * Linked service for MongoDb data source. + * Azure ML Studio Web Service linked service. */ -export interface MongoDbLinkedService { +export interface AzureMLLinkedService { /** * Polymorphic Discriminator */ - type: "MongoDb"; + type: "AzureML"; /** * The integration runtime reference. */ @@ -6206,48 +6308,35 @@ export interface MongoDbLinkedService { */ annotations?: any[]; /** - * The IP address or server name of the MongoDB server. Type: string (or Expression with - * resultType string). - */ - server: any; - /** - * The authentication type to be used to connect to the MongoDB database. Possible values - * include: 'Basic', 'Anonymous' - */ - authenticationType?: MongoDbAuthenticationType; - /** - * The name of the MongoDB database that you want to access. Type: string (or Expression with - * resultType string). - */ - databaseName: any; - /** - * Username for authentication. Type: string (or Expression with resultType string). + * The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or + * Expression with resultType string). */ - username?: any; + mlEndpoint: any; /** - * Password for authentication. + * The API key for accessing the Azure ML model endpoint. */ - password?: SecretBaseUnion; + apiKey: SecretBaseUnion; /** - * Database to verify the username and password. Type: string (or Expression with resultType - * string). + * The Update Resource REST URL for an Azure ML Studio Web Service endpoint. Type: string (or + * Expression with resultType string). */ - authSource?: any; + updateResourceEndpoint?: any; /** - * The TCP port number that the MongoDB server uses to listen for client connections. The default - * value is 27017. Type: integer (or Expression with resultType integer), minimum: 0. + * The ID of the service principal used to authenticate against the ARM-based + * updateResourceEndpoint of an Azure ML Studio web service. Type: string (or Expression with + * resultType string). */ - port?: any; + servicePrincipalId?: any; /** - * Specifies whether the connections to the server are encrypted using SSL. The default value is - * false. Type: boolean (or Expression with resultType boolean). + * The key of the service principal used to authenticate against the ARM-based + * updateResourceEndpoint of an Azure ML Studio web service. */ - enableSsl?: any; + servicePrincipalKey?: SecretBaseUnion; /** - * Specifies whether to allow self-signed certificates from the server. The default value is - * false. Type: boolean (or Expression with resultType boolean). + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). */ - allowSelfSignedServerCert?: any; + tenant?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6256,13 +6345,13 @@ export interface MongoDbLinkedService { } /** - * Linked service for Cassandra data source. + * Linked service for Teradata data source. */ -export interface CassandraLinkedService { +export interface TeradataLinkedService { /** * Polymorphic Discriminator */ - type: "Cassandra"; + type: "Teradata"; /** * The integration runtime reference. */ @@ -6280,18 +6369,17 @@ export interface CassandraLinkedService { */ annotations?: any[]; /** - * Host name for connection. Type: string (or Expression with resultType string). + * Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - host: any; + connectionString?: any; /** - * AuthenticationType to be used for connection. Type: string (or Expression with resultType - * string). + * Server name for connection. Type: string (or Expression with resultType string). */ - authenticationType?: any; + server?: any; /** - * The port for the connection. Type: integer (or Expression with resultType integer). + * AuthenticationType to be used for connection. Possible values include: 'Basic', 'Windows' */ - port?: any; + authenticationType?: TeradataAuthenticationType; /** * Username for authentication. Type: string (or Expression with resultType string). */ @@ -6308,97 +6396,85 @@ export interface CassandraLinkedService { } /** - * Contains the possible cases for WebLinkedServiceTypeProperties. - */ -export type WebLinkedServiceTypePropertiesUnion = WebLinkedServiceTypeProperties | WebClientCertificateAuthentication | WebBasicAuthentication | WebAnonymousAuthentication; - -/** - * Base definition of WebLinkedServiceTypeProperties, this typeProperties is polymorphic based on - * authenticationType, so not flattened in SDK models. + * Linked service for DB2 data source. */ -export interface WebLinkedServiceTypeProperties { +export interface Db2LinkedService { /** * Polymorphic Discriminator */ - authenticationType: "WebLinkedServiceTypeProperties"; + type: "Db2"; /** - * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or - * Expression with resultType string). + * The integration runtime reference. */ - url: any; -} - -/** - * A WebLinkedService that uses client certificate based authentication to communicate with an HTTP - * endpoint. This scheme follows mutual authentication; the server must also provide valid - * credentials to the client. - */ -export interface WebClientCertificateAuthentication { + connectVia?: IntegrationRuntimeReference; /** - * Polymorphic Discriminator + * Linked service description. */ - authenticationType: "ClientCertificate"; + description?: string; /** - * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or - * Expression with resultType string). + * Parameters for linked service. */ - url: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Base64-encoded contents of a PFX file. + * List of tags that can be used for describing the linked service. */ - pfx: SecretBaseUnion; + annotations?: any[]; /** - * Password for the PFX file. + * The connection string. It is mutually exclusive with server, database, authenticationType, + * userName, packageCollection and certificateCommonName property. Type: string, SecureString or + * AzureKeyVaultSecretReference. */ - password: SecretBaseUnion; -} - -/** - * A WebLinkedService that uses basic authentication to communicate with an HTTP endpoint. - */ -export interface WebBasicAuthentication { + connectionString?: any; /** - * Polymorphic Discriminator + * Server name for connection. It is mutually exclusive with connectionString property. Type: + * string (or Expression with resultType string). */ - authenticationType: "Basic"; + server?: any; /** - * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or - * Expression with resultType string). + * Database name for connection. It is mutually exclusive with connectionString property. Type: + * string (or Expression with resultType string). */ - url: any; + database?: any; /** - * User name for Basic authentication. Type: string (or Expression with resultType string). + * AuthenticationType to be used for connection. It is mutually exclusive with connectionString + * property. Possible values include: 'Basic' */ - username: any; + authenticationType?: Db2AuthenticationType; /** - * The password for Basic authentication. + * Username for authentication. It is mutually exclusive with connectionString property. Type: + * string (or Expression with resultType string). */ - password: SecretBaseUnion; -} - -/** - * A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint. - */ -export interface WebAnonymousAuthentication { + username?: any; /** - * Polymorphic Discriminator + * Password for authentication. */ - authenticationType: "Anonymous"; + password?: SecretBaseUnion; /** - * The URL of the web service endpoint, e.g. http://www.microsoft.com . Type: string (or - * Expression with resultType string). + * Under where packages are created when querying database. It is mutually exclusive with + * connectionString property. Type: string (or Expression with resultType string). */ - url: any; + packageCollection?: any; + /** + * Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString + * property. Type: string (or Expression with resultType string). + */ + certificateCommonName?: any; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. It is mutually exclusive with connectionString + * property. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; } /** - * Web linked service. + * Linked service for Sybase data source. */ -export interface WebLinkedService { +export interface SybaseLinkedService { /** * Polymorphic Discriminator */ - type: "Web"; + type: "Sybase"; /** * The integration runtime reference. */ @@ -6416,19 +6492,44 @@ export interface WebLinkedService { */ annotations?: any[]; /** - * Web linked service properties. + * Server name for connection. Type: string (or Expression with resultType string). */ - typeProperties: WebLinkedServiceTypePropertiesUnion; + server: any; + /** + * Database name for connection. Type: string (or Expression with resultType string). + */ + database: any; + /** + * Schema name for connection. Type: string (or Expression with resultType string). + */ + schema?: any; + /** + * AuthenticationType to be used for connection. Possible values include: 'Basic', 'Windows' + */ + authenticationType?: SybaseAuthenticationType; + /** + * Username for authentication. Type: string (or Expression with resultType string). + */ + username?: any; + /** + * Password for authentication. + */ + password?: 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; } /** - * Open Data Protocol (OData) linked service. + * Linked service for PostgreSQL data source. */ -export interface ODataLinkedService { +export interface PostgreSqlLinkedService { /** * Polymorphic Discriminator */ - type: "OData"; + type: "PostgreSql"; /** * The integration runtime reference. */ @@ -6446,57 +6547,52 @@ export interface ODataLinkedService { */ annotations?: any[]; /** - * The URL of the OData service endpoint. Type: string (or Expression with resultType string). - */ - url: any; - /** - * Type of authentication used to connect to the OData service. Possible values include: 'Basic', - * 'Anonymous', 'Windows', 'AadServicePrincipal', 'ManagedServiceIdentity' + * The connection string. */ - authenticationType?: ODataAuthenticationType; + connectionString: any; /** - * User name of the OData service. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of password in connection string. */ - userName?: any; + password?: AzureKeyVaultSecretReference; /** - * Password of the OData service. + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - password?: SecretBaseUnion; + encryptedCredential?: any; +} + +/** + * Linked service for MySQL data source. + */ +export interface MySqlLinkedService { /** - * Specify the tenant information (domain name or tenant ID) under which your application - * resides. Type: string (or Expression with resultType string). + * Polymorphic Discriminator */ - tenant?: any; + type: "MySql"; /** - * Specify the application id of your application registered in Azure Active Directory. Type: - * string (or Expression with resultType string). + * The integration runtime reference. */ - servicePrincipalId?: any; + connectVia?: IntegrationRuntimeReference; /** - * Specify the resource you are requesting authorization to use Directory. Type: string (or - * Expression with resultType string). + * Linked service description. */ - aadResourceId?: any; + description?: string; /** - * Specify the credential type (key or cert) is used for service principal. Possible values - * include: 'ServicePrincipalKey', 'ServicePrincipalCert' + * Parameters for linked service. */ - aadServicePrincipalCredentialType?: ODataAadServicePrincipalCredentialType; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Specify the secret of your application registered in Azure Active Directory. Type: string (or - * Expression with resultType string). + * List of tags that can be used for describing the linked service. */ - servicePrincipalKey?: SecretBaseUnion; + annotations?: any[]; /** - * Specify the base64 encoded certificate of your application registered in Azure Active - * Directory. Type: string (or Expression with resultType string). + * The connection string. */ - servicePrincipalEmbeddedCert?: SecretBaseUnion; + connectionString: any; /** - * Specify the password of your certificate if your certificate has a password and you are using - * AadServicePrincipal authentication. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of password in connection string. */ - servicePrincipalEmbeddedCertPassword?: SecretBaseUnion; + password?: AzureKeyVaultSecretReference; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6505,13 +6601,13 @@ export interface ODataLinkedService { } /** - * Hadoop Distributed File System (HDFS) linked service. + * Azure MySQL database linked service. */ -export interface HdfsLinkedService { +export interface AzureMySqlLinkedService { /** * Polymorphic Discriminator */ - type: "Hdfs"; + type: "AzureMySql"; /** * The integration runtime reference. */ @@ -6529,38 +6625,28 @@ export interface HdfsLinkedService { */ annotations?: any[]; /** - * The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string - * (or Expression with resultType string). + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - url: any; + connectionString: any; /** - * Type of authentication used to connect to the HDFS. Possible values are: Anonymous and - * Windows. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of password in connection string. */ - authenticationType?: any; + password?: AzureKeyVaultSecretReference; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). */ encryptedCredential?: any; - /** - * User name for Windows authentication. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password for Windows authentication. - */ - password?: SecretBaseUnion; } /** - * Microsoft Access linked service. + * Oracle database. */ -export interface MicrosoftAccessLinkedService { +export interface OracleLinkedService { /** * Polymorphic Discriminator */ - type: "MicrosoftAccess"; + type: "Oracle"; /** * The integration runtime reference. */ @@ -6578,28 +6664,13 @@ export interface MicrosoftAccessLinkedService { */ annotations?: any[]; /** - * The non-access credential portion of the connection string as well as an optional encrypted - * credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ connectionString: any; /** - * Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible - * values are: Anonymous and Basic. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The access credential portion of the connection string specified in driver-specific - * property-value format. - */ - credential?: SecretBaseUnion; - /** - * User name for Basic authentication. Type: string (or Expression with resultType string). - */ - userName?: any; - /** - * Password for Basic authentication. + * The Azure key vault secret reference of password in connection string. */ - password?: SecretBaseUnion; + password?: AzureKeyVaultSecretReference; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6608,13 +6679,13 @@ export interface MicrosoftAccessLinkedService { } /** - * Informix linked service. + * Linked service for Google Cloud Storage. */ -export interface InformixLinkedService { +export interface GoogleCloudStorageLinkedService { /** * Polymorphic Discriminator */ - type: "Informix"; + type: "GoogleCloudStorage"; /** * The integration runtime reference. */ @@ -6632,28 +6703,20 @@ export interface InformixLinkedService { */ annotations?: any[]; /** - * The non-access credential portion of the connection string as well as an optional encrypted - * credential. Type: string, SecureString or AzureKeyVaultSecretReference. + * The access key identifier of the Google Cloud Storage Identity and Access Management (IAM) + * user. Type: string (or Expression with resultType string). */ - connectionString: any; + accessKeyId?: any; /** - * Type of authentication used to connect to the Informix as ODBC data store. Possible values - * are: Anonymous and Basic. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The access credential portion of the connection string specified in driver-specific - * property-value format. - */ - credential?: SecretBaseUnion; - /** - * User name for Basic authentication. Type: string (or Expression with resultType string). + * The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. */ - userName?: any; + secretAccessKey?: SecretBaseUnion; /** - * Password for Basic authentication. + * This value specifies the endpoint to access with the Google Cloud Storage 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). */ - password?: SecretBaseUnion; + serviceUrl?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6662,13 +6725,13 @@ export interface InformixLinkedService { } /** - * Open Database Connectivity (ODBC) linked service. + * Azure File Storage linked service. */ -export interface OdbcLinkedService { +export interface AzureFileStorageLinkedService { /** * Polymorphic Discriminator */ - type: "Odbc"; + type: "AzureFileStorage"; /** * The integration runtime reference. */ @@ -6686,26 +6749,15 @@ export interface OdbcLinkedService { */ annotations?: any[]; /** - * The non-access credential portion of the connection string as well as an optional encrypted - * credential. Type: string, SecureString or AzureKeyVaultSecretReference. - */ - connectionString: any; - /** - * Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous - * and Basic. Type: string (or Expression with resultType string). - */ - authenticationType?: any; - /** - * The access credential portion of the connection string specified in driver-specific - * property-value format. + * Host name of the server. Type: string (or Expression with resultType string). */ - credential?: SecretBaseUnion; + host: any; /** - * User name for Basic authentication. Type: string (or Expression with resultType string). + * User ID to logon the server. Type: string (or Expression with resultType string). */ - userName?: any; + userId?: any; /** - * Password for Basic authentication. + * Password to logon the server. */ password?: SecretBaseUnion; /** @@ -6716,13 +6768,13 @@ export interface OdbcLinkedService { } /** - * Azure ML Service linked service. + * File system linked service. */ -export interface AzureMLServiceLinkedService { +export interface FileServerLinkedService { /** * Polymorphic Discriminator */ - type: "AzureMLService"; + type: "FileServer"; /** * The integration runtime reference. */ @@ -6740,34 +6792,17 @@ export interface AzureMLServiceLinkedService { */ annotations?: any[]; /** - * Azure ML Service workspace subscription ID. Type: string (or Expression with resultType - * string). - */ - subscriptionId: any; - /** - * Azure ML Service workspace resource group name. Type: string (or Expression with resultType - * string). - */ - resourceGroupName: any; - /** - * Azure ML Service workspace name. Type: string (or Expression with resultType string). - */ - mlWorkspaceName: any; - /** - * The ID of the service principal used to authenticate against the endpoint of a published Azure - * ML Service pipeline. Type: string (or Expression with resultType string). + * Host name of the server. Type: string (or Expression with resultType string). */ - servicePrincipalId?: any; + host: any; /** - * The key of the service principal used to authenticate against the endpoint of a published - * Azure ML Service pipeline. + * User ID to logon the server. Type: string (or Expression with resultType string). */ - servicePrincipalKey?: SecretBaseUnion; + userId?: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * Password to logon the server. */ - tenant?: any; + password?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6776,13 +6811,13 @@ export interface AzureMLServiceLinkedService { } /** - * Azure ML Studio Web Service linked service. + * HDInsight linked service. */ -export interface AzureMLLinkedService { +export interface HDInsightLinkedService { /** * Polymorphic Discriminator */ - type: "AzureML"; + type: "HDInsight"; /** * The integration runtime reference. */ @@ -6800,50 +6835,49 @@ export interface AzureMLLinkedService { */ annotations?: any[]; /** - * The Batch Execution REST URL for an Azure ML Studio Web Service endpoint. Type: string (or - * Expression with resultType string). - */ - mlEndpoint: any; - /** - * The API key for accessing the Azure ML model endpoint. + * HDInsight cluster URI. Type: string (or Expression with resultType string). */ - apiKey: SecretBaseUnion; + clusterUri: any; /** - * The Update Resource REST URL for an Azure ML Studio Web Service endpoint. Type: string (or - * Expression with resultType string). + * HDInsight cluster user name. Type: string (or Expression with resultType string). */ - updateResourceEndpoint?: any; + userName?: any; /** - * The ID of the service principal used to authenticate against the ARM-based - * updateResourceEndpoint of an Azure ML Studio web service. Type: string (or Expression with - * resultType string). + * HDInsight cluster password. */ - servicePrincipalId?: any; + password?: SecretBaseUnion; /** - * The key of the service principal used to authenticate against the ARM-based - * updateResourceEndpoint of an Azure ML Studio web service. + * The Azure Storage linked service reference. */ - servicePrincipalKey?: SecretBaseUnion; + linkedServiceName?: LinkedServiceReference; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * A reference to the Azure SQL linked service that points to the HCatalog database. */ - tenant?: any; + hcatalogLinkedServiceName?: LinkedServiceReference; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). */ encryptedCredential?: any; + /** + * Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. + */ + isEspEnabled?: any; + /** + * Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or + * Expression with resultType string). + */ + fileSystem?: any; } /** - * Linked service for Teradata data source. + * Common Data Service for Apps linked service. */ -export interface TeradataLinkedService { +export interface CommonDataServiceForAppsLinkedService { /** * Polymorphic Discriminator */ - type: "Teradata"; + type: "CommonDataServiceForApps"; /** * The integration runtime reference. */ @@ -6861,25 +6895,68 @@ export interface TeradataLinkedService { */ annotations?: any[]; /** - * Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data + * Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises + * with Ifd. Type: string (or Expression with resultType string). Possible values include: + * 'Online', 'OnPremisesWithIfd' */ - connectionString?: any; + deploymentType: DynamicsDeploymentType; /** - * Server name for connection. Type: string (or Expression with resultType string). + * The host name of the on-premises Common Data Service for Apps server. The property is required + * for on-prem and not allowed for online. Type: string (or Expression with resultType string). */ - server?: any; + hostName?: any; /** - * AuthenticationType to be used for connection. Possible values include: 'Basic', 'Windows' + * The port of on-premises Common Data Service for Apps server. The property is required for + * on-prem and not allowed for online. Default is 443. Type: integer (or Expression with + * resultType integer), minimum: 0. */ - authenticationType?: TeradataAuthenticationType; + port?: any; /** - * Username for authentication. Type: string (or Expression with resultType string). + * The URL to the Microsoft Common Data Service for Apps server. The property is required for + * on-line and not allowed for on-prem. Type: string (or Expression with resultType string). + */ + serviceUri?: any; + /** + * The organization name of the Common Data Service for Apps instance. The property is required + * for on-prem and required for online when there are more than one Common Data Service for Apps + * instances associated with the user. Type: string (or Expression with resultType string). + */ + organizationName?: any; + /** + * The authentication type to connect to Common Data Service for Apps server. 'Office365' for + * online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for + * Server-To-Server authentication in online scenario. Type: string (or Expression with + * resultType string). Possible values include: 'Office365', 'Ifd', 'AADServicePrincipal' + */ + authenticationType: DynamicsAuthenticationType; + /** + * User name to access the Common Data Service for Apps instance. Type: string (or Expression + * with resultType string). */ username?: any; /** - * Password for authentication. + * Password to access the Common Data Service for Apps instance. */ password?: SecretBaseUnion; + /** + * The client ID of the application in Azure Active Directory used for Server-To-Server + * authentication. Type: string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * The service principal credential type to use in Server-To-Server authentication. + * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or + * Expression with resultType string). + */ + servicePrincipalCredentialType?: any; + /** + * The credential of the service principal object in Azure Active Directory. If + * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be + * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is + * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + */ + servicePrincipalCredential?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6888,13 +6965,13 @@ export interface TeradataLinkedService { } /** - * Linked service for DB2 data source. + * Dynamics CRM linked service. */ -export interface Db2LinkedService { +export interface DynamicsCrmLinkedService { /** * Polymorphic Discriminator */ - type: "Db2"; + type: "DynamicsCrm"; /** * The integration runtime reference. */ @@ -6912,35 +6989,67 @@ export interface Db2LinkedService { */ annotations?: any[]; /** - * Server name for connection. Type: string (or Expression with resultType string). + * The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and + * 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with + * resultType string). Possible values include: 'Online', 'OnPremisesWithIfd' */ - server: any; + deploymentType: DynamicsDeploymentType; /** - * Database name for connection. Type: string (or Expression with resultType string). + * The host name of the on-premises Dynamics CRM server. The property is required for on-prem and + * not allowed for online. Type: string (or Expression with resultType string). */ - database: any; + hostName?: any; /** - * AuthenticationType to be used for connection. Possible values include: 'Basic' + * The port of on-premises Dynamics CRM server. The property is required for on-prem and not + * allowed for online. Default is 443. Type: integer (or Expression with resultType integer), + * minimum: 0. */ - authenticationType?: Db2AuthenticationType; + port?: any; /** - * Username for authentication. Type: string (or Expression with resultType string). + * The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not + * allowed for on-prem. Type: string (or Expression with resultType string). + */ + serviceUri?: any; + /** + * The organization name of the Dynamics CRM instance. The property is required for on-prem and + * required for online when there are more than one Dynamics CRM instances associated with the + * user. Type: string (or Expression with resultType string). + */ + organizationName?: any; + /** + * The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, + * 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server + * authentication in online scenario. Type: string (or Expression with resultType string). + * Possible values include: 'Office365', 'Ifd', 'AADServicePrincipal' + */ + authenticationType: DynamicsAuthenticationType; + /** + * User name to access the Dynamics CRM instance. Type: string (or Expression with resultType + * string). */ username?: any; /** - * Password for authentication. + * Password to access the Dynamics CRM instance. */ password?: SecretBaseUnion; /** - * Under where packages are created when querying database. Type: string (or Expression with - * resultType string). + * The client ID of the application in Azure Active Directory used for Server-To-Server + * authentication. Type: string (or Expression with resultType string). */ - packageCollection?: any; + servicePrincipalId?: any; /** - * Certificate Common Name when TLS is enabled. Type: string (or Expression with resultType - * string). + * The service principal credential type to use in Server-To-Server authentication. + * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or + * Expression with resultType string). */ - certificateCommonName?: any; + servicePrincipalCredentialType?: any; + /** + * The credential of the service principal object in Azure Active Directory. If + * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be + * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is + * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + */ + servicePrincipalCredential?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -6949,13 +7058,13 @@ export interface Db2LinkedService { } /** - * Linked service for Sybase data source. + * Dynamics linked service. */ -export interface SybaseLinkedService { +export interface DynamicsLinkedService { /** * Polymorphic Discriminator */ - type: "Sybase"; + type: "Dynamics"; /** * The integration runtime reference. */ @@ -6973,29 +7082,65 @@ export interface SybaseLinkedService { */ annotations?: any[]; /** - * Server name for connection. Type: string (or Expression with resultType string). + * The deployment type of the Dynamics instance. 'Online' for Dynamics Online and + * 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with + * resultType string). */ - server: any; + deploymentType: any; /** - * Database name for connection. Type: string (or Expression with resultType string). + * The host name of the on-premises Dynamics server. The property is required for on-prem and not + * allowed for online. Type: string (or Expression with resultType string). */ - database: any; + hostName?: any; /** - * Schema name for connection. Type: string (or Expression with resultType string). + * The port of on-premises Dynamics server. The property is required for on-prem and not allowed + * for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. */ - schema?: any; + port?: any; /** - * AuthenticationType to be used for connection. Possible values include: 'Basic', 'Windows' + * The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed + * for on-prem. Type: string (or Expression with resultType string). */ - authenticationType?: SybaseAuthenticationType; + serviceUri?: any; /** - * Username for authentication. Type: string (or Expression with resultType string). + * The organization name of the Dynamics instance. The property is required for on-prem and + * required for online when there are more than one Dynamics instances associated with the user. + * Type: string (or Expression with resultType string). + */ + organizationName?: any; + /** + * The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' + * for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication + * in online scenario. Type: string (or Expression with resultType string). + */ + authenticationType: any; + /** + * User name to access the Dynamics instance. Type: string (or Expression with resultType + * string). */ username?: any; /** - * Password for authentication. + * Password to access the Dynamics instance. */ password?: SecretBaseUnion; + /** + * The client ID of the application in Azure Active Directory used for Server-To-Server + * authentication. Type: string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * The service principal credential type to use in Server-To-Server authentication. + * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or + * Expression with resultType string). + */ + servicePrincipalCredentialType?: any; + /** + * The credential of the service principal object in Azure Active Directory. If + * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be + * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is + * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + */ + servicePrincipalCredential?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7004,13 +7149,13 @@ export interface SybaseLinkedService { } /** - * Linked service for PostgreSQL data source. + * Microsoft Azure Cosmos Database (CosmosDB) linked service. */ -export interface PostgreSqlLinkedService { +export interface CosmosDbLinkedService { /** * Polymorphic Discriminator */ - type: "PostgreSql"; + type: "CosmosDb"; /** * The integration runtime reference. */ @@ -7028,13 +7173,23 @@ export interface PostgreSqlLinkedService { */ annotations?: any[]; /** - * The connection string. + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - connectionString: any; + connectionString?: any; /** - * The Azure key vault secret reference of password in connection string. + * The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType + * string) */ - password?: AzureKeyVaultSecretReference; + accountEndpoint?: any; + /** + * The name of the database. Type: string (or Expression with resultType string) + */ + database?: any; + /** + * The account key of the Azure CosmosDB account. Type: SecureString or + * AzureKeyVaultSecretReference. + */ + accountKey?: SecretBaseUnion; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7043,13 +7198,13 @@ export interface PostgreSqlLinkedService { } /** - * Linked service for MySQL data source. + * Azure Key Vault linked service. */ -export interface MySqlLinkedService { +export interface AzureKeyVaultLinkedService { /** * Polymorphic Discriminator */ - type: "MySql"; + type: "AzureKeyVault"; /** * The integration runtime reference. */ @@ -7067,28 +7222,20 @@ export interface MySqlLinkedService { */ annotations?: any[]; /** - * The connection string. - */ - connectionString: any; - /** - * The Azure key vault secret reference of password in connection string. - */ - password?: AzureKeyVaultSecretReference; - /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or + * Expression with resultType string). */ - encryptedCredential?: any; + baseUrl: any; } /** - * Azure MySQL database linked service. + * Azure Batch linked service. */ -export interface AzureMySqlLinkedService { +export interface AzureBatchLinkedService { /** * Polymorphic Discriminator */ - type: "AzureMySql"; + type: "AzureBatch"; /** * The integration runtime reference. */ @@ -7106,13 +7253,25 @@ export interface AzureMySqlLinkedService { */ annotations?: any[]; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * The Azure Batch account name. Type: string (or Expression with resultType string). */ - connectionString: any; + accountName: any; /** - * The Azure key vault secret reference of password in connection string. + * The Azure Batch account access key. */ - password?: AzureKeyVaultSecretReference; + accessKey?: SecretBaseUnion; + /** + * The Azure Batch URI. Type: string (or Expression with resultType string). + */ + batchUri: any; + /** + * The Azure Batch pool name. Type: string (or Expression with resultType string). + */ + poolName: any; + /** + * The Azure Storage linked service reference. + */ + linkedServiceName: LinkedServiceReference; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7121,13 +7280,13 @@ export interface AzureMySqlLinkedService { } /** - * Oracle database. + * Azure SQL Managed Instance linked service. */ -export interface OracleLinkedService { +export interface AzureSqlMILinkedService { /** * Polymorphic Discriminator */ - type: "Oracle"; + type: "AzureSqlMI"; /** * The integration runtime reference. */ @@ -7152,6 +7311,20 @@ export interface OracleLinkedService { * The Azure key vault secret reference of password in connection string. */ password?: AzureKeyVaultSecretReference; + /** + * The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: + * string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * The key of the service principal used to authenticate against Azure SQL Managed Instance. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). + */ + tenant?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7160,13 +7333,13 @@ export interface OracleLinkedService { } /** - * Linked service for Google Cloud Storage. + * Microsoft Azure SQL Database linked service. */ -export interface GoogleCloudStorageLinkedService { +export interface AzureSqlDatabaseLinkedService { /** * Polymorphic Discriminator */ - type: "GoogleCloudStorage"; + type: "AzureSqlDatabase"; /** * The integration runtime reference. */ @@ -7184,20 +7357,27 @@ export interface GoogleCloudStorageLinkedService { */ annotations?: any[]; /** - * The access key identifier of the Google Cloud Storage Identity and Access Management (IAM) - * user. Type: string (or Expression with resultType string). + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - accessKeyId?: any; + connectionString: any; /** - * The secret access key of the Google Cloud Storage Identity and Access Management (IAM) user. + * The Azure key vault secret reference of password in connection string. */ - secretAccessKey?: SecretBaseUnion; + password?: AzureKeyVaultSecretReference; /** - * This value specifies the endpoint to access with the Google Cloud Storage 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). + * The ID of the service principal used to authenticate against Azure SQL Database. Type: string + * (or Expression with resultType string). */ - serviceUrl?: any; + servicePrincipalId?: any; + /** + * The key of the service principal used to authenticate against Azure SQL Database. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). + */ + tenant?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7206,13 +7386,13 @@ export interface GoogleCloudStorageLinkedService { } /** - * Azure File Storage linked service. + * SQL Server linked service. */ -export interface AzureFileStorageLinkedService { +export interface SqlServerLinkedService { /** * Polymorphic Discriminator */ - type: "AzureFileStorage"; + type: "SqlServer"; /** * The integration runtime reference. */ @@ -7230,15 +7410,16 @@ export interface AzureFileStorageLinkedService { */ annotations?: any[]; /** - * Host name of the server. Type: string (or Expression with resultType string). + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. */ - host: any; + connectionString: any; /** - * User ID to logon the server. Type: string (or Expression with resultType string). + * The on-premises Windows authentication user name. Type: string (or Expression with resultType + * string). */ - userId?: any; + userName?: any; /** - * Password to logon the server. + * The on-premises Windows authentication password. */ password?: SecretBaseUnion; /** @@ -7249,13 +7430,13 @@ export interface AzureFileStorageLinkedService { } /** - * File system linked service. + * Azure SQL Data Warehouse linked service. */ -export interface FileServerLinkedService { +export interface AzureSqlDWLinkedService { /** * Polymorphic Discriminator */ - type: "FileServer"; + type: "AzureSqlDW"; /** * The integration runtime reference. */ @@ -7273,17 +7454,28 @@ export interface FileServerLinkedService { */ annotations?: any[]; /** - * Host name of the server. Type: string (or Expression with resultType string). + * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: + * string, SecureString or AzureKeyVaultSecretReference. */ - host: any; + connectionString: any; /** - * User ID to logon the server. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of password in connection string. */ - userId?: any; + password?: AzureKeyVaultSecretReference; /** - * Password to logon the server. + * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: + * string (or Expression with resultType string). */ - password?: SecretBaseUnion; + servicePrincipalId?: any; + /** + * The key of the service principal used to authenticate against Azure SQL Data Warehouse. + */ + servicePrincipalKey?: SecretBaseUnion; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). + */ + tenant?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -7292,13 +7484,13 @@ export interface FileServerLinkedService { } /** - * HDInsight linked service. + * The azure table storage linked service. */ -export interface HDInsightLinkedService { +export interface AzureTableStorageLinkedService { /** * Polymorphic Discriminator */ - type: "HDInsight"; + type: "AzureTableStorage"; /** * The integration runtime reference. */ @@ -7316,49 +7508,38 @@ export interface HDInsightLinkedService { */ annotations?: any[]; /** - * HDInsight cluster URI. Type: string (or Expression with resultType string). - */ - clusterUri: any; - /** - * HDInsight cluster user name. Type: string (or Expression with resultType string). + * The connection string. It is mutually exclusive with sasUri property. Type: string, + * SecureString or AzureKeyVaultSecretReference. */ - userName?: any; + connectionString?: any; /** - * HDInsight cluster password. + * The Azure key vault secret reference of accountKey in connection string. */ - password?: SecretBaseUnion; + accountKey?: AzureKeyVaultSecretReference; /** - * The Azure Storage linked service reference. + * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString + * property. Type: string, SecureString or AzureKeyVaultSecretReference. */ - linkedServiceName?: LinkedServiceReference; + sasUri?: any; /** - * A reference to the Azure SQL linked service that points to the HCatalog database. + * The Azure key vault secret reference of sasToken in sas uri. */ - hcatalogLinkedServiceName?: LinkedServiceReference; + sasToken?: AzureKeyVaultSecretReference; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; - /** - * Specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. - */ - isEspEnabled?: any; - /** - * Specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or - * Expression with resultType string). - */ - fileSystem?: any; + encryptedCredential?: string; } /** - * Common Data Service for Apps linked service. + * The azure blob storage linked service. */ -export interface CommonDataServiceForAppsLinkedService { +export interface AzureBlobStorageLinkedService { /** * Polymorphic Discriminator */ - type: "CommonDataServiceForApps"; + type: "AzureBlobStorage"; /** * The integration runtime reference. */ @@ -7376,83 +7557,57 @@ export interface CommonDataServiceForAppsLinkedService { */ annotations?: any[]; /** - * The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data - * Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises - * with Ifd. Type: string (or Expression with resultType string). Possible values include: - * 'Online', 'OnPremisesWithIfd' - */ - deploymentType: DynamicsDeploymentType; - /** - * The host name of the on-premises Common Data Service for Apps server. The property is required - * for on-prem and not allowed for online. Type: string (or Expression with resultType string). - */ - hostName?: any; - /** - * The port of on-premises Common Data Service for Apps server. The property is required for - * on-prem and not allowed for online. Default is 443. Type: integer (or Expression with - * resultType integer), minimum: 0. - */ - port?: any; - /** - * The URL to the Microsoft Common Data Service for Apps server. The property is required for - * on-line and not allowed for on-prem. Type: string (or Expression with resultType string). + * The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: + * string, SecureString or AzureKeyVaultSecretReference. */ - serviceUri?: any; + connectionString?: any; /** - * The organization name of the Common Data Service for Apps instance. The property is required - * for on-prem and required for online when there are more than one Common Data Service for Apps - * instances associated with the user. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of accountKey in connection string. */ - organizationName?: any; + accountKey?: AzureKeyVaultSecretReference; /** - * The authentication type to connect to Common Data Service for Apps server. 'Office365' for - * online scenario, 'Ifd' for on-premises with Ifd scenario. 'AADServicePrincipal' for - * Server-To-Server authentication in online scenario. Type: string (or Expression with - * resultType string). Possible values include: 'Office365', 'Ifd', 'AADServicePrincipal' + * SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, + * serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. */ - authenticationType: DynamicsAuthenticationType; + sasUri?: any; /** - * User name to access the Common Data Service for Apps instance. Type: string (or Expression - * with resultType string). + * The Azure key vault secret reference of sasToken in sas uri. */ - username?: any; + sasToken?: AzureKeyVaultSecretReference; /** - * Password to access the Common Data Service for Apps instance. + * Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with + * connectionString, sasUri property. */ - password?: SecretBaseUnion; + serviceEndpoint?: string; /** - * The client ID of the application in Azure Active Directory used for Server-To-Server - * authentication. Type: string (or Expression with resultType string). + * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: + * string (or Expression with resultType string). */ servicePrincipalId?: any; /** - * The service principal credential type to use in Server-To-Server authentication. - * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). + * The key of the service principal used to authenticate against Azure SQL Data Warehouse. */ - servicePrincipalCredentialType?: any; + servicePrincipalKey?: SecretBaseUnion; /** - * The credential of the service principal object in Azure Active Directory. If - * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be - * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is - * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). */ - servicePrincipalCredential?: SecretBaseUnion; + tenant?: 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; + encryptedCredential?: string; } /** - * Dynamics CRM linked service. + * The storage account linked service. */ -export interface DynamicsCrmLinkedService { +export interface AzureStorageLinkedService { /** * Polymorphic Discriminator */ - type: "DynamicsCrm"; + type: "AzureStorage"; /** * The integration runtime reference. */ @@ -7470,674 +7625,635 @@ export interface DynamicsCrmLinkedService { */ annotations?: any[]; /** - * The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and - * 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with - * resultType string). Possible values include: 'Online', 'OnPremisesWithIfd' + * The connection string. It is mutually exclusive with sasUri property. Type: string, + * SecureString or AzureKeyVaultSecretReference. */ - deploymentType: DynamicsDeploymentType; + connectionString?: any; /** - * The host name of the on-premises Dynamics CRM server. The property is required for on-prem and - * not allowed for online. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of accountKey in connection string. */ - hostName?: any; + accountKey?: AzureKeyVaultSecretReference; /** - * The port of on-premises Dynamics CRM server. The property is required for on-prem and not - * allowed for online. Default is 443. Type: integer (or Expression with resultType integer), - * minimum: 0. + * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString + * property. Type: string, SecureString or AzureKeyVaultSecretReference. */ - port?: any; + sasUri?: any; /** - * The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not - * allowed for on-prem. Type: string (or Expression with resultType string). + * The Azure key vault secret reference of sasToken in sas uri. */ - serviceUri?: any; + sasToken?: AzureKeyVaultSecretReference; /** - * The organization name of the Dynamics CRM instance. The property is required for on-prem and - * required for online when there are more than one Dynamics CRM instances associated with the - * user. Type: string (or Expression with resultType string). + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). */ - organizationName?: any; + encryptedCredential?: string; +} + +/** + * Google AdWords service dataset. + */ +export interface GoogleAdWordsObjectDataset { /** - * The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, - * 'Ifd' for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server - * authentication in online scenario. Type: string (or Expression with resultType string). - * Possible values include: 'Office365', 'Ifd', 'AADServicePrincipal' + * Polymorphic Discriminator */ - authenticationType: DynamicsAuthenticationType; + type: "GoogleAdWordsObject"; /** - * User name to access the Dynamics CRM instance. Type: string (or Expression with resultType - * string). + * Dataset description. */ - username?: any; + description?: string; /** - * Password to access the Dynamics CRM instance. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - password?: SecretBaseUnion; + structure?: any; /** - * The client ID of the application in Azure Active Directory used for Server-To-Server - * authentication. Type: string (or Expression with resultType string). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - servicePrincipalId?: any; + schema?: any; /** - * The service principal credential type to use in Server-To-Server authentication. - * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). + * Linked service reference. */ - servicePrincipalCredentialType?: any; + linkedServiceName: LinkedServiceReference; /** - * The credential of the service principal object in Azure Active Directory. If - * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be - * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is - * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + * Parameters for dataset. */ - servicePrincipalCredential?: SecretBaseUnion; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the Dataset. */ - encryptedCredential?: any; + annotations?: any[]; + /** + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + */ + folder?: DatasetFolder; + /** + * The table name. Type: string (or Expression with resultType string). + */ + tableName?: any; } /** - * Dynamics linked service. + * The Azure Data Explorer (Kusto) dataset. */ -export interface DynamicsLinkedService { +export interface AzureDataExplorerTableDataset { /** * Polymorphic Discriminator */ - type: "Dynamics"; + type: "AzureDataExplorerTable"; /** - * The integration runtime reference. + * Dataset description. */ - connectVia?: IntegrationRuntimeReference; + description?: string; /** - * Linked service description. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - description?: string; + structure?: any; /** - * Parameters for linked service. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Linked service reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * Parameters for dataset. */ parameters?: { [propertyName: string]: ParameterSpecification }; /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * The deployment type of the Dynamics instance. 'Online' for Dynamics Online and - * 'OnPremisesWithIfd' for Dynamics on-premises with Ifd. Type: string (or Expression with - * resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - deploymentType: any; + folder?: DatasetFolder; /** - * The host name of the on-premises Dynamics server. The property is required for on-prem and not - * allowed for online. Type: string (or Expression with resultType string). + * The table name of the Azure Data Explorer database. Type: string (or Expression with + * resultType string). */ - hostName?: any; + table?: any; +} + +/** + * Oracle Service Cloud dataset. + */ +export interface OracleServiceCloudObjectDataset { /** - * The port of on-premises Dynamics server. The property is required for on-prem and not allowed - * for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0. + * Polymorphic Discriminator */ - port?: any; + type: "OracleServiceCloudObject"; /** - * The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed - * for on-prem. Type: string (or Expression with resultType string). + * Dataset description. */ - serviceUri?: any; + description?: string; /** - * The organization name of the Dynamics instance. The property is required for on-prem and - * required for online when there are more than one Dynamics instances associated with the user. - * Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - organizationName?: any; + structure?: any; /** - * The authentication type to connect to Dynamics server. 'Office365' for online scenario, 'Ifd' - * for on-premises with Ifd scenario, 'AADServicePrincipal' for Server-To-Server authentication - * in online scenario. Type: string (or Expression with resultType string). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - authenticationType: any; + schema?: any; /** - * User name to access the Dynamics instance. Type: string (or Expression with resultType - * string). + * Linked service reference. */ - username?: any; + linkedServiceName: LinkedServiceReference; /** - * Password to access the Dynamics instance. + * Parameters for dataset. */ - password?: SecretBaseUnion; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The client ID of the application in Azure Active Directory used for Server-To-Server - * authentication. Type: string (or Expression with resultType string). - */ - servicePrincipalId?: any; - /** - * The service principal credential type to use in Server-To-Server authentication. - * 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or - * Expression with resultType string). + * List of tags that can be used for describing the Dataset. */ - servicePrincipalCredentialType?: any; + annotations?: any[]; /** - * The credential of the service principal object in Azure Active Directory. If - * servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be - * SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is - * 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - servicePrincipalCredential?: SecretBaseUnion; + folder?: DatasetFolder; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + tableName?: any; } /** - * Microsoft Azure Cosmos Database (CosmosDB) linked service. + * The path of the Dynamics AX OData entity. */ -export interface CosmosDbLinkedService { +export interface DynamicsAXResourceDataset { /** * Polymorphic Discriminator */ - type: "CosmosDb"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; + type: "DynamicsAXResource"; /** - * Linked service description. + * Dataset description. */ description?: string; /** - * Parameters for linked service. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + structure?: any; /** - * List of tags that can be used for describing the linked service. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - annotations?: any[]; + schema?: any; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Linked service reference. */ - connectionString?: any; + linkedServiceName: LinkedServiceReference; /** - * The endpoint of the Azure CosmosDB account. Type: string (or Expression with resultType - * string) + * Parameters for dataset. */ - accountEndpoint?: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The name of the database. Type: string (or Expression with resultType string) + * List of tags that can be used for describing the Dataset. */ - database?: any; + annotations?: any[]; /** - * The account key of the Azure CosmosDB account. Type: SecureString or - * AzureKeyVaultSecretReference. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - accountKey?: SecretBaseUnion; + folder?: DatasetFolder; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + path: any; } /** - * Azure Key Vault linked service. + * Responsys dataset. */ -export interface AzureKeyVaultLinkedService { +export interface ResponsysObjectDataset { /** * Polymorphic Discriminator */ - type: "AzureKeyVault"; + type: "ResponsysObject"; /** - * The integration runtime reference. + * Dataset description. */ - connectVia?: IntegrationRuntimeReference; + description?: string; /** - * Linked service description. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - description?: string; + structure?: any; /** - * Parameters for linked service. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. + */ + schema?: any; + /** + * Linked service reference. + */ + linkedServiceName: LinkedServiceReference; + /** + * Parameters for dataset. */ parameters?: { [propertyName: string]: ParameterSpecification }; /** - * List of tags that can be used for describing the linked service. + * List of tags that can be used for describing the Dataset. */ annotations?: any[]; /** - * The base URL of the Azure Key Vault. e.g. https://myakv.vault.azure.net Type: string (or - * Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - baseUrl: any; + folder?: DatasetFolder; + /** + * The table name. Type: string (or Expression with resultType string). + */ + tableName?: any; } /** - * Azure Batch linked service. + * Salesforce Marketing Cloud dataset. */ -export interface AzureBatchLinkedService { +export interface SalesforceMarketingCloudObjectDataset { /** * Polymorphic Discriminator */ - type: "AzureBatch"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; + type: "SalesforceMarketingCloudObject"; /** - * Linked service description. + * Dataset description. */ description?: string; /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - annotations?: any[]; + structure?: any; /** - * The Azure Batch account name. Type: string (or Expression with resultType string). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - accountName: any; + schema?: any; /** - * The Azure Batch account access key. + * Linked service reference. */ - accessKey?: SecretBaseUnion; + linkedServiceName: LinkedServiceReference; /** - * The Azure Batch URI. Type: string (or Expression with resultType string). + * Parameters for dataset. */ - batchUri: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The Azure Batch pool name. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the Dataset. */ - poolName: any; + annotations?: any[]; /** - * The Azure Storage linked service reference. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - linkedServiceName: LinkedServiceReference; + folder?: DatasetFolder; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + tableName?: any; } /** - * Azure SQL Managed Instance linked service. + * Vertica dataset. */ -export interface AzureSqlMILinkedService { +export interface VerticaTableDataset { /** * Polymorphic Discriminator */ - type: "AzureSqlMI"; + type: "VerticaTable"; /** - * The integration runtime reference. + * Dataset description. */ - connectVia?: IntegrationRuntimeReference; + description?: string; /** - * Linked service description. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - description?: string; + structure?: any; /** - * Parameters for linked service. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + schema?: any; /** - * List of tags that can be used for describing the linked service. + * Linked service reference. */ - annotations?: any[]; + linkedServiceName: LinkedServiceReference; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Parameters for dataset. */ - connectionString: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The Azure key vault secret reference of password in connection string. + * List of tags that can be used for describing the Dataset. */ - password?: AzureKeyVaultSecretReference; + annotations?: any[]; /** - * The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: - * string (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - servicePrincipalId?: any; + folder?: DatasetFolder; /** - * The key of the service principal used to authenticate against Azure SQL Managed Instance. + * This property will be retired. Please consider using schema + table properties instead. */ - servicePrincipalKey?: SecretBaseUnion; + tableName?: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * The table name of the Vertica. Type: string (or Expression with resultType string). */ - tenant?: any; + table?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The schema name of the Vertica. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + verticaTableDatasetSchema?: any; } /** - * Microsoft Azure SQL Database linked service. + * Netezza dataset. */ -export interface AzureSqlDatabaseLinkedService { +export interface NetezzaTableDataset { /** * Polymorphic Discriminator */ - type: "AzureSqlDatabase"; + type: "NetezzaTable"; /** - * The integration runtime reference. + * Dataset description. */ - connectVia?: IntegrationRuntimeReference; + description?: string; /** - * Linked service description. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - description?: string; + structure?: any; /** - * Parameters for linked service. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + schema?: any; /** - * List of tags that can be used for describing the linked service. + * Linked service reference. */ - annotations?: any[]; + linkedServiceName: LinkedServiceReference; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Parameters for dataset. */ - connectionString: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The Azure key vault secret reference of password in connection string. + * List of tags that can be used for describing the Dataset. */ - password?: AzureKeyVaultSecretReference; + annotations?: any[]; /** - * The ID of the service principal used to authenticate against Azure SQL Database. Type: string - * (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - servicePrincipalId?: any; + folder?: DatasetFolder; /** - * The key of the service principal used to authenticate against Azure SQL Database. + * This property will be retired. Please consider using schema + table properties instead. */ - servicePrincipalKey?: SecretBaseUnion; + tableName?: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * The table name of the Netezza. Type: string (or Expression with resultType string). */ - tenant?: any; + table?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The schema name of the Netezza. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + netezzaTableDatasetSchema?: any; } /** - * SQL Server linked service. + * Zoho server dataset. */ -export interface SqlServerLinkedService { +export interface ZohoObjectDataset { /** * Polymorphic Discriminator */ - type: "SqlServer"; + type: "ZohoObject"; /** - * The integration runtime reference. + * Dataset description. */ - connectVia?: IntegrationRuntimeReference; + description?: string; /** - * Linked service description. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - description?: string; + structure?: any; /** - * Parameters for linked service. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + schema?: any; /** - * List of tags that can be used for describing the linked service. + * Linked service reference. */ - annotations?: any[]; + linkedServiceName: LinkedServiceReference; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Parameters for dataset. */ - connectionString: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The on-premises Windows authentication user name. Type: string (or Expression with resultType - * string). + * List of tags that can be used for describing the Dataset. */ - userName?: any; + annotations?: any[]; /** - * The on-premises Windows authentication password. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - password?: SecretBaseUnion; + folder?: DatasetFolder; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + tableName?: any; } /** - * Azure SQL Data Warehouse linked service. + * Xero Service dataset. */ -export interface AzureSqlDWLinkedService { +export interface XeroObjectDataset { /** * Polymorphic Discriminator */ - type: "AzureSqlDW"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; + type: "XeroObject"; /** - * Linked service description. + * Dataset description. */ description?: string; /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - annotations?: any[]; + structure?: any; /** - * The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: - * string, SecureString or AzureKeyVaultSecretReference. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - connectionString: any; + schema?: any; /** - * The Azure key vault secret reference of password in connection string. + * Linked service reference. */ - password?: AzureKeyVaultSecretReference; + linkedServiceName: LinkedServiceReference; /** - * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: - * string (or Expression with resultType string). + * Parameters for dataset. */ - servicePrincipalId?: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The key of the service principal used to authenticate against Azure SQL Data Warehouse. + * List of tags that can be used for describing the Dataset. */ - servicePrincipalKey?: SecretBaseUnion; + annotations?: any[]; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - tenant?: any; + folder?: DatasetFolder; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ - encryptedCredential?: any; + tableName?: any; } /** - * The azure table storage linked service. + * Square Service dataset. */ -export interface AzureTableStorageLinkedService { +export interface SquareObjectDataset { /** * Polymorphic Discriminator */ - type: "AzureTableStorage"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; + type: "SquareObject"; /** - * Linked service description. + * Dataset description. */ description?: string; /** - * Parameters for linked service. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + structure?: any; /** - * List of tags that can be used for describing the linked service. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - annotations?: any[]; + schema?: any; /** - * The connection string. It is mutually exclusive with sasUri property. Type: string, - * SecureString or AzureKeyVaultSecretReference. + * Linked service reference. */ - connectionString?: any; + linkedServiceName: LinkedServiceReference; /** - * The Azure key vault secret reference of accountKey in connection string. + * Parameters for dataset. */ - accountKey?: AzureKeyVaultSecretReference; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString - * property. Type: string, SecureString or AzureKeyVaultSecretReference. + * List of tags that can be used for describing the Dataset. */ - sasUri?: any; + annotations?: any[]; /** - * The Azure key vault secret reference of sasToken in sas uri. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - sasToken?: AzureKeyVaultSecretReference; + folder?: DatasetFolder; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ - encryptedCredential?: string; + tableName?: any; } /** - * The azure blob storage linked service. + * Spark Server dataset. */ -export interface AzureBlobStorageLinkedService { +export interface SparkObjectDataset { /** * Polymorphic Discriminator */ - type: "AzureBlobStorage"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; + type: "SparkObject"; /** - * Linked service description. + * Dataset description. */ description?: string; /** - * Parameters for linked service. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the linked service. - */ - annotations?: any[]; - /** - * The connection string. It is mutually exclusive with sasUri, serviceEndpoint property. Type: - * string, SecureString or AzureKeyVaultSecretReference. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - connectionString?: any; + structure?: any; /** - * The Azure key vault secret reference of accountKey in connection string. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - accountKey?: AzureKeyVaultSecretReference; + schema?: any; /** - * SAS URI of the Azure Blob Storage resource. It is mutually exclusive with connectionString, - * serviceEndpoint property. Type: string, SecureString or AzureKeyVaultSecretReference. + * Linked service reference. */ - sasUri?: any; + linkedServiceName: LinkedServiceReference; /** - * The Azure key vault secret reference of sasToken in sas uri. + * Parameters for dataset. */ - sasToken?: AzureKeyVaultSecretReference; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Blob service endpoint of the Azure Blob Storage resource. It is mutually exclusive with - * connectionString, sasUri property. + * List of tags that can be used for describing the Dataset. */ - serviceEndpoint?: string; + annotations?: any[]; /** - * The ID of the service principal used to authenticate against Azure SQL Data Warehouse. Type: - * string (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - servicePrincipalId?: any; + folder?: DatasetFolder; /** - * The key of the service principal used to authenticate against Azure SQL Data Warehouse. + * This property will be retired. Please consider using schema + table properties instead. */ - servicePrincipalKey?: SecretBaseUnion; + tableName?: any; /** - * The name or ID of the tenant to which the service principal belongs. Type: string (or - * Expression with resultType string). + * The table name of the Spark. Type: string (or Expression with resultType string). */ - tenant?: any; + table?: any; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The schema name of the Spark. Type: string (or Expression with resultType string). */ - encryptedCredential?: string; + sparkObjectDatasetSchema?: any; } /** - * The storage account linked service. + * Shopify Service dataset. */ -export interface AzureStorageLinkedService { +export interface ShopifyObjectDataset { /** * Polymorphic Discriminator */ - type: "AzureStorage"; - /** - * The integration runtime reference. - */ - connectVia?: IntegrationRuntimeReference; + type: "ShopifyObject"; /** - * Linked service description. + * Dataset description. */ description?: string; /** - * Parameters for linked service. + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + structure?: any; /** - * List of tags that can be used for describing the linked service. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - annotations?: any[]; + schema?: any; /** - * The connection string. It is mutually exclusive with sasUri property. Type: string, - * SecureString or AzureKeyVaultSecretReference. + * Linked service reference. */ - connectionString?: any; + linkedServiceName: LinkedServiceReference; /** - * The Azure key vault secret reference of accountKey in connection string. + * Parameters for dataset. */ - accountKey?: AzureKeyVaultSecretReference; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * SAS URI of the Azure Storage resource. It is mutually exclusive with connectionString - * property. Type: string, SecureString or AzureKeyVaultSecretReference. + * List of tags that can be used for describing the Dataset. */ - sasUri?: any; + annotations?: any[]; /** - * The Azure key vault secret reference of sasToken in sas uri. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - sasToken?: AzureKeyVaultSecretReference; + folder?: DatasetFolder; /** - * The encrypted credential used for authentication. Credentials are encrypted using the - * integration runtime credential manager. Type: string (or Expression with resultType string). + * The table name. Type: string (or Expression with resultType string). */ - encryptedCredential?: string; + tableName?: any; } /** - * Google AdWords service dataset. + * ServiceNow server dataset. */ -export interface GoogleAdWordsObjectDataset { +export interface ServiceNowObjectDataset { /** * Polymorphic Discriminator */ - type: "GoogleAdWordsObject"; + type: "ServiceNowObject"; /** * Dataset description. */ @@ -8175,13 +8291,13 @@ export interface GoogleAdWordsObjectDataset { } /** - * The Azure Data Explorer (Kusto) dataset. + * QuickBooks server dataset. */ -export interface AzureDataExplorerTableDataset { +export interface QuickBooksObjectDataset { /** * Polymorphic Discriminator */ - type: "AzureDataExplorerTable"; + type: "QuickBooksObject"; /** * Dataset description. */ @@ -8213,20 +8329,19 @@ export interface AzureDataExplorerTableDataset { */ folder?: DatasetFolder; /** - * The table name of the Azure Data Explorer database. Type: string (or Expression with - * resultType string). + * The table name. Type: string (or Expression with resultType string). */ - table?: any; + tableName?: any; } /** - * Oracle Service Cloud dataset. + * Presto server dataset. */ -export interface OracleServiceCloudObjectDataset { +export interface PrestoObjectDataset { /** * Polymorphic Discriminator */ - type: "OracleServiceCloudObject"; + type: "PrestoObject"; /** * Dataset description. */ @@ -8258,63 +8373,27 @@ export interface OracleServiceCloudObjectDataset { */ folder?: DatasetFolder; /** - * The table name. Type: string (or Expression with resultType string). + * This property will be retired. Please consider using schema + table properties instead. */ tableName?: any; -} - -/** - * The path of the Dynamics AX OData entity. - */ -export interface DynamicsAXResourceDataset { - /** - * Polymorphic Discriminator - */ - type: "DynamicsAXResource"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The table name of the Presto. Type: string (or Expression with resultType string). */ - folder?: DatasetFolder; + table?: any; /** - * The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). + * The schema name of the Presto. Type: string (or Expression with resultType string). */ - path: any; + prestoObjectDatasetSchema?: any; } /** - * Responsys dataset. + * Phoenix server dataset. */ -export interface ResponsysObjectDataset { +export interface PhoenixObjectDataset { /** * Polymorphic Discriminator */ - type: "ResponsysObject"; + type: "PhoenixObject"; /** * Dataset description. */ @@ -8346,19 +8425,27 @@ export interface ResponsysObjectDataset { */ folder?: DatasetFolder; /** - * The table name. Type: string (or Expression with resultType string). + * This property will be retired. Please consider using schema + table properties instead. */ tableName?: any; + /** + * The table name of the Phoenix. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * The schema name of the Phoenix. Type: string (or Expression with resultType string). + */ + phoenixObjectDatasetSchema?: any; } /** - * Salesforce Marketing Cloud dataset. + * Paypal Service dataset. */ -export interface SalesforceMarketingCloudObjectDataset { +export interface PaypalObjectDataset { /** * Polymorphic Discriminator */ - type: "SalesforceMarketingCloudObject"; + type: "PaypalObject"; /** * Dataset description. */ @@ -8396,13 +8483,13 @@ export interface SalesforceMarketingCloudObjectDataset { } /** - * Vertica dataset. + * Marketo server dataset. */ -export interface VerticaTableDataset { +export interface MarketoObjectDataset { /** * Polymorphic Discriminator */ - type: "VerticaTable"; + type: "MarketoObject"; /** * Dataset description. */ @@ -8434,27 +8521,19 @@ export interface VerticaTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. + * The table name. Type: string (or Expression with resultType string). */ tableName?: any; - /** - * The table name of the Vertica. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Vertica. Type: string (or Expression with resultType string). - */ - verticaTableDatasetSchema?: any; } /** - * Netezza dataset. + * Azure Database for MariaDB dataset. */ -export interface NetezzaTableDataset { +export interface AzureMariaDBTableDataset { /** * Polymorphic Discriminator */ - type: "NetezzaTable"; + type: "AzureMariaDBTable"; /** * Dataset description. */ @@ -8486,27 +8565,19 @@ export interface NetezzaTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. + * The table name. Type: string (or Expression with resultType string). */ tableName?: any; - /** - * The table name of the Netezza. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Netezza. Type: string (or Expression with resultType string). - */ - netezzaTableDatasetSchema?: any; } /** - * Zoho server dataset. + * MariaDB server dataset. */ -export interface ZohoObjectDataset { +export interface MariaDBTableDataset { /** * Polymorphic Discriminator */ - type: "ZohoObject"; + type: "MariaDBTable"; /** * Dataset description. */ @@ -8544,13 +8615,13 @@ export interface ZohoObjectDataset { } /** - * Xero Service dataset. + * Magento server dataset. */ -export interface XeroObjectDataset { +export interface MagentoObjectDataset { /** * Polymorphic Discriminator */ - type: "XeroObject"; + type: "MagentoObject"; /** * Dataset description. */ @@ -8588,13 +8659,13 @@ export interface XeroObjectDataset { } /** - * Square Service dataset. + * Jira Service dataset. */ -export interface SquareObjectDataset { +export interface JiraObjectDataset { /** * Polymorphic Discriminator */ - type: "SquareObject"; + type: "JiraObject"; /** * Dataset description. */ @@ -8632,13 +8703,13 @@ export interface SquareObjectDataset { } /** - * Spark Server dataset. + * Impala server dataset. */ -export interface SparkObjectDataset { +export interface ImpalaObjectDataset { /** * Polymorphic Discriminator */ - type: "SparkObject"; + type: "ImpalaObject"; /** * Dataset description. */ @@ -8674,23 +8745,23 @@ export interface SparkObjectDataset { */ tableName?: any; /** - * The table name of the Spark. Type: string (or Expression with resultType string). + * The table name of the Impala. Type: string (or Expression with resultType string). */ table?: any; /** - * The schema name of the Spark. Type: string (or Expression with resultType string). + * The schema name of the Impala. Type: string (or Expression with resultType string). */ - sparkObjectDatasetSchema?: any; + impalaObjectDatasetSchema?: any; } /** - * Shopify Service dataset. + * Hubspot Service dataset. */ -export interface ShopifyObjectDataset { +export interface HubspotObjectDataset { /** * Polymorphic Discriminator */ - type: "ShopifyObject"; + type: "HubspotObject"; /** * Dataset description. */ @@ -8728,13 +8799,13 @@ export interface ShopifyObjectDataset { } /** - * ServiceNow server dataset. + * Hive Server dataset. */ -export interface ServiceNowObjectDataset { +export interface HiveObjectDataset { /** * Polymorphic Discriminator */ - type: "ServiceNowObject"; + type: "HiveObject"; /** * Dataset description. */ @@ -8766,19 +8837,27 @@ export interface ServiceNowObjectDataset { */ folder?: DatasetFolder; /** - * The table name. Type: string (or Expression with resultType string). + * This property will be retired. Please consider using schema + table properties instead. */ tableName?: any; + /** + * The table name of the Hive. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * The schema name of the Hive. Type: string (or Expression with resultType string). + */ + hiveObjectDatasetSchema?: any; } /** - * QuickBooks server dataset. + * HBase server dataset. */ -export interface QuickBooksObjectDataset { +export interface HBaseObjectDataset { /** * Polymorphic Discriminator */ - type: "QuickBooksObject"; + type: "HBaseObject"; /** * Dataset description. */ @@ -8816,13 +8895,13 @@ export interface QuickBooksObjectDataset { } /** - * Presto server dataset. + * Greenplum Database dataset. */ -export interface PrestoObjectDataset { +export interface GreenplumTableDataset { /** * Polymorphic Discriminator */ - type: "PrestoObject"; + type: "GreenplumTable"; /** * Dataset description. */ @@ -8858,23 +8937,23 @@ export interface PrestoObjectDataset { */ tableName?: any; /** - * The table name of the Presto. Type: string (or Expression with resultType string). + * The table name of Greenplum. Type: string (or Expression with resultType string). */ table?: any; /** - * The schema name of the Presto. Type: string (or Expression with resultType string). + * The schema name of Greenplum. Type: string (or Expression with resultType string). */ - prestoObjectDatasetSchema?: any; + greenplumTableDatasetSchema?: any; } /** - * Phoenix server dataset. + * Google BigQuery service dataset. */ -export interface PhoenixObjectDataset { +export interface GoogleBigQueryObjectDataset { /** * Polymorphic Discriminator */ - type: "PhoenixObject"; + type: "GoogleBigQueryObject"; /** * Dataset description. */ @@ -8906,27 +8985,27 @@ export interface PhoenixObjectDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. + * This property will be retired. Please consider using database + table properties instead. */ tableName?: any; /** - * The table name of the Phoenix. Type: string (or Expression with resultType string). + * The table name of the Google BigQuery. Type: string (or Expression with resultType string). */ table?: any; /** - * The schema name of the Phoenix. Type: string (or Expression with resultType string). + * The database name of the Google BigQuery. Type: string (or Expression with resultType string). */ - phoenixObjectDatasetSchema?: any; + dataset?: any; } /** - * Paypal Service dataset. + * Eloqua server dataset. */ -export interface PaypalObjectDataset { +export interface EloquaObjectDataset { /** * Polymorphic Discriminator */ - type: "PaypalObject"; + type: "EloquaObject"; /** * Dataset description. */ @@ -8964,13 +9043,13 @@ export interface PaypalObjectDataset { } /** - * Marketo server dataset. + * Drill server dataset. */ -export interface MarketoObjectDataset { +export interface DrillTableDataset { /** * Polymorphic Discriminator */ - type: "MarketoObject"; + type: "DrillTable"; /** * Dataset description. */ @@ -9002,19 +9081,27 @@ export interface MarketoObjectDataset { */ folder?: DatasetFolder; /** - * The table name. Type: string (or Expression with resultType string). + * This property will be retired. Please consider using schema + table properties instead. */ tableName?: any; + /** + * The table name of the Drill. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * The schema name of the Drill. Type: string (or Expression with resultType string). + */ + drillTableDatasetSchema?: any; } /** - * Azure Database for MariaDB dataset. + * Couchbase server dataset. */ -export interface AzureMariaDBTableDataset { +export interface CouchbaseTableDataset { /** * Polymorphic Discriminator */ - type: "AzureMariaDBTable"; + type: "CouchbaseTable"; /** * Dataset description. */ @@ -9052,13 +9139,13 @@ export interface AzureMariaDBTableDataset { } /** - * MariaDB server dataset. + * Concur Service dataset. */ -export interface MariaDBTableDataset { +export interface ConcurObjectDataset { /** * Polymorphic Discriminator */ - type: "MariaDBTable"; + type: "ConcurObject"; /** * Dataset description. */ @@ -9096,13 +9183,13 @@ export interface MariaDBTableDataset { } /** - * Magento server dataset. + * Azure PostgreSQL dataset. */ -export interface MagentoObjectDataset { +export interface AzurePostgreSqlTableDataset { /** * Polymorphic Discriminator */ - type: "MagentoObject"; + type: "AzurePostgreSqlTable"; /** * Dataset description. */ @@ -9134,19 +9221,30 @@ export interface MagentoObjectDataset { */ folder?: DatasetFolder; /** - * The table name. Type: string (or Expression with resultType string). + * The table name of the Azure PostgreSQL database which includes both schema and table. Type: + * string (or Expression with resultType string). */ tableName?: any; + /** + * The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType + * string). + */ + table?: any; + /** + * The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType + * string). + */ + azurePostgreSqlTableDatasetSchema?: any; } /** - * Jira Service dataset. + * Amazon Marketplace Web Service dataset. */ -export interface JiraObjectDataset { +export interface AmazonMWSObjectDataset { /** * Polymorphic Discriminator */ - type: "JiraObject"; + type: "AmazonMWSObject"; /** * Dataset description. */ @@ -9184,205 +9282,276 @@ export interface JiraObjectDataset { } /** - * Impala server dataset. + * Contains the possible cases for DatasetCompression. */ -export interface ImpalaObjectDataset { +export type DatasetCompressionUnion = DatasetCompression | DatasetZipDeflateCompression | DatasetDeflateCompression | DatasetGZipCompression | DatasetBZip2Compression; + +/** + * The compression method used on a dataset. + */ +export interface DatasetCompression { /** * Polymorphic Discriminator */ - type: "ImpalaObject"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; + type: "DatasetCompression"; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - schema?: any; + [property: string]: any; +} + +/** + * The ZipDeflate compression method used on a dataset. + */ +export interface DatasetZipDeflateCompression { /** - * Linked service reference. + * Polymorphic Discriminator */ - linkedServiceName: LinkedServiceReference; + type: "ZipDeflate"; /** - * Parameters for dataset. + * The ZipDeflate compression level. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + level?: any; +} + +/** + * The Deflate compression method used on a dataset. + */ +export interface DatasetDeflateCompression { /** - * List of tags that can be used for describing the Dataset. + * Polymorphic Discriminator */ - annotations?: any[]; + type: "Deflate"; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The Deflate compression level. */ - folder?: DatasetFolder; + level?: any; +} + +/** + * The GZip compression method used on a dataset. + */ +export interface DatasetGZipCompression { /** - * This property will be retired. Please consider using schema + table properties instead. + * Polymorphic Discriminator */ - tableName?: any; + type: "GZip"; /** - * The table name of the Impala. Type: string (or Expression with resultType string). + * The GZip compression level. */ - table?: any; + level?: any; +} + +/** + * The BZip2 compression method used on a dataset. + */ +export interface DatasetBZip2Compression { /** - * The schema name of the Impala. Type: string (or Expression with resultType string). + * Polymorphic Discriminator */ - impalaObjectDatasetSchema?: any; + type: "BZip2"; } /** - * Hubspot Service dataset. + * Contains the possible cases for DatasetStorageFormat. */ -export interface HubspotObjectDataset { +export type DatasetStorageFormatUnion = DatasetStorageFormat | ParquetFormat | OrcFormat | AvroFormat | JsonFormat | TextFormat; + +/** + * The format definition of a storage. + */ +export interface DatasetStorageFormat { /** * Polymorphic Discriminator */ - type: "HubspotObject"; + type: "DatasetStorageFormat"; /** - * Dataset description. + * Serializer. Type: string (or Expression with resultType string). */ - description?: string; + serializer?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * Deserializer. Type: string (or Expression with resultType string). */ - structure?: any; + deserializer?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - schema?: any; + [property: string]: any; +} + +/** + * The data stored in Parquet format. + */ +export interface ParquetFormat { /** - * Linked service reference. + * Polymorphic Discriminator */ - linkedServiceName: LinkedServiceReference; + type: "ParquetFormat"; /** - * Parameters for dataset. + * Serializer. Type: string (or Expression with resultType string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + serializer?: any; /** - * List of tags that can be used for describing the Dataset. + * Deserializer. Type: string (or Expression with resultType string). */ - annotations?: any[]; + deserializer?: any; +} + +/** + * The data stored in Optimized Row Columnar (ORC) format. + */ +export interface OrcFormat { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Polymorphic Discriminator */ - folder?: DatasetFolder; + type: "OrcFormat"; /** - * The table name. Type: string (or Expression with resultType string). + * Serializer. Type: string (or Expression with resultType string). */ - tableName?: any; + serializer?: any; + /** + * Deserializer. Type: string (or Expression with resultType string). + */ + deserializer?: any; } /** - * Hive Server dataset. + * The data stored in Avro format. */ -export interface HiveObjectDataset { +export interface AvroFormat { /** * Polymorphic Discriminator */ - type: "HiveObject"; + type: "AvroFormat"; /** - * Dataset description. + * Serializer. Type: string (or Expression with resultType string). */ - description?: string; + serializer?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * Deserializer. Type: string (or Expression with resultType string). */ - structure?: any; + deserializer?: any; +} + +/** + * The data stored in JSON format. + */ +export interface JsonFormat { /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Polymorphic Discriminator */ - schema?: any; + type: "JsonFormat"; /** - * Linked service reference. + * Serializer. Type: string (or Expression with resultType string). */ - linkedServiceName: LinkedServiceReference; + serializer?: any; /** - * Parameters for dataset. + * Deserializer. Type: string (or Expression with resultType string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + deserializer?: any; /** - * List of tags that can be used for describing the Dataset. + * File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. + * The default value is 'setOfObjects'. It is case-sensitive. */ - annotations?: any[]; + filePattern?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The character used to separate nesting levels. Default value is '.' (dot). Type: string (or + * Expression with resultType string). */ - folder?: DatasetFolder; + nestingSeparator?: any; /** - * This property will be retired. Please consider using schema + table properties instead. + * The code page name of the preferred encoding. If not provided, the default value is 'utf-8', + * unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported + * values can be found in the 'Name' column of the table of encodings in the following reference: + * https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType + * string). */ - tableName?: any; + encodingName?: any; /** - * The table name of the Hive. Type: string (or Expression with resultType string). + * The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string + * (or Expression with resultType string). */ - table?: any; + jsonNodeReference?: any; /** - * The schema name of the Hive. Type: string (or Expression with resultType string). + * The JSONPath definition for each column mapping with a customized column name to extract data + * from JSON file. For fields under root object, start with "$"; for fields inside the array + * chosen by jsonNodeReference property, start from the array element. Example: {"Column1": + * "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType + * object). */ - hiveObjectDatasetSchema?: any; + jsonPathDefinition?: any; } /** - * HBase server dataset. + * The data stored in text format. */ -export interface HBaseObjectDataset { +export interface TextFormat { /** * Polymorphic Discriminator */ - type: "HBaseObject"; + type: "TextFormat"; /** - * Dataset description. + * Serializer. Type: string (or Expression with resultType string). */ - description?: string; + serializer?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * Deserializer. Type: string (or Expression with resultType string). */ - structure?: any; + deserializer?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * The column delimiter. Type: string (or Expression with resultType string). */ - schema?: any; + columnDelimiter?: any; /** - * Linked service reference. + * The row delimiter. Type: string (or Expression with resultType string). */ - linkedServiceName: LinkedServiceReference; + rowDelimiter?: any; /** - * Parameters for dataset. + * The escape character. Type: string (or Expression with resultType string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + escapeChar?: any; /** - * List of tags that can be used for describing the Dataset. + * The quote character. Type: string (or Expression with resultType string). */ - annotations?: any[]; + quoteChar?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The null value string. Type: string (or Expression with resultType string). */ - folder?: DatasetFolder; + nullValue?: any; /** - * The table name. Type: string (or Expression with resultType string). + * The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, + * unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in + * the following link to set supported values: + * https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with + * resultType string). */ - tableName?: any; -} - -/** - * Greenplum Database dataset. - */ -export interface GreenplumTableDataset { + encodingName?: any; /** - * Polymorphic Discriminator + * Treat empty column values in the text file as null. The default value is true. Type: boolean + * (or Expression with resultType boolean). */ - type: "GreenplumTable"; + treatEmptyAsNull?: any; + /** + * The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: + * integer (or Expression with resultType integer). + */ + skipLineCount?: any; + /** + * When used as input, treat the first row of data as headers. When used as output,write the + * headers into the output as the first row of data. The default value is false. Type: boolean + * (or Expression with resultType boolean). + */ + firstRowAsHeader?: any; +} + +/** + * A file in an HTTP web server. + */ +export interface HttpDataset { + /** + * Polymorphic Discriminator + */ + type: "HttpFile"; /** * Dataset description. */ @@ -9414,27 +9583,43 @@ export interface GreenplumTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. + * The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string + * (or Expression with resultType string). */ - tableName?: any; + relativeUrl?: any; /** - * The table name of Greenplum. Type: string (or Expression with resultType string). + * The HTTP method for the HTTP request. Type: string (or Expression with resultType string). */ - table?: any; + requestMethod?: any; /** - * The schema name of Greenplum. Type: string (or Expression with resultType string). + * The body for the HTTP request. Type: string (or Expression with resultType string). */ - greenplumTableDatasetSchema?: any; + requestBody?: any; + /** + * The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1 + * ... + * request-header-name-n:request-header-value-n Type: string (or Expression with resultType + * string). + */ + additionalHeaders?: any; + /** + * The format of files. + */ + format?: DatasetStorageFormatUnion; + /** + * The data compression method used on files. + */ + compression?: DatasetCompressionUnion; } /** - * Google BigQuery service dataset. + * The Azure Search Index. */ -export interface GoogleBigQueryObjectDataset { +export interface AzureSearchIndexDataset { /** * Polymorphic Discriminator */ - type: "GoogleBigQueryObject"; + type: "AzureSearchIndex"; /** * Dataset description. */ @@ -9466,27 +9651,19 @@ export interface GoogleBigQueryObjectDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using database + table properties instead. - */ - tableName?: any; - /** - * The table name of the Google BigQuery. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The database name of the Google BigQuery. Type: string (or Expression with resultType string). + * The name of the Azure Search Index. Type: string (or Expression with resultType string). */ - dataset?: any; + indexName: any; } /** - * Eloqua server dataset. + * The dataset points to a HTML table in the web page. */ -export interface EloquaObjectDataset { +export interface WebTableDataset { /** * Polymorphic Discriminator */ - type: "EloquaObject"; + type: "WebTable"; /** * Dataset description. */ @@ -9518,19 +9695,25 @@ export interface EloquaObjectDataset { */ folder?: DatasetFolder; /** - * The table name. Type: string (or Expression with resultType string). + * The zero-based index of the table in the web page. Type: integer (or Expression with + * resultType integer), minimum: 0. */ - tableName?: any; + index: any; + /** + * The relative URL to the web page from the linked service URL. Type: string (or Expression with + * resultType string). + */ + path?: any; } /** - * Drill server dataset. + * SAP Table Resource properties. */ -export interface DrillTableDataset { +export interface SapTableResourceDataset { /** * Polymorphic Discriminator */ - type: "DrillTable"; + type: "SapTableResource"; /** * Dataset description. */ @@ -9562,27 +9745,19 @@ export interface DrillTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The table name of the Drill. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The schema name of the Drill. Type: string (or Expression with resultType string). + * The name of the SAP Table. Type: string (or Expression with resultType string). */ - drillTableDatasetSchema?: any; + tableName: any; } /** - * Couchbase server dataset. + * A Rest service dataset. */ -export interface CouchbaseTableDataset { +export interface RestResourceDataset { /** * Polymorphic Discriminator */ - type: "CouchbaseTable"; + type: "RestResource"; /** * Dataset description. */ @@ -9614,19 +9789,40 @@ export interface CouchbaseTableDataset { */ folder?: DatasetFolder; /** - * The table name. Type: string (or Expression with resultType string). + * The relative URL to the resource that the RESTful API provides. Type: string (or Expression + * with resultType string). */ - tableName?: any; + 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; } /** - * Concur Service dataset. + * The on-premises SQL Server dataset. */ -export interface ConcurObjectDataset { +export interface SqlServerTableDataset { /** * Polymorphic Discriminator */ - type: "ConcurObject"; + type: "SqlServerTable"; /** * Dataset description. */ @@ -9658,19 +9854,28 @@ export interface ConcurObjectDataset { */ folder?: DatasetFolder; /** - * The table name. Type: string (or Expression with resultType string). + * This property will be retired. Please consider using schema + table properties instead. */ tableName?: any; + /** + * The schema name of the SQL Server dataset. Type: string (or Expression with resultType + * string). + */ + sqlServerTableDatasetSchema?: any; + /** + * The table name of the SQL Server dataset. Type: string (or Expression with resultType string). + */ + table?: any; } /** - * Azure PostgreSQL dataset. + * Sap Business Warehouse Open Hub Destination Table properties. */ -export interface AzurePostgreSqlTableDataset { +export interface SapOpenHubTableDataset { /** * Polymorphic Discriminator */ - type: "AzurePostgreSqlTable"; + type: "SapOpenHubTable"; /** * Dataset description. */ @@ -9702,30 +9907,31 @@ export interface AzurePostgreSqlTableDataset { */ folder?: DatasetFolder; /** - * The table name of the Azure PostgreSQL database which includes both schema and table. Type: - * string (or Expression with resultType string). + * The name of the Open Hub Destination with destination type as Database Table. Type: string (or + * Expression with resultType string). */ - tableName?: any; + openHubDestinationName: any; /** - * The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType - * string). + * Whether to exclude the records of the last request. The default value is true. Type: boolean + * (or Expression with resultType boolean). */ - table?: any; + excludeLastRequest?: any; /** - * The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType - * string). + * 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 ). */ - azurePostgreSqlTableDatasetSchema?: any; + baseRequestId?: any; } /** - * Amazon Marketplace Web Service dataset. + * SAP HANA Table properties. */ -export interface AmazonMWSObjectDataset { +export interface SapHanaTableDataset { /** * Polymorphic Discriminator */ - type: "AmazonMWSObject"; + type: "SapHanaTable"; /** * Dataset description. */ @@ -9757,282 +9963,196 @@ export interface AmazonMWSObjectDataset { */ folder?: DatasetFolder; /** - * The table name. Type: string (or Expression with resultType string). + * The schema name of SAP HANA. Type: string (or Expression with resultType string). */ - tableName?: any; + sapHanaTableDatasetSchema?: any; + /** + * The table name of SAP HANA. Type: string (or Expression with resultType string). + */ + table?: any; } /** - * Contains the possible cases for DatasetCompression. - */ -export type DatasetCompressionUnion = DatasetCompression | DatasetZipDeflateCompression | DatasetDeflateCompression | DatasetGZipCompression | DatasetBZip2Compression; - -/** - * The compression method used on a dataset. + * The path of the SAP ECC OData entity. */ -export interface DatasetCompression { +export interface SapEccResourceDataset { /** * Polymorphic Discriminator */ - type: "DatasetCompression"; + type: "SapEccResource"; /** - * Describes unknown properties. The value of an unknown property can be of "any" type. + * Dataset description. */ - [property: string]: any; -} - -/** - * The ZipDeflate compression method used on a dataset. - */ -export interface DatasetZipDeflateCompression { + description?: string; /** - * Polymorphic Discriminator + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - type: "ZipDeflate"; + structure?: any; /** - * The ZipDeflate compression level. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - level?: any; -} - -/** - * The Deflate compression method used on a dataset. - */ -export interface DatasetDeflateCompression { + schema?: any; /** - * Polymorphic Discriminator + * Linked service reference. */ - type: "Deflate"; + linkedServiceName: LinkedServiceReference; /** - * The Deflate compression level. + * Parameters for dataset. */ - level?: any; -} - -/** - * The GZip compression method used on a dataset. - */ -export interface DatasetGZipCompression { + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Polymorphic Discriminator + * List of tags that can be used for describing the Dataset. */ - type: "GZip"; + annotations?: any[]; /** - * The GZip compression level. + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - level?: any; + folder?: DatasetFolder; + /** + * The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). + */ + path: any; } /** - * The BZip2 compression method used on a dataset. + * The path of the SAP Cloud for Customer OData entity. */ -export interface DatasetBZip2Compression { +export interface SapCloudForCustomerResourceDataset { /** * Polymorphic Discriminator */ - type: "BZip2"; -} - -/** - * Contains the possible cases for DatasetStorageFormat. - */ -export type DatasetStorageFormatUnion = DatasetStorageFormat | ParquetFormat | OrcFormat | AvroFormat | JsonFormat | TextFormat; - -/** - * The format definition of a storage. - */ -export interface DatasetStorageFormat { - /** - * Polymorphic Discriminator - */ - type: "DatasetStorageFormat"; - /** - * Serializer. Type: string (or Expression with resultType string). - */ - serializer?: any; - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * The data stored in Parquet format. - */ -export interface ParquetFormat { - /** - * Polymorphic Discriminator - */ - type: "ParquetFormat"; + type: "SapCloudForCustomerResource"; /** - * Serializer. Type: string (or Expression with resultType string). + * Dataset description. */ - serializer?: any; + description?: string; /** - * Deserializer. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - deserializer?: any; -} - -/** - * The data stored in Optimized Row Columnar (ORC) format. - */ -export interface OrcFormat { + structure?: any; /** - * Polymorphic Discriminator + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - type: "OrcFormat"; + schema?: any; /** - * Serializer. Type: string (or Expression with resultType string). + * Linked service reference. */ - serializer?: any; + linkedServiceName: LinkedServiceReference; /** - * Deserializer. Type: string (or Expression with resultType string). + * Parameters for dataset. */ - deserializer?: any; -} - -/** - * The data stored in Avro format. - */ -export interface AvroFormat { + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Polymorphic Discriminator + * List of tags that can be used for describing the Dataset. */ - type: "AvroFormat"; + annotations?: any[]; /** - * Serializer. Type: string (or Expression with resultType string). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - serializer?: any; + folder?: DatasetFolder; /** - * Deserializer. Type: string (or Expression with resultType string). + * The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with + * resultType string). */ - deserializer?: any; + path: any; } /** - * The data stored in JSON format. + * The SAP BW cube dataset. */ -export interface JsonFormat { +export interface SapBwCubeDataset { /** * Polymorphic Discriminator */ - type: "JsonFormat"; + type: "SapBwCube"; /** - * Serializer. Type: string (or Expression with resultType string). + * Dataset description. */ - serializer?: any; + description?: string; /** - * Deserializer. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - deserializer?: any; + structure?: any; /** - * File pattern of JSON. To be more specific, the way of separating a collection of JSON objects. - * The default value is 'setOfObjects'. It is case-sensitive. + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - filePattern?: any; + schema?: any; /** - * The character used to separate nesting levels. Default value is '.' (dot). Type: string (or - * Expression with resultType string). + * Linked service reference. */ - nestingSeparator?: any; + linkedServiceName: LinkedServiceReference; /** - * The code page name of the preferred encoding. If not provided, the default value is 'utf-8', - * unless the byte order mark (BOM) denotes another Unicode encoding. The full list of supported - * values can be found in the 'Name' column of the table of encodings in the following reference: - * https://go.microsoft.com/fwlink/?linkid=861078. Type: string (or Expression with resultType - * string). + * Parameters for dataset. */ - encodingName?: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * The JSONPath of the JSON array element to be flattened. Example: "$.ArrayPath". Type: string - * (or Expression with resultType string). + * List of tags that can be used for describing the Dataset. */ - jsonNodeReference?: any; + annotations?: any[]; /** - * The JSONPath definition for each column mapping with a customized column name to extract data - * from JSON file. For fields under root object, start with "$"; for fields inside the array - * chosen by jsonNodeReference property, start from the array element. Example: {"Column1": - * "$.Column1Path", "Column2": "Column2PathInArray"}. Type: object (or Expression with resultType - * object). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - jsonPathDefinition?: any; + folder?: DatasetFolder; } /** - * The data stored in text format. + * The Sybase table dataset. */ -export interface TextFormat { +export interface SybaseTableDataset { /** * Polymorphic Discriminator */ - type: "TextFormat"; - /** - * Serializer. Type: string (or Expression with resultType string). - */ - serializer?: any; - /** - * Deserializer. Type: string (or Expression with resultType string). - */ - deserializer?: any; - /** - * The column delimiter. Type: string (or Expression with resultType string). - */ - columnDelimiter?: any; + type: "SybaseTable"; /** - * The row delimiter. Type: string (or Expression with resultType string). + * Dataset description. */ - rowDelimiter?: any; + description?: string; /** - * The escape character. Type: string (or Expression with resultType string). + * Columns that define the structure of the dataset. Type: array (or Expression with resultType + * array), itemType: DatasetDataElement. */ - escapeChar?: any; + structure?: any; /** - * The quote character. Type: string (or Expression with resultType string). + * Columns that define the physical type schema of the dataset. Type: array (or Expression with + * resultType array), itemType: DatasetSchemaDataElement. */ - quoteChar?: any; + schema?: any; /** - * The null value string. Type: string (or Expression with resultType string). + * Linked service reference. */ - nullValue?: any; + linkedServiceName: LinkedServiceReference; /** - * The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, - * unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in - * the following link to set supported values: - * https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with - * resultType string). + * Parameters for dataset. */ - encodingName?: any; + parameters?: { [propertyName: string]: ParameterSpecification }; /** - * Treat empty column values in the text file as null. The default value is true. Type: boolean - * (or Expression with resultType boolean). + * List of tags that can be used for describing the Dataset. */ - treatEmptyAsNull?: any; + annotations?: any[]; /** - * The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: - * integer (or Expression with resultType integer). + * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ - skipLineCount?: any; + folder?: DatasetFolder; /** - * When used as input, treat the first row of data as headers. When used as output,write the - * headers into the output as the first row of data. The default value is false. Type: boolean - * (or Expression with resultType boolean). + * The Sybase table name. Type: string (or Expression with resultType string). */ - firstRowAsHeader?: any; + tableName?: any; } /** - * A file in an HTTP web server. + * The Salesforce Service Cloud object dataset. */ -export interface HttpDataset { +export interface SalesforceServiceCloudObjectDataset { /** * Polymorphic Discriminator */ - type: "HttpFile"; + type: "SalesforceServiceCloudObject"; /** * Dataset description. */ @@ -10064,43 +10184,20 @@ export interface HttpDataset { */ folder?: DatasetFolder; /** - * The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string - * (or Expression with resultType string). - */ - relativeUrl?: any; - /** - * The HTTP method for the HTTP request. Type: string (or Expression with resultType string). - */ - requestMethod?: any; - /** - * The body for the HTTP request. Type: string (or Expression with resultType string). - */ - requestBody?: any; - /** - * The headers for the HTTP Request. e.g. request-header-name-1:request-header-value-1 - * ... - * request-header-name-n:request-header-value-n Type: string (or Expression with resultType + * The Salesforce Service Cloud object API name. Type: string (or Expression with resultType * string). */ - additionalHeaders?: any; - /** - * The format of files. - */ - format?: DatasetStorageFormatUnion; - /** - * The data compression method used on files. - */ - compression?: DatasetCompressionUnion; + objectApiName?: any; } /** - * The Azure Search Index. + * The Salesforce object dataset. */ -export interface AzureSearchIndexDataset { +export interface SalesforceObjectDataset { /** * Polymorphic Discriminator */ - type: "AzureSearchIndex"; + type: "SalesforceObject"; /** * Dataset description. */ @@ -10132,19 +10229,19 @@ export interface AzureSearchIndexDataset { */ folder?: DatasetFolder; /** - * The name of the Azure Search Index. Type: string (or Expression with resultType string). + * The Salesforce object API name. Type: string (or Expression with resultType string). */ - indexName: any; + objectApiName?: any; } /** - * The dataset points to a HTML table in the web page. + * The Microsoft Access table dataset. */ -export interface WebTableDataset { +export interface MicrosoftAccessTableDataset { /** * Polymorphic Discriminator */ - type: "WebTable"; + type: "MicrosoftAccessTable"; /** * Dataset description. */ @@ -10176,25 +10273,19 @@ export interface WebTableDataset { */ folder?: DatasetFolder; /** - * The zero-based index of the table in the web page. Type: integer (or Expression with - * resultType integer), minimum: 0. - */ - index: any; - /** - * The relative URL to the web page from the linked service URL. Type: string (or Expression with - * resultType string). + * The Microsoft Access table name. Type: string (or Expression with resultType string). */ - path?: any; + tableName?: any; } /** - * SAP Table Resource properties. + * The PostgreSQL table dataset. */ -export interface SapTableResourceDataset { +export interface PostgreSqlTableDataset { /** * Polymorphic Discriminator */ - type: "SapTableResource"; + type: "PostgreSqlTable"; /** * Dataset description. */ @@ -10226,19 +10317,27 @@ export interface SapTableResourceDataset { */ folder?: DatasetFolder; /** - * The name of the SAP Table. Type: string (or Expression with resultType string). + * This property will be retired. Please consider using schema + table properties instead. */ - tableName: any; + tableName?: any; + /** + * The PostgreSQL table name. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * The PostgreSQL schema name. Type: string (or Expression with resultType string). + */ + postgreSqlTableDatasetSchema?: any; } /** - * A Rest service dataset. + * The MySQL table dataset. */ -export interface RestResourceDataset { +export interface MySqlTableDataset { /** * Polymorphic Discriminator */ - type: "RestResource"; + type: "MySqlTable"; /** * Dataset description. */ @@ -10270,40 +10369,19 @@ export interface RestResourceDataset { */ folder?: DatasetFolder; /** - * 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). + * The MySQL table name. Type: string (or Expression with resultType string). */ - paginationRules?: any; + tableName?: any; } /** - * The on-premises SQL Server dataset. + * The ODBC table dataset. */ -export interface SqlServerTableDataset { +export interface OdbcTableDataset { /** * Polymorphic Discriminator */ - type: "SqlServerTable"; + type: "OdbcTable"; /** * Dataset description. */ @@ -10335,28 +10413,19 @@ export interface SqlServerTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. + * The ODBC table name. Type: string (or Expression with resultType string). */ tableName?: any; - /** - * The schema name of the SQL Server dataset. Type: string (or Expression with resultType - * string). - */ - sqlServerTableDatasetSchema?: any; - /** - * The table name of the SQL Server dataset. Type: string (or Expression with resultType string). - */ - table?: any; } /** - * Sap Business Warehouse Open Hub Destination Table properties. + * The Informix table dataset. */ -export interface SapOpenHubTableDataset { +export interface InformixTableDataset { /** * Polymorphic Discriminator */ - type: "SapOpenHubTable"; + type: "InformixTable"; /** * Dataset description. */ @@ -10388,31 +10457,19 @@ export interface SapOpenHubTableDataset { */ folder?: DatasetFolder; /** - * 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 ). + * The Informix table name. Type: string (or Expression with resultType string). */ - baseRequestId?: any; + tableName?: any; } /** - * SAP HANA Table properties. + * The relational table dataset. */ -export interface SapHanaTableDataset { +export interface RelationalTableDataset { /** * Polymorphic Discriminator */ - type: "SapHanaTable"; + type: "RelationalTable"; /** * Dataset description. */ @@ -10444,23 +10501,19 @@ export interface SapHanaTableDataset { */ folder?: DatasetFolder; /** - * The schema name of SAP HANA. Type: string (or Expression with resultType string). - */ - sapHanaTableDatasetSchema?: any; - /** - * The table name of SAP HANA. Type: string (or Expression with resultType string). + * The relational table name. Type: string (or Expression with resultType string). */ - table?: any; + tableName?: any; } /** - * The path of the SAP ECC OData entity. + * The Db2 table dataset. */ -export interface SapEccResourceDataset { +export interface Db2TableDataset { /** * Polymorphic Discriminator */ - type: "SapEccResource"; + type: "Db2Table"; /** * Dataset description. */ @@ -10492,19 +10545,27 @@ export interface SapEccResourceDataset { */ folder?: DatasetFolder; /** - * The path of the SAP ECC OData entity. Type: string (or Expression with resultType string). + * This property will be retired. Please consider using schema + table properties instead. */ - path: any; + tableName?: any; + /** + * The Db2 schema name. Type: string (or Expression with resultType string). + */ + db2TableDatasetSchema?: any; + /** + * The Db2 table name. Type: string (or Expression with resultType string). + */ + table?: any; } /** - * The path of the SAP Cloud for Customer OData entity. + * The Amazon Redshift table dataset. */ -export interface SapCloudForCustomerResourceDataset { +export interface AmazonRedshiftTableDataset { /** * Polymorphic Discriminator */ - type: "SapCloudForCustomerResource"; + type: "AmazonRedshiftTable"; /** * Dataset description. */ @@ -10536,20 +10597,27 @@ export interface SapCloudForCustomerResourceDataset { */ folder?: DatasetFolder; /** - * The path of the SAP Cloud for Customer OData entity. Type: string (or Expression with - * resultType string). + * This property will be retired. Please consider using schema + table properties instead. */ - path: any; + tableName?: any; + /** + * The Amazon Redshift table name. Type: string (or Expression with resultType string). + */ + table?: any; + /** + * The Amazon Redshift schema name. Type: string (or Expression with resultType string). + */ + amazonRedshiftTableDatasetSchema?: any; } /** - * The SAP BW cube dataset. + * The Azure MySQL database dataset. */ -export interface SapBwCubeDataset { +export interface AzureMySqlTableDataset { /** * Polymorphic Discriminator */ - type: "SapBwCube"; + type: "AzureMySqlTable"; /** * Dataset description. */ @@ -10580,16 +10648,24 @@ export interface SapBwCubeDataset { * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. */ folder?: DatasetFolder; + /** + * The Azure MySQL database table name. Type: string (or Expression with resultType string). + */ + tableName?: any; + /** + * The name of Azure MySQL database table. Type: string (or Expression with resultType string). + */ + table?: any; } /** - * The Sybase table dataset. + * The Teradata database dataset. */ -export interface SybaseTableDataset { +export interface TeradataTableDataset { /** * Polymorphic Discriminator */ - type: "SybaseTable"; + type: "TeradataTable"; /** * Dataset description. */ @@ -10621,19 +10697,23 @@ export interface SybaseTableDataset { */ folder?: DatasetFolder; /** - * The Sybase table name. Type: string (or Expression with resultType string). + * The database name of Teradata. Type: string (or Expression with resultType string). */ - tableName?: any; + database?: any; + /** + * The table name of Teradata. Type: string (or Expression with resultType string). + */ + table?: any; } /** - * The Salesforce Service Cloud object dataset. + * The on-premises Oracle database dataset. */ -export interface SalesforceServiceCloudObjectDataset { +export interface OracleTableDataset { /** * Polymorphic Discriminator */ - type: "SalesforceServiceCloudObject"; + type: "OracleTable"; /** * Dataset description. */ @@ -10665,20 +10745,29 @@ export interface SalesforceServiceCloudObjectDataset { */ folder?: DatasetFolder; /** - * The Salesforce Service Cloud object API name. Type: string (or Expression with resultType + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; + /** + * The schema name of the on-premises Oracle database. Type: string (or Expression with + * resultType string). + */ + oracleTableDatasetSchema?: any; + /** + * The table name of the on-premises Oracle database. Type: string (or Expression with resultType * string). */ - objectApiName?: any; + table?: any; } /** - * The Salesforce object dataset. + * The Open Data Protocol (OData) resource dataset. */ -export interface SalesforceObjectDataset { +export interface ODataResourceDataset { /** * Polymorphic Discriminator */ - type: "SalesforceObject"; + type: "ODataResource"; /** * Dataset description. */ @@ -10710,19 +10799,19 @@ export interface SalesforceObjectDataset { */ folder?: DatasetFolder; /** - * The Salesforce object API name. Type: string (or Expression with resultType string). + * The OData resource path. Type: string (or Expression with resultType string). */ - objectApiName?: any; + path?: any; } /** - * The Microsoft Access table dataset. + * The CosmosDB (MongoDB API) database dataset. */ -export interface MicrosoftAccessTableDataset { +export interface CosmosDbMongoDbApiCollectionDataset { /** * Polymorphic Discriminator */ - type: "MicrosoftAccessTable"; + type: "CosmosDbMongoDbApiCollection"; /** * Dataset description. */ @@ -10754,19 +10843,20 @@ export interface MicrosoftAccessTableDataset { */ folder?: DatasetFolder; /** - * The Microsoft Access table name. Type: string (or Expression with resultType string). + * The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with + * resultType string). */ - tableName?: any; + collection: any; } /** - * The PostgreSQL table dataset. + * The MongoDB database dataset. */ -export interface PostgreSqlTableDataset { +export interface MongoDbV2CollectionDataset { /** * Polymorphic Discriminator */ - type: "PostgreSqlTable"; + type: "MongoDbV2Collection"; /** * Dataset description. */ @@ -10798,27 +10888,20 @@ export interface PostgreSqlTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The PostgreSQL table name. Type: string (or Expression with resultType string). - */ - table?: any; - /** - * The PostgreSQL schema name. Type: string (or Expression with resultType string). + * The collection name of the MongoDB database. Type: string (or Expression with resultType + * string). */ - postgreSqlTableDatasetSchema?: any; + collection: any; } /** - * The MySQL table dataset. + * The MongoDB database dataset. */ -export interface MySqlTableDataset { +export interface MongoDbCollectionDataset { /** * Polymorphic Discriminator */ - type: "MySqlTable"; + type: "MongoDbCollection"; /** * Dataset description. */ @@ -10850,19 +10933,19 @@ export interface MySqlTableDataset { */ folder?: DatasetFolder; /** - * The MySQL table name. Type: string (or Expression with resultType string). + * The table name of the MongoDB database. Type: string (or Expression with resultType string). */ - tableName?: any; + collectionName: any; } /** - * The ODBC table dataset. + * An on-premises file system dataset. */ -export interface OdbcTableDataset { +export interface FileShareDataset { /** * Polymorphic Discriminator */ - type: "OdbcTable"; + type: "FileShare"; /** * Dataset description. */ @@ -10894,63 +10977,44 @@ export interface OdbcTableDataset { */ folder?: DatasetFolder; /** - * The ODBC table name. Type: string (or Expression with resultType string). + * The path of the on-premises file system. Type: string (or Expression with resultType string). */ - tableName?: any; -} - -/** - * The Informix table dataset. - */ -export interface InformixTableDataset { + folderPath?: any; /** - * Polymorphic Discriminator + * The name of the on-premises file system. Type: string (or Expression with resultType string). */ - type: "InformixTable"; + fileName?: any; /** - * Dataset description. + * The start of file's modified datetime. Type: string (or Expression with resultType string). */ - description?: string; + modifiedDatetimeStart?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. + * The end of file's modified datetime. Type: string (or Expression with resultType string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + modifiedDatetimeEnd?: any; /** - * List of tags that can be used for describing the Dataset. + * The format of the files. */ - annotations?: any[]; + format?: DatasetStorageFormatUnion; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Specify a filter to be used to select a subset of files in the folderPath rather than all + * files. Type: string (or Expression with resultType string). */ - folder?: DatasetFolder; + fileFilter?: any; /** - * The Informix table name. Type: string (or Expression with resultType string). + * The data compression method used for the file system. */ - tableName?: any; + compression?: DatasetCompressionUnion; } /** - * The relational table dataset. + * The Office365 account. */ -export interface RelationalTableDataset { +export interface Office365Dataset { /** * Polymorphic Discriminator */ - type: "RelationalTable"; + type: "Office365Table"; /** * Dataset description. */ @@ -10982,19 +11046,25 @@ export interface RelationalTableDataset { */ folder?: DatasetFolder; /** - * The relational table name. Type: string (or Expression with resultType string). + * Name of the dataset to extract from Office 365. Type: string (or Expression with resultType + * string). */ - tableName?: any; + tableName: any; + /** + * A predicate expression that can be used to filter the specific rows to extract from Office + * 365. Type: string (or Expression with resultType string). + */ + predicate?: any; } /** - * The Db2 table dataset. + * The Azure Data Lake Storage Gen2 storage. */ -export interface Db2TableDataset { +export interface AzureBlobFSDataset { /** * Polymorphic Discriminator */ - type: "Db2Table"; + type: "AzureBlobFSFile"; /** * Dataset description. */ @@ -11026,27 +11096,33 @@ export interface Db2TableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. + * The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with + * resultType string). */ - tableName?: any; + folderPath?: any; /** - * The Db2 schema name. Type: string (or Expression with resultType string). + * The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with resultType + * string). */ - db2TableDatasetSchema?: any; + fileName?: any; /** - * The Db2 table name. Type: string (or Expression with resultType string). + * The format of the Azure Data Lake Storage Gen2 storage. */ - table?: any; + format?: DatasetStorageFormatUnion; + /** + * The data compression method used for the blob storage. + */ + compression?: DatasetCompressionUnion; } /** - * The Amazon Redshift table dataset. + * Azure Data Lake Store dataset. */ -export interface AmazonRedshiftTableDataset { +export interface AzureDataLakeStoreDataset { /** * Polymorphic Discriminator */ - type: "AmazonRedshiftTable"; + type: "AzureDataLakeStoreFile"; /** * Dataset description. */ @@ -11078,27 +11154,33 @@ export interface AmazonRedshiftTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. + * Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType + * string). */ - tableName?: any; + folderPath?: any; /** - * The Amazon Redshift table name. Type: string (or Expression with resultType string). + * The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType + * string). */ - table?: any; + fileName?: any; /** - * The Amazon Redshift schema name. Type: string (or Expression with resultType string). + * The format of the Data Lake Store. */ - amazonRedshiftTableDatasetSchema?: any; + format?: DatasetStorageFormatUnion; + /** + * The data compression method used for the item(s) in the Azure Data Lake Store. + */ + compression?: DatasetCompressionUnion; } /** - * The Azure MySQL database dataset. + * The Common Data Service for Apps entity dataset. */ -export interface AzureMySqlTableDataset { +export interface CommonDataServiceForAppsEntityDataset { /** * Polymorphic Discriminator */ - type: "AzureMySqlTable"; + type: "CommonDataServiceForAppsEntity"; /** * Dataset description. */ @@ -11130,23 +11212,19 @@ export interface AzureMySqlTableDataset { */ folder?: DatasetFolder; /** - * The Azure MySQL database table name. Type: string (or Expression with resultType string). - */ - tableName?: any; - /** - * The name of Azure MySQL database table. Type: string (or Expression with resultType string). + * The logical name of the entity. Type: string (or Expression with resultType string). */ - table?: any; + entityName?: any; } /** - * The Teradata database dataset. + * The Dynamics CRM entity dataset. */ -export interface TeradataTableDataset { +export interface DynamicsCrmEntityDataset { /** * Polymorphic Discriminator */ - type: "TeradataTable"; + type: "DynamicsCrmEntity"; /** * Dataset description. */ @@ -11178,23 +11256,19 @@ export interface TeradataTableDataset { */ folder?: DatasetFolder; /** - * The database name of Teradata. Type: string (or Expression with resultType string). - */ - database?: any; - /** - * The table name of Teradata. Type: string (or Expression with resultType string). + * The logical name of the entity. Type: string (or Expression with resultType string). */ - table?: any; + entityName?: any; } /** - * The on-premises Oracle database dataset. + * The Dynamics entity dataset. */ -export interface OracleTableDataset { +export interface DynamicsEntityDataset { /** * Polymorphic Discriminator */ - type: "OracleTable"; + type: "DynamicsEntity"; /** * Dataset description. */ @@ -11226,29 +11300,19 @@ export interface OracleTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The schema name of the on-premises Oracle database. Type: string (or Expression with - * resultType string). - */ - oracleTableDatasetSchema?: any; - /** - * The table name of the on-premises Oracle database. Type: string (or Expression with resultType - * string). + * The logical name of the entity. Type: string (or Expression with resultType string). */ - table?: any; + entityName?: any; } /** - * The Open Data Protocol (OData) resource dataset. + * Microsoft Azure Document Database Collection dataset. */ -export interface ODataResourceDataset { +export interface DocumentDbCollectionDataset { /** * Polymorphic Discriminator */ - type: "ODataResource"; + type: "DocumentDbCollection"; /** * Dataset description. */ @@ -11280,19 +11344,19 @@ export interface ODataResourceDataset { */ folder?: DatasetFolder; /** - * The OData resource path. Type: string (or Expression with resultType string). + * Document Database collection name. Type: string (or Expression with resultType string). */ - path?: any; + collectionName: any; } /** - * The CosmosDB (MongoDB API) database dataset. + * Microsoft Azure CosmosDB (SQL API) Collection dataset. */ -export interface CosmosDbMongoDbApiCollectionDataset { +export interface CosmosDbSqlApiCollectionDataset { /** * Polymorphic Discriminator */ - type: "CosmosDbMongoDbApiCollection"; + type: "CosmosDbSqlApiCollection"; /** * Dataset description. */ @@ -11324,20 +11388,19 @@ export interface CosmosDbMongoDbApiCollectionDataset { */ folder?: DatasetFolder; /** - * The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with - * resultType string). + * CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). */ - collection: any; + collectionName: any; } /** - * The MongoDB database dataset. + * The custom dataset. */ -export interface MongoDbV2CollectionDataset { +export interface CustomDataset { /** * Polymorphic Discriminator */ - type: "MongoDbV2Collection"; + type: "CustomDataset"; /** * Dataset description. */ @@ -11369,20 +11432,19 @@ export interface MongoDbV2CollectionDataset { */ folder?: DatasetFolder; /** - * The collection name of the MongoDB database. Type: string (or Expression with resultType - * string). + * Custom dataset properties. */ - collection: any; + typeProperties?: any; } /** - * The MongoDB database dataset. + * The Cassandra database dataset. */ -export interface MongoDbCollectionDataset { +export interface CassandraTableDataset { /** * Polymorphic Discriminator */ - type: "MongoDbCollection"; + type: "CassandraTable"; /** * Dataset description. */ @@ -11414,19 +11476,23 @@ export interface MongoDbCollectionDataset { */ folder?: DatasetFolder; /** - * The table name of the MongoDB database. Type: string (or Expression with resultType string). + * The table name of the Cassandra database. Type: string (or Expression with resultType string). */ - collectionName: any; + tableName?: any; + /** + * The keyspace of the Cassandra database. Type: string (or Expression with resultType string). + */ + keyspace?: any; } /** - * An on-premises file system dataset. + * The Azure SQL Data Warehouse dataset. */ -export interface FileShareDataset { +export interface AzureSqlDWTableDataset { /** * Polymorphic Discriminator */ - type: "FileShare"; + type: "AzureSqlDWTable"; /** * Dataset description. */ @@ -11458,44 +11524,29 @@ export interface FileShareDataset { */ folder?: DatasetFolder; /** - * The path of the on-premises file system. Type: string (or Expression with resultType string). - */ - folderPath?: any; - /** - * The name of the on-premises file system. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * The start of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeStart?: any; - /** - * The end of file's modified datetime. Type: string (or Expression with resultType string). - */ - modifiedDatetimeEnd?: any; - /** - * The format of the files. + * This property will be retired. Please consider using schema + table properties instead. */ - format?: DatasetStorageFormatUnion; + tableName?: any; /** - * Specify a filter to be used to select a subset of files in the folderPath rather than all - * files. Type: string (or Expression with resultType string). + * The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType + * string). */ - fileFilter?: any; + azureSqlDWTableDatasetSchema?: any; /** - * The data compression method used for the file system. + * The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType + * string). */ - compression?: DatasetCompressionUnion; + table?: any; } /** - * The Office365 account. + * The Azure SQL Managed Instance dataset. */ -export interface Office365Dataset { +export interface AzureSqlMITableDataset { /** * Polymorphic Discriminator */ - type: "Office365Table"; + type: "AzureSqlMITable"; /** * Dataset description. */ @@ -11527,25 +11578,29 @@ export interface Office365Dataset { */ folder?: DatasetFolder; /** - * Name of the dataset to extract from Office 365. Type: string (or Expression with resultType + * This property will be retired. Please consider using schema + table properties instead. + */ + tableName?: any; + /** + * The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType * string). */ - tableName: any; + azureSqlMITableDatasetSchema?: any; /** - * A predicate expression that can be used to filter the specific rows to extract from Office - * 365. Type: string (or Expression with resultType string). + * The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with + * resultType string). */ - predicate?: any; + table?: any; } /** - * The Azure Data Lake Storage Gen2 storage. + * The Azure SQL Server database dataset. */ -export interface AzureBlobFSDataset { +export interface AzureSqlTableDataset { /** * Polymorphic Discriminator */ - type: "AzureBlobFSFile"; + type: "AzureSqlTable"; /** * Dataset description. */ @@ -11577,33 +11632,28 @@ export interface AzureBlobFSDataset { */ folder?: DatasetFolder; /** - * The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with - * resultType string). + * This property will be retired. Please consider using schema + table properties instead. */ - folderPath?: any; + tableName?: any; /** - * The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with resultType + * The schema name of the Azure SQL database. Type: string (or Expression with resultType * string). */ - fileName?: any; - /** - * The format of the Azure Data Lake Storage Gen2 storage. - */ - format?: DatasetStorageFormatUnion; + azureSqlTableDatasetSchema?: any; /** - * The data compression method used for the blob storage. + * The table name of the Azure SQL database. Type: string (or Expression with resultType string). */ - compression?: DatasetCompressionUnion; + table?: any; } /** - * Azure Data Lake Store dataset. + * The Azure Table storage dataset. */ -export interface AzureDataLakeStoreDataset { +export interface AzureTableDataset { /** * Polymorphic Discriminator */ - type: "AzureDataLakeStoreFile"; + type: "AzureTable"; /** * Dataset description. */ @@ -11635,33 +11685,20 @@ export interface AzureDataLakeStoreDataset { */ folder?: DatasetFolder; /** - * Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType - * string). - */ - folderPath?: any; - /** - * The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType + * The table name of the Azure Table storage. Type: string (or Expression with resultType * string). */ - fileName?: any; - /** - * The format of the Data Lake Store. - */ - format?: DatasetStorageFormatUnion; - /** - * The data compression method used for the item(s) in the Azure Data Lake Store. - */ - compression?: DatasetCompressionUnion; + tableName: any; } /** - * The Common Data Service for Apps entity dataset. + * The Azure Blob storage. */ -export interface CommonDataServiceForAppsEntityDataset { +export interface AzureBlobDataset { /** * Polymorphic Discriminator */ - type: "CommonDataServiceForAppsEntity"; + type: "AzureBlob"; /** * Dataset description. */ @@ -11693,199 +11730,304 @@ export interface CommonDataServiceForAppsEntityDataset { */ folder?: DatasetFolder; /** - * The logical name of the entity. Type: string (or Expression with resultType string). - */ - entityName?: any; -} - -/** - * The Dynamics CRM entity dataset. - */ -export interface DynamicsCrmEntityDataset { - /** - * Polymorphic Discriminator - */ - type: "DynamicsCrmEntity"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * The path of the Azure Blob storage. Type: string (or Expression with resultType string). */ - structure?: any; + folderPath?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * The root of blob path. Type: string (or Expression with resultType string). */ - schema?: any; + tableRootLocation?: any; /** - * Linked service reference. + * The name of the Azure Blob. Type: string (or Expression with resultType string). */ - linkedServiceName: LinkedServiceReference; + fileName?: any; /** - * Parameters for dataset. + * The start of Azure Blob's modified datetime. Type: string (or Expression with resultType + * string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + modifiedDatetimeStart?: any; /** - * List of tags that can be used for describing the Dataset. + * The end of Azure Blob's modified datetime. Type: string (or Expression with resultType + * string). */ - annotations?: any[]; + modifiedDatetimeEnd?: any; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The format of the Azure Blob storage. */ - folder?: DatasetFolder; + format?: DatasetStorageFormatUnion; /** - * The logical name of the entity. Type: string (or Expression with resultType string). + * The data compression method used for the blob storage. */ - entityName?: any; + compression?: DatasetCompressionUnion; } /** - * The Dynamics entity dataset. + * Contains the possible cases for DatasetLocation. */ -export interface DynamicsEntityDataset { +export type DatasetLocationUnion = DatasetLocation | HdfsLocation | HttpServerLocation | SftpLocation | FtpServerLocation | GoogleCloudStorageLocation | AzureFileStorageLocation | FileServerLocation | AmazonS3Location | AzureDataLakeStoreLocation | AzureBlobFSLocation | AzureBlobStorageLocation; + +/** + * Dataset location. + */ +export interface DatasetLocation { /** * Polymorphic Discriminator */ - type: "DynamicsEntity"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; + type: "DatasetLocation"; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - schema?: any; + folderPath?: any; /** - * Linked service reference. + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - linkedServiceName: LinkedServiceReference; + fileName?: any; /** - * Parameters for dataset. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + [property: string]: any; +} + +/** + * The location of HDFS. + */ +export interface HdfsLocation { /** - * List of tags that can be used for describing the Dataset. + * Polymorphic Discriminator */ - annotations?: any[]; + type: "HdfsLocation"; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - folder?: DatasetFolder; + folderPath?: any; /** - * The logical name of the entity. Type: string (or Expression with resultType string). + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - entityName?: any; + fileName?: any; } /** - * Microsoft Azure Document Database Collection dataset. + * The location of http server. */ -export interface DocumentDbCollectionDataset { +export interface HttpServerLocation { /** * Polymorphic Discriminator */ - type: "DocumentDbCollection"; + type: "HttpServerLocation"; /** - * Dataset description. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - description?: string; + folderPath?: any; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - structure?: any; + fileName?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Specify the relativeUrl of http server. Type: string (or Expression with resultType string) */ - schema?: any; + relativeUrl?: any; +} + +/** + * The location of SFTP dataset. + */ +export interface SftpLocation { /** - * Linked service reference. + * Polymorphic Discriminator */ - linkedServiceName: LinkedServiceReference; + type: "SftpLocation"; /** - * Parameters for dataset. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - parameters?: { [propertyName: string]: ParameterSpecification }; + folderPath?: any; /** - * List of tags that can be used for describing the Dataset. + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - annotations?: any[]; + fileName?: any; +} + +/** + * The location of ftp server dataset. + */ +export interface FtpServerLocation { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Polymorphic Discriminator */ - folder?: DatasetFolder; + type: "FtpServerLocation"; /** - * Document Database collection name. Type: string (or Expression with resultType string). + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - collectionName: any; + folderPath?: any; + /** + * Specify the file name of dataset. Type: string (or Expression with resultType string). + */ + fileName?: any; } /** - * Microsoft Azure CosmosDB (SQL API) Collection dataset. + * The location of Google Cloud Storage dataset. */ -export interface CosmosDbSqlApiCollectionDataset { +export interface GoogleCloudStorageLocation { /** * Polymorphic Discriminator */ - type: "CosmosDbSqlApiCollection"; - /** - * Dataset description. - */ - description?: string; + type: "GoogleCloudStorageLocation"; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - structure?: any; + folderPath?: any; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - schema?: any; + fileName?: any; /** - * Linked service reference. + * Specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType + * string) */ - linkedServiceName: LinkedServiceReference; + bucketName?: any; /** - * Parameters for dataset. + * Specify the version of Google Cloud Storage. Type: string (or Expression with resultType + * string). */ - parameters?: { [propertyName: string]: ParameterSpecification }; + version?: any; +} + +/** + * The location of file server dataset. + */ +export interface AzureFileStorageLocation { /** - * List of tags that can be used for describing the Dataset. + * Polymorphic Discriminator */ - annotations?: any[]; + type: "AzureFileStorageLocation"; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - folder?: DatasetFolder; + folderPath?: any; /** - * CosmosDB (SQL API) collection name. Type: string (or Expression with resultType string). + * Specify the file name of dataset. Type: string (or Expression with resultType string). */ - collectionName: any; + fileName?: any; } /** - * The custom dataset. + * The location of file server dataset. */ -export interface CustomDataset { +export interface FileServerLocation { /** * Polymorphic Discriminator */ - type: "CustomDataset"; + type: "FileServerLocation"; /** - * Dataset description. + * Specify the folder path of dataset. Type: string (or Expression with resultType string) */ - description?: string; + folderPath?: any; + /** + * Specify the file name of dataset. Type: string (or Expression with resultType string). + */ + fileName?: any; +} + +/** + * The location of amazon S3 dataset. + */ +export interface AmazonS3Location { + /** + * Polymorphic Discriminator + */ + type: "AmazonS3Location"; + /** + * Specify the folder path of dataset. Type: string (or Expression with resultType string) + */ + folderPath?: any; + /** + * Specify the file name of dataset. Type: string (or Expression with resultType string). + */ + fileName?: any; + /** + * Specify the bucketName of amazon S3. Type: string (or Expression with resultType string) + */ + bucketName?: any; + /** + * Specify the version of amazon S3. Type: string (or Expression with resultType string). + */ + version?: any; +} + +/** + * The location of azure data lake store dataset. + */ +export interface AzureDataLakeStoreLocation { + /** + * Polymorphic Discriminator + */ + type: "AzureDataLakeStoreLocation"; + /** + * Specify the folder path of dataset. Type: string (or Expression with resultType string) + */ + folderPath?: any; + /** + * Specify the file name of dataset. Type: string (or Expression with resultType string). + */ + fileName?: any; +} + +/** + * The location of azure blobFS dataset. + */ +export interface AzureBlobFSLocation { + /** + * Polymorphic Discriminator + */ + type: "AzureBlobFSLocation"; + /** + * Specify the folder path of dataset. Type: string (or Expression with resultType string) + */ + folderPath?: any; + /** + * Specify the file name of dataset. Type: string (or Expression with resultType string). + */ + fileName?: any; + /** + * Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). + */ + fileSystem?: any; +} + +/** + * The location of azure blob dataset. + */ +export interface AzureBlobStorageLocation { + /** + * Polymorphic Discriminator + */ + type: "AzureBlobStorageLocation"; + /** + * Specify the folder path of dataset. Type: string (or Expression with resultType string) + */ + folderPath?: any; + /** + * Specify the file name of dataset. Type: string (or Expression with resultType string). + */ + fileName?: any; + /** + * Specify the container of azure blob. Type: string (or Expression with resultType string). + */ + container?: any; +} + +/** + * Binary dataset. + */ +export interface BinaryDataset { + /** + * Polymorphic Discriminator + */ + type: "Binary"; + /** + * Dataset description. + */ + description?: string; /** * Columns that define the structure of the dataset. Type: array (or Expression with resultType * array), itemType: DatasetDataElement. @@ -11913,19 +12055,23 @@ export interface CustomDataset { */ folder?: DatasetFolder; /** - * Custom dataset properties. + * The location of the Binary storage. */ - typeProperties?: any; + location: DatasetLocationUnion; + /** + * The data compression method used for the binary dataset. + */ + compression?: DatasetCompressionUnion; } /** - * The Cassandra database dataset. + * ORC dataset. */ -export interface CassandraTableDataset { +export interface OrcDataset { /** * Polymorphic Discriminator */ - type: "CassandraTable"; + type: "Orc"; /** * Dataset description. */ @@ -11957,23 +12103,23 @@ export interface CassandraTableDataset { */ folder?: DatasetFolder; /** - * The table name of the Cassandra database. Type: string (or Expression with resultType string). + * The location of the ORC data storage. */ - tableName?: any; + location: DatasetLocationUnion; /** - * The keyspace of the Cassandra database. Type: string (or Expression with resultType string). + * Possible values include: 'none', 'zlib', 'snappy' */ - keyspace?: any; + orcCompressionCodec?: OrcCompressionCodec; } /** - * The Azure SQL Data Warehouse dataset. + * Json dataset. */ -export interface AzureSqlDWTableDataset { +export interface JsonDataset { /** * Polymorphic Discriminator */ - type: "AzureSqlDWTable"; + type: "Json"; /** * Dataset description. */ @@ -12005,29 +12151,31 @@ export interface AzureSqlDWTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. + * The location of the json data storage. */ - tableName?: any; + location: DatasetLocationUnion; /** - * The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType - * string). + * The code page name of the preferred encoding. If not specified, the default value is UTF-8, + * unless BOM denotes another Unicode encoding. Refer to the name column of the table in the + * following link to set supported values: + * https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with + * resultType string). */ - azureSqlDWTableDatasetSchema?: any; + encodingName?: any; /** - * The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType - * string). + * The data compression method used for the json dataset. */ - table?: any; + compression?: DatasetCompressionUnion; } /** - * The Azure SQL Managed Instance dataset. + * Delimited text dataset. */ -export interface AzureSqlMITableDataset { +export interface DelimitedTextDataset { /** * Polymorphic Discriminator */ - type: "AzureSqlMITable"; + type: "DelimitedText"; /** * Dataset description. */ @@ -12059,29 +12207,57 @@ export interface AzureSqlMITableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. + * The location of the delimited text storage. */ - tableName?: any; + location: DatasetLocationUnion; /** - * The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType - * string). + * The column delimiter. Type: string (or Expression with resultType string). */ - azureSqlMITableDatasetSchema?: any; + columnDelimiter?: any; /** - * The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with - * resultType string). + * The row delimiter. Type: string (or Expression with resultType string). */ - table?: any; + rowDelimiter?: any; + /** + * The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM + * denotes another Unicode encoding. Refer to the name column of the table in the following link + * to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: + * string (or Expression with resultType string). + */ + encodingName?: any; + compressionCodec?: any; + /** + * The data compression method used for DelimitedText. + */ + compressionLevel?: any; + /** + * The quote character. Type: string (or Expression with resultType string). + */ + quoteChar?: any; + /** + * The escape character. Type: string (or Expression with resultType string). + */ + escapeChar?: any; + /** + * When used as input, treat the first row of data as headers. When used as output,write the + * headers into the output as the first row of data. The default value is false. Type: boolean + * (or Expression with resultType boolean). + */ + firstRowAsHeader?: any; + /** + * The null value string. Type: string (or Expression with resultType string). + */ + nullValue?: any; } /** - * The Azure SQL Server database dataset. + * Parquet dataset. */ -export interface AzureSqlTableDataset { +export interface ParquetDataset { /** * Polymorphic Discriminator */ - type: "AzureSqlTable"; + type: "Parquet"; /** * Dataset description. */ @@ -12113,28 +12289,20 @@ export interface AzureSqlTableDataset { */ folder?: DatasetFolder; /** - * This property will be retired. Please consider using schema + table properties instead. - */ - tableName?: any; - /** - * The schema name of the Azure SQL database. Type: string (or Expression with resultType - * string). - */ - azureSqlTableDatasetSchema?: any; - /** - * The table name of the Azure SQL database. Type: string (or Expression with resultType string). + * The location of the parquet storage. */ - table?: any; + location: DatasetLocationUnion; + compressionCodec?: any; } /** - * The Azure Table storage dataset. + * Avro dataset. */ -export interface AzureTableDataset { +export interface AvroDataset { /** * Polymorphic Discriminator */ - type: "AzureTable"; + type: "Avro"; /** * Dataset description. */ @@ -12166,20 +12334,24 @@ export interface AzureTableDataset { */ folder?: DatasetFolder; /** - * The table name of the Azure Table storage. Type: string (or Expression with resultType - * string). + * The location of the avro storage. */ - tableName: any; + location: DatasetLocationUnion; + /** + * Possible values include: 'none', 'deflate', 'snappy', 'xz', 'bzip2' + */ + avroCompressionCodec?: AvroCompressionCodec; + avroCompressionLevel?: number; } /** - * The Azure Blob storage. + * A single Amazon Simple Storage Service (S3) object or a set of S3 objects. */ -export interface AzureBlobDataset { +export interface AmazonS3Dataset { /** * Polymorphic Discriminator */ - type: "AzureBlob"; + type: "AmazonS3Object"; /** * Dataset description. */ @@ -12211,691 +12383,529 @@ export interface AzureBlobDataset { */ folder?: DatasetFolder; /** - * The path of the Azure Blob storage. Type: string (or Expression with resultType string). + * The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). */ - folderPath?: any; + bucketName: any; /** - * The root of blob path. Type: string (or Expression with resultType string). + * The key of the Amazon S3 object. Type: string (or Expression with resultType string). */ - tableRootLocation?: any; + key?: any; /** - * The name of the Azure Blob. Type: string (or Expression with resultType string). + * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). */ - fileName?: any; + prefix?: any; /** - * The start of Azure Blob's modified datetime. Type: string (or Expression with resultType + * The version for the S3 object. Type: string (or Expression with resultType string). + */ + version?: any; + /** + * The start of S3 object's modified datetime. Type: string (or Expression with resultType * string). */ modifiedDatetimeStart?: any; /** - * The end of Azure Blob's modified datetime. Type: string (or Expression with resultType - * string). + * The end of S3 object's modified datetime. Type: string (or Expression with resultType string). */ modifiedDatetimeEnd?: any; /** - * The format of the Azure Blob storage. + * The format of files. */ format?: DatasetStorageFormatUnion; /** - * The data compression method used for the blob storage. + * The data compression method used for the Amazon S3 object. */ compression?: DatasetCompressionUnion; } /** - * Contains the possible cases for DatasetLocation. - */ -export type DatasetLocationUnion = DatasetLocation | HdfsLocation | HttpServerLocation | SftpLocation | FtpServerLocation | GoogleCloudStorageLocation | AzureFileStorageLocation | FileServerLocation | AmazonS3Location | AzureDataLakeStoreLocation | AzureBlobFSLocation | AzureBlobStorageLocation; - -/** - * Dataset location. - */ -export interface DatasetLocation { - /** - * Polymorphic Discriminator - */ - type: "DatasetLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * The location of HDFS. - */ -export interface HdfsLocation { - /** - * Polymorphic Discriminator - */ - type: "HdfsLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; -} - -/** - * The location of http server. + * Trigger that allows the referenced pipeline to depend on other pipeline runs based on + * runDimension Name/Value pairs. Upstream pipelines should declare the same runDimension Name and + * their runs should have the values for those runDimensions. The referenced pipeline run would be + * triggered if the values for the runDimension match for all upstream pipeline runs. */ -export interface HttpServerLocation { +export interface ChainingTrigger { /** * Polymorphic Discriminator */ - type: "HttpServerLocation"; + type: "ChainingTrigger"; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Trigger description. */ - folderPath?: any; + description?: string; /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the + * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fileName?: any; + readonly runtimeState?: TriggerRuntimeState; /** - * Specify the relativeUrl of http server. Type: string (or Expression with resultType string) + * List of tags that can be used for describing the trigger. */ - relativeUrl?: any; -} - -/** - * The location of SFTP dataset. - */ -export interface SftpLocation { + annotations?: any[]; /** - * Polymorphic Discriminator + * Pipeline for which runs are created when all upstream pipelines complete successfully. */ - type: "SftpLocation"; + pipelineProperty: TriggerPipelineReference; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Upstream Pipelines. */ - folderPath?: any; + dependsOn: PipelineReference[]; /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * Run Dimension property that needs to be emitted by upstream pipelines. */ - fileName?: any; + runDimension: string; } /** - * The location of ftp server dataset. + * Trigger that schedules pipeline reruns for all fixed time interval windows from a requested + * start time to requested end time. */ -export interface FtpServerLocation { +export interface RerunTumblingWindowTrigger { /** * Polymorphic Discriminator */ - type: "FtpServerLocation"; + type: "RerunTumblingWindowTrigger"; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * Trigger description. */ - folderPath?: any; + description?: string; /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the + * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - fileName?: any; -} - -/** - * The location of Google Cloud Storage dataset. - */ -export interface GoogleCloudStorageLocation { + readonly runtimeState?: TriggerRuntimeState; /** - * Polymorphic Discriminator + * List of tags that can be used for describing the trigger. */ - type: "GoogleCloudStorageLocation"; + annotations?: any[]; /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) + * The parent trigger reference. */ - folderPath?: any; + parentTrigger: any; /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * The start time for the time period for which restatement is initiated. Only UTC time is + * currently supported. */ - fileName?: any; + requestedStartTime: Date; /** - * Specify the bucketName of Google Cloud Storage. Type: string (or Expression with resultType - * string) + * The end time for the time period for which restatement is initiated. Only UTC time is + * currently supported. */ - bucketName?: any; + requestedEndTime: Date; /** - * Specify the version of Google Cloud Storage. Type: string (or Expression with resultType - * string). + * The max number of parallel time windows (ready for execution) for which a rerun is triggered. */ - version?: any; + rerunConcurrency: number; } /** - * The location of file server dataset. + * Contains the possible cases for DependencyReference. */ -export interface AzureFileStorageLocation { - /** - * Polymorphic Discriminator - */ - type: "AzureFileStorageLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; -} +export type DependencyReferenceUnion = DependencyReference | SelfDependencyTumblingWindowTriggerReference | TriggerDependencyReferenceUnion; /** - * The location of file server dataset. + * Referenced dependency. */ -export interface FileServerLocation { +export interface DependencyReference { /** * Polymorphic Discriminator */ - type: "FileServerLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; + type: "DependencyReference"; } /** - * The location of amazon S3 dataset. + * Self referenced tumbling window trigger dependency. */ -export interface AmazonS3Location { +export interface SelfDependencyTumblingWindowTriggerReference { /** * Polymorphic Discriminator */ - type: "AmazonS3Location"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; + type: "SelfDependencyTumblingWindowTriggerReference"; /** - * Specify the bucketName of amazon S3. Type: string (or Expression with resultType string) + * Timespan applied to the start time of a tumbling window when evaluating dependency. */ - bucketName?: any; + offset: string; /** - * Specify the version of amazon S3. Type: string (or Expression with resultType string). + * The size of the window when evaluating the dependency. If undefined the frequency of the + * tumbling window will be used. */ - version?: any; + size?: string; } /** - * The location of azure data lake store dataset. + * Trigger reference type. */ -export interface AzureDataLakeStoreLocation { - /** - * Polymorphic Discriminator - */ - type: "AzureDataLakeStoreLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; +export interface TriggerReference { /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). + * Reference trigger name. */ - fileName?: any; + referenceName: string; } /** - * The location of azure blobFS dataset. + * Contains the possible cases for TriggerDependencyReference. */ -export interface AzureBlobFSLocation { - /** - * Polymorphic Discriminator - */ - type: "AzureBlobFSLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; - /** - * Specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). - */ - fileSystem?: any; -} +export type TriggerDependencyReferenceUnion = TriggerDependencyReference | TumblingWindowTriggerDependencyReference; /** - * The location of azure blob dataset. + * Trigger referenced dependency. */ -export interface AzureBlobStorageLocation { +export interface TriggerDependencyReference { /** * Polymorphic Discriminator */ - type: "AzureBlobStorageLocation"; - /** - * Specify the folder path of dataset. Type: string (or Expression with resultType string) - */ - folderPath?: any; - /** - * Specify the file name of dataset. Type: string (or Expression with resultType string). - */ - fileName?: any; + type: "TriggerDependencyReference"; /** - * Specify the container of azure blob. Type: string (or Expression with resultType string). + * Referenced trigger. */ - container?: any; + referenceTrigger: TriggerReference; } /** - * Binary dataset. + * Referenced tumbling window trigger dependency. */ -export interface BinaryDataset { +export interface TumblingWindowTriggerDependencyReference { /** * Polymorphic Discriminator */ - type: "Binary"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; + type: "TumblingWindowTriggerDependencyReference"; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Referenced trigger. */ - folder?: DatasetFolder; + referenceTrigger: TriggerReference; /** - * The location of the Binary storage. + * Timespan applied to the start time of a tumbling window when evaluating dependency. */ - location: DatasetLocationUnion; + offset?: string; /** - * The data compression method used for the binary dataset. + * The size of the window when evaluating the dependency. If undefined the frequency of the + * tumbling window will be used. */ - compression?: DatasetCompressionUnion; + size?: string; } /** - * ORC dataset. + * Execution policy for an activity. */ -export interface OrcDataset { - /** - * Polymorphic Discriminator - */ - type: "Orc"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. - */ - linkedServiceName: LinkedServiceReference; - /** - * Parameters for dataset. - */ - parameters?: { [propertyName: string]: ParameterSpecification }; - /** - * List of tags that can be used for describing the Dataset. - */ - annotations?: any[]; - /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. - */ - folder?: DatasetFolder; +export interface RetryPolicy { /** - * The location of the ORC data storage. + * Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType + * integer), minimum: 0. */ - location: DatasetLocationUnion; + count?: any; /** - * Possible values include: 'none', 'zlib', 'snappy' + * Interval between retries in seconds. Default is 30. */ - orcCompressionCodec?: OrcCompressionCodec; + intervalInSeconds?: number; } /** - * Json dataset. + * Trigger that schedules pipeline runs for all fixed time interval windows from a start time + * without gaps and also supports backfill scenarios (when start time is in the past). */ -export interface JsonDataset { +export interface TumblingWindowTrigger { /** * Polymorphic Discriminator */ - type: "Json"; + type: "TumblingWindowTrigger"; /** - * Dataset description. + * Trigger description. */ description?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the + * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - structure?: any; + readonly runtimeState?: TriggerRuntimeState; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * List of tags that can be used for describing the trigger. */ - schema?: any; + annotations?: any[]; /** - * Linked service reference. + * Pipeline for which runs are created when an event is fired for trigger window that is ready. */ - linkedServiceName: LinkedServiceReference; + pipelineProperty: TriggerPipelineReference; /** - * Parameters for dataset. + * The frequency of the time windows. Possible values include: 'Minute', 'Hour' */ - parameters?: { [propertyName: string]: ParameterSpecification }; + frequency: TumblingWindowFrequency; /** - * List of tags that can be used for describing the Dataset. + * The interval of the time windows. The minimum interval allowed is 15 Minutes. */ - annotations?: any[]; + interval: number; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The start time for the time period for the trigger during which events are fired for windows + * that are ready. Only UTC time is currently supported. */ - folder?: DatasetFolder; + startTime: Date; /** - * The location of the json data storage. + * The end time for the time period for the trigger during which events are fired for windows + * that are ready. Only UTC time is currently supported. */ - location: DatasetLocationUnion; + endTime?: Date; /** - * The code page name of the preferred encoding. If not specified, the default value is UTF-8, - * unless BOM denotes another Unicode encoding. Refer to the name column of the table in the - * following link to set supported values: - * https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with - * resultType string). + * Specifies how long the trigger waits past due time before triggering new run. It doesn't alter + * window start and end time. The default is 0. Type: string (or Expression with resultType + * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ - encodingName?: any; + delay?: any; /** - * The data compression method used for the json dataset. + * The max number of parallel time windows (ready for execution) for which a new run is + * triggered. */ - compression?: DatasetCompressionUnion; + maxConcurrency: number; + /** + * Retry policy that will be applied for failed pipeline runs. + */ + retryPolicy?: RetryPolicy; + /** + * Triggers that this trigger depends on. Only tumbling window triggers are supported. + */ + dependsOn?: DependencyReferenceUnion[]; } /** - * Delimited text dataset. + * Contains the possible cases for MultiplePipelineTrigger. */ -export interface DelimitedTextDataset { +export type MultiplePipelineTriggerUnion = MultiplePipelineTrigger | BlobEventsTrigger | BlobTrigger | ScheduleTrigger; + +/** + * Base class for all triggers that support one to many model for trigger to pipeline. + */ +export interface MultiplePipelineTrigger { /** * Polymorphic Discriminator */ - type: "DelimitedText"; + type: "MultiplePipelineTrigger"; /** - * Dataset description. + * Trigger description. */ description?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. - */ - schema?: any; - /** - * Linked service reference. + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the + * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - linkedServiceName: LinkedServiceReference; + readonly runtimeState?: TriggerRuntimeState; /** - * Parameters for dataset. + * List of tags that can be used for describing the trigger. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + annotations?: any[]; /** - * List of tags that can be used for describing the Dataset. + * Pipelines that need to be started. */ - annotations?: any[]; + pipelines?: TriggerPipelineReference[]; +} + +/** + * Trigger that runs every time a Blob event occurs. + */ +export interface BlobEventsTrigger { /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * Polymorphic Discriminator */ - folder?: DatasetFolder; + type: "BlobEventsTrigger"; /** - * The location of the delimited text storage. + * Trigger description. */ - location: DatasetLocationUnion; + description?: string; /** - * The column delimiter. Type: string (or Expression with resultType string). + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the + * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - columnDelimiter?: any; + readonly runtimeState?: TriggerRuntimeState; /** - * The row delimiter. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the trigger. */ - rowDelimiter?: any; + annotations?: any[]; /** - * The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM - * denotes another Unicode encoding. Refer to the name column of the table in the following link - * to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: - * string (or Expression with resultType string). + * Pipelines that need to be started. */ - encodingName?: any; - compressionCodec?: any; + pipelines?: TriggerPipelineReference[]; /** - * The data compression method used for DelimitedText. + * The blob path must begin with the pattern provided for trigger to fire. For example, + * '/records/blobs/december/' will only fire the trigger for blobs in the december folder under + * the records container. At least one of these must be provided: blobPathBeginsWith, + * blobPathEndsWith. */ - compressionLevel?: any; + blobPathBeginsWith?: string; /** - * The quote character. Type: string (or Expression with resultType string). + * The blob path must end with the pattern provided for trigger to fire. For example, + * 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At + * least one of these must be provided: blobPathBeginsWith, blobPathEndsWith. */ - quoteChar?: any; + blobPathEndsWith?: string; /** - * The escape character. Type: string (or Expression with resultType string). + * If set to true, blobs with zero bytes will be ignored. */ - escapeChar?: any; + ignoreEmptyBlobs?: boolean; /** - * When used as input, treat the first row of data as headers. When used as output,write the - * headers into the output as the first row of data. The default value is false. Type: boolean - * (or Expression with resultType boolean). + * The type of events that cause this trigger to fire. */ - firstRowAsHeader?: any; + events: BlobEventTypes[]; /** - * The null value string. Type: string (or Expression with resultType string). + * The ARM resource ID of the Storage Account. */ - nullValue?: any; + scope: string; } /** - * Parquet dataset. + * Trigger that runs every time the selected Blob container changes. */ -export interface ParquetDataset { +export interface BlobTrigger { /** * Polymorphic Discriminator */ - type: "Parquet"; + type: "BlobTrigger"; /** - * Dataset description. + * Trigger description. */ description?: string; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; - /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the + * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - schema?: any; + readonly runtimeState?: TriggerRuntimeState; /** - * Linked service reference. + * List of tags that can be used for describing the trigger. */ - linkedServiceName: LinkedServiceReference; + annotations?: any[]; /** - * Parameters for dataset. + * Pipelines that need to be started. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + pipelines?: TriggerPipelineReference[]; /** - * List of tags that can be used for describing the Dataset. + * The path of the container/folder that will trigger the pipeline. */ - annotations?: any[]; + folderPath: string; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The max number of parallel files to handle when it is triggered. */ - folder?: DatasetFolder; + maxConcurrency: number; /** - * The location of the parquet storage. + * The Azure Storage linked service reference. */ - location: DatasetLocationUnion; - compressionCodec?: any; + linkedService: LinkedServiceReference; } /** - * Avro dataset. + * The recurrence schedule occurrence. */ -export interface AvroDataset { - /** - * Polymorphic Discriminator - */ - type: "Avro"; +export interface RecurrenceScheduleOccurrence { /** - * Dataset description. + * The day of the week. Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', + * 'Thursday', 'Friday', 'Saturday' */ - description?: string; + day?: DayOfWeek; /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. + * The occurrence. */ - structure?: any; + occurrence?: number; /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - schema?: any; + [property: string]: any; +} + +/** + * The recurrence schedule. + */ +export interface RecurrenceSchedule { /** - * Linked service reference. + * The minutes. */ - linkedServiceName: LinkedServiceReference; + minutes?: number[]; /** - * Parameters for dataset. + * The hours. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + hours?: number[]; /** - * List of tags that can be used for describing the Dataset. + * The days of the week. */ - annotations?: any[]; + weekDays?: DaysOfWeek[]; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The month days. */ - folder?: DatasetFolder; + monthDays?: number[]; /** - * The location of the avro storage. + * The monthly occurrences. */ - location: DatasetLocationUnion; + monthlyOccurrences?: RecurrenceScheduleOccurrence[]; /** - * Possible values include: 'none', 'deflate', 'snappy', 'xz', 'bzip2' + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - avroCompressionCodec?: AvroCompressionCodec; - avroCompressionLevel?: number; + [property: string]: any; } /** - * A single Amazon Simple Storage Service (S3) object or a set of S3 objects. + * The workflow trigger recurrence. */ -export interface AmazonS3Dataset { - /** - * Polymorphic Discriminator - */ - type: "AmazonS3Object"; - /** - * Dataset description. - */ - description?: string; - /** - * Columns that define the structure of the dataset. Type: array (or Expression with resultType - * array), itemType: DatasetDataElement. - */ - structure?: any; +export interface ScheduleTriggerRecurrence { /** - * Columns that define the physical type schema of the dataset. Type: array (or Expression with - * resultType array), itemType: DatasetSchemaDataElement. + * The frequency. Possible values include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', + * 'Month', 'Year' */ - schema?: any; + frequency?: RecurrenceFrequency; /** - * Linked service reference. + * The interval. */ - linkedServiceName: LinkedServiceReference; + interval?: number; /** - * Parameters for dataset. + * The start time. */ - parameters?: { [propertyName: string]: ParameterSpecification }; + startTime?: Date; /** - * List of tags that can be used for describing the Dataset. + * The end time. */ - annotations?: any[]; + endTime?: Date; /** - * The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + * The time zone. */ - folder?: DatasetFolder; + timeZone?: string; /** - * The name of the Amazon S3 bucket. Type: string (or Expression with resultType string). + * The recurrence schedule. */ - bucketName: any; + schedule?: RecurrenceSchedule; /** - * The key of the Amazon S3 object. Type: string (or Expression with resultType string). + * Describes unknown properties. The value of an unknown property can be of "any" type. */ - key?: any; + [property: string]: any; +} + +/** + * Trigger that creates pipeline runs periodically, on schedule. + */ +export interface ScheduleTrigger { /** - * The prefix filter for the S3 object name. Type: string (or Expression with resultType string). + * Polymorphic Discriminator */ - prefix?: any; + type: "ScheduleTrigger"; /** - * The version for the S3 object. Type: string (or Expression with resultType string). + * Trigger description. */ - version?: any; + description?: string; /** - * The start of S3 object's modified datetime. Type: string (or Expression with resultType - * string). + * Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the + * Trigger. Possible values include: 'Started', 'Stopped', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - modifiedDatetimeStart?: any; + readonly runtimeState?: TriggerRuntimeState; /** - * The end of S3 object's modified datetime. Type: string (or Expression with resultType string). + * List of tags that can be used for describing the trigger. */ - modifiedDatetimeEnd?: any; + annotations?: any[]; /** - * The format of files. + * Pipelines that need to be started. */ - format?: DatasetStorageFormatUnion; + pipelines?: TriggerPipelineReference[]; /** - * The data compression method used for the Amazon S3 object. + * Recurrence schedule configuration. */ - compression?: DatasetCompressionUnion; + recurrence: ScheduleTriggerRecurrence; } /** @@ -19595,6 +19605,11 @@ export interface SftpWriteSettings { * hour). Type: string (or Expression with resultType string). */ operationTimeout?: any; + /** + * Upload to temporary file(s) and rename. Disable this option if your SFTP server doesn't + * support rename operation. Type: boolean (or Expression with resultType boolean). + */ + useTempFileRename?: any; } /** @@ -21975,6 +21990,11 @@ export interface PipelinesCreateRunOptionalParams extends msRest.RequestOptionsB * will run. */ startActivityName?: string; + /** + * In recovery mode, if set to true, the rerun will start from failed activities. The property + * will be used only if startActivityName is not specified. + */ + startFromFailure?: boolean; /** * Parameters of the pipeline run. These parameters will be used only if the runId is not * specified. @@ -22147,20 +22167,6 @@ export interface TriggerListResponse extends Array { nextLink?: string; } -/** - * @interface - * A list of rerun triggers. - * @extends Array - */ -export interface RerunTriggerListResponse extends Array { - /** - * The continuation token for getting the next page of results, if any remaining results exist, - * null otherwise. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - /** * @interface * A list of data flow resources. @@ -22294,48 +22300,6 @@ export type TriggerRunStatus = 'Succeeded' | 'Failed' | 'Inprogress'; */ export type DataFlowDebugCommandType = 'executePreviewQuery' | 'executeStatisticsQuery' | 'executeExpressionQuery'; -/** - * Defines values for TumblingWindowFrequency. - * Possible values include: 'Minute', 'Hour' - * @readonly - * @enum {string} - */ -export type TumblingWindowFrequency = 'Minute' | 'Hour'; - -/** - * Defines values for BlobEventTypes. - * Possible values include: 'Microsoft.Storage.BlobCreated', 'Microsoft.Storage.BlobDeleted' - * @readonly - * @enum {string} - */ -export type BlobEventTypes = 'Microsoft.Storage.BlobCreated' | 'Microsoft.Storage.BlobDeleted'; - -/** - * Defines values for DayOfWeek. - * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', - * 'Saturday' - * @readonly - * @enum {string} - */ -export type DayOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; - -/** - * Defines values for DaysOfWeek. - * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', - * 'Saturday' - * @readonly - * @enum {string} - */ -export type DaysOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; - -/** - * Defines values for RecurrenceFrequency. - * Possible values include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' - * @readonly - * @enum {string} - */ -export type RecurrenceFrequency = 'NotSpecified' | 'Minute' | 'Hour' | 'Day' | 'Week' | 'Month' | 'Year'; - /** * Defines values for GoogleAdWordsAuthenticationType. * Possible values include: 'ServiceAuthentication', 'UserAuthentication' @@ -22563,6 +22527,48 @@ export type OrcCompressionCodec = 'none' | 'zlib' | 'snappy'; */ export type AvroCompressionCodec = 'none' | 'deflate' | 'snappy' | 'xz' | 'bzip2'; +/** + * Defines values for TumblingWindowFrequency. + * Possible values include: 'Minute', 'Hour' + * @readonly + * @enum {string} + */ +export type TumblingWindowFrequency = 'Minute' | 'Hour'; + +/** + * Defines values for BlobEventTypes. + * Possible values include: 'Microsoft.Storage.BlobCreated', 'Microsoft.Storage.BlobDeleted' + * @readonly + * @enum {string} + */ +export type BlobEventTypes = 'Microsoft.Storage.BlobCreated' | 'Microsoft.Storage.BlobDeleted'; + +/** + * Defines values for DayOfWeek. + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' + * @readonly + * @enum {string} + */ +export type DayOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; + +/** + * Defines values for DaysOfWeek. + * Possible values include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + * 'Saturday' + * @readonly + * @enum {string} + */ +export type DaysOfWeek = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday'; + +/** + * Defines values for RecurrenceFrequency. + * Possible values include: 'NotSpecified', 'Minute', 'Hour', 'Day', 'Week', 'Month', 'Year' + * @readonly + * @enum {string} + */ +export type RecurrenceFrequency = 'NotSpecified' | 'Minute' | 'Hour' | 'Day' | 'Week' | 'Month' | 'Year'; + /** * Defines values for DataFlowComputeType. * Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized' @@ -23806,6 +23812,26 @@ export type TriggersListByFactoryResponse = TriggerListResponse & { }; }; +/** + * Contains response data for the queryByFactory operation. + */ +export type TriggersQueryByFactoryResponse = TriggerQueryResponse & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: TriggerQueryResponse; + }; +}; + /** * Contains response data for the createOrUpdate operation. */ @@ -23986,66 +24012,6 @@ export type TriggerRunsQueryByFactoryResponse = TriggerRunsQueryResponse & { }; }; -/** - * Contains response data for the create operation. - */ -export type RerunTriggersCreateResponse = TriggerResource & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: TriggerResource; - }; -}; - -/** - * Contains response data for the listByTrigger operation. - */ -export type RerunTriggersListByTriggerResponse = RerunTriggerListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: RerunTriggerListResponse; - }; -}; - -/** - * Contains response data for the listByTriggerNext operation. - */ -export type RerunTriggersListByTriggerNextResponse = RerunTriggerListResponse & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: RerunTriggerListResponse; - }; -}; - /** * Contains response data for the createOrUpdate operation. */ diff --git a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts index 467b87ecd36d..9954b80fddbc 100644 --- a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts @@ -388,7 +388,6 @@ export { RedshiftUnloadSettings, RelationalSource, RelationalTableDataset, - RerunTriggerResource, RerunTumblingWindowTrigger, Resource, ResponsysLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts index f076eff667ce..6f85631a4e99 100644 --- a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts @@ -374,7 +374,6 @@ export { RedshiftUnloadSettings, RelationalSource, RelationalTableDataset, - RerunTriggerResource, RerunTumblingWindowTrigger, Resource, ResponsysLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index e59bd06d97f9..5506038bcc6c 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -1289,6 +1289,35 @@ export const TriggerResource: msRest.CompositeMapper = { } }; +export const TriggerQueryResponse: msRest.CompositeMapper = { + serializedName: "TriggerQueryResponse", + type: { + name: "Composite", + className: "TriggerQueryResponse", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TriggerResource" + } + } + } + }, + continuationToken: { + serializedName: "continuationToken", + type: { + name: "String" + } + } + } + } +}; + export const CreateRunResponse: msRest.CompositeMapper = { serializedName: "CreateRunResponse", type: { @@ -1688,6 +1717,28 @@ export const LinkedServiceDebugResource: msRest.CompositeMapper = { } }; +export const TriggerFilterParameters: msRest.CompositeMapper = { + serializedName: "TriggerFilterParameters", + type: { + name: "Composite", + className: "TriggerFilterParameters", + modelProperties: { + continuationToken: { + serializedName: "continuationToken", + type: { + name: "String" + } + }, + parentTriggerName: { + serializedName: "parentTriggerName", + type: { + name: "String" + } + } + } + } +}; + export const RunQueryFilter: msRest.CompositeMapper = { serializedName: "RunQueryFilter", type: { @@ -2263,106 +2314,6 @@ export const TriggerRunsQueryResponse: msRest.CompositeMapper = { } }; -export const RerunTumblingWindowTriggerActionParameters: msRest.CompositeMapper = { - serializedName: "RerunTumblingWindowTriggerActionParameters", - type: { - name: "Composite", - className: "RerunTumblingWindowTriggerActionParameters", - modelProperties: { - startTime: { - required: true, - serializedName: "startTime", - type: { - name: "DateTime" - } - }, - endTime: { - required: true, - serializedName: "endTime", - type: { - name: "DateTime" - } - }, - maxConcurrency: { - required: true, - serializedName: "maxConcurrency", - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 1 - }, - type: { - name: "Number" - } - } - } - } -}; - -export const RerunTumblingWindowTrigger: msRest.CompositeMapper = { - serializedName: "RerunTumblingWindowTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "RerunTumblingWindowTrigger", - modelProperties: { - ...Trigger.type.modelProperties, - parentTrigger: { - serializedName: "typeProperties.parentTrigger", - type: { - name: "Object" - } - }, - requestedStartTime: { - required: true, - serializedName: "typeProperties.requestedStartTime", - type: { - name: "DateTime" - } - }, - requestedEndTime: { - required: true, - serializedName: "typeProperties.requestedEndTime", - type: { - name: "DateTime" - } - }, - maxConcurrency: { - required: true, - serializedName: "typeProperties.maxConcurrency", - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 1 - }, - type: { - name: "Number" - } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const RerunTriggerResource: msRest.CompositeMapper = { - serializedName: "RerunTriggerResource", - type: { - name: "Composite", - className: "RerunTriggerResource", - modelProperties: { - ...SubResource.type.modelProperties, - properties: { - required: true, - serializedName: "properties", - type: { - name: "Composite", - className: "RerunTumblingWindowTrigger", - additionalProperties: Trigger.type.additionalProperties - } - } - } - } -}; - export const OperationDisplay: msRest.CompositeMapper = { serializedName: "Operation_display", type: { @@ -3404,648 +3355,396 @@ export const MappingDataFlow: msRest.CompositeMapper = { } }; -export const ChainingTrigger: msRest.CompositeMapper = { - serializedName: "ChainingTrigger", +export const AzureFunctionLinkedService: msRest.CompositeMapper = { + serializedName: "AzureFunction", type: { name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "ChainingTrigger", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureFunctionLinkedService", modelProperties: { - ...Trigger.type.modelProperties, - pipelineProperty: { + ...LinkedService.type.modelProperties, + functionAppUrl: { required: true, - serializedName: "pipeline", - defaultValue: {}, + serializedName: "typeProperties.functionAppUrl", type: { - name: "Composite", - className: "TriggerPipelineReference" + name: "Object" } }, - dependsOn: { - required: true, - serializedName: "typeProperties.dependsOn", + functionKey: { + serializedName: "typeProperties.functionKey", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PipelineReference" - } - } + name: "Composite", + className: "SecretBase" } }, - runDimension: { - required: true, - serializedName: "typeProperties.runDimension", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "String" + name: "Object" } } }, - additionalProperties: Trigger.type.additionalProperties + additionalProperties: LinkedService.type.additionalProperties } }; -export const DependencyReference: msRest.CompositeMapper = { - serializedName: "DependencyReference", +export const AzureDataExplorerLinkedService: msRest.CompositeMapper = { + serializedName: "AzureDataExplorer", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "type", - clientName: "type" - }, - uberParent: "DependencyReference", - className: "DependencyReference", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureDataExplorerLinkedService", modelProperties: { - type: { + ...LinkedService.type.modelProperties, + endpoint: { required: true, - serializedName: "type", + serializedName: "typeProperties.endpoint", type: { - name: "String" + name: "Object" } - } - } - } -}; - -export const SelfDependencyTumblingWindowTriggerReference: msRest.CompositeMapper = { - serializedName: "SelfDependencyTumblingWindowTriggerReference", - type: { - name: "Composite", - polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, - uberParent: "DependencyReference", - className: "SelfDependencyTumblingWindowTriggerReference", - modelProperties: { - ...DependencyReference.type.modelProperties, - offset: { + }, + servicePrincipalId: { required: true, - serializedName: "offset", - constraints: { - MaxLength: 15, - MinLength: 8, - Pattern: /-((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ - }, + serializedName: "typeProperties.servicePrincipalId", type: { - name: "String" + name: "Object" } }, - size: { - serializedName: "size", - constraints: { - MaxLength: 15, - MinLength: 8, - Pattern: /((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ - }, + servicePrincipalKey: { + required: true, + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "String" + name: "Composite", + className: "SecretBase" } - } - } - } -}; - -export const TriggerReference: msRest.CompositeMapper = { - serializedName: "TriggerReference", - type: { - name: "Composite", - className: "TriggerReference", - modelProperties: { - type: { + }, + database: { required: true, - isConstant: true, - serializedName: "type", - defaultValue: 'TriggerReference', + serializedName: "typeProperties.database", type: { - name: "String" + name: "Object" } }, - referenceName: { + tenant: { required: true, - serializedName: "referenceName", + serializedName: "typeProperties.tenant", type: { - name: "String" + name: "Object" } } - } + }, + additionalProperties: LinkedService.type.additionalProperties } }; -export const TriggerDependencyReference: msRest.CompositeMapper = { - serializedName: "TriggerDependencyReference", +export const SapTableLinkedService: msRest.CompositeMapper = { + serializedName: "SapTable", type: { name: "Composite", - polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, - uberParent: "DependencyReference", - className: "TriggerDependencyReference", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SapTableLinkedService", modelProperties: { - ...DependencyReference.type.modelProperties, - referenceTrigger: { - required: true, - serializedName: "referenceTrigger", - defaultValue: {}, + ...LinkedService.type.modelProperties, + server: { + serializedName: "typeProperties.server", type: { - name: "Composite", - className: "TriggerReference" + name: "Object" } - } - } - } -}; - -export const TumblingWindowTriggerDependencyReference: msRest.CompositeMapper = { - serializedName: "TumblingWindowTriggerDependencyReference", - type: { - name: "Composite", - polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, - uberParent: "DependencyReference", - className: "TumblingWindowTriggerDependencyReference", - modelProperties: { - ...TriggerDependencyReference.type.modelProperties, - offset: { - serializedName: "offset", - constraints: { - MaxLength: 15, - MinLength: 8, - Pattern: /-?((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ - }, + }, + systemNumber: { + serializedName: "typeProperties.systemNumber", type: { - name: "String" + name: "Object" } }, - size: { - serializedName: "size", - constraints: { - MaxLength: 15, - MinLength: 8, - Pattern: /((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ - }, + clientId: { + serializedName: "typeProperties.clientId", type: { - name: "String" + name: "Object" } - } - } - } -}; - -export const RetryPolicy: msRest.CompositeMapper = { - serializedName: "RetryPolicy", - type: { - name: "Composite", - className: "RetryPolicy", - modelProperties: { - count: { - serializedName: "count", + }, + language: { + serializedName: "typeProperties.language", type: { name: "Object" } }, - intervalInSeconds: { - serializedName: "intervalInSeconds", - constraints: { - InclusiveMaximum: 86400, - InclusiveMinimum: 30 - }, + systemId: { + serializedName: "typeProperties.systemId", type: { - name: "Number" + name: "Object" } - } - } - } -}; - -export const TumblingWindowTrigger: msRest.CompositeMapper = { - serializedName: "TumblingWindowTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "TumblingWindowTrigger", - modelProperties: { - ...Trigger.type.modelProperties, - pipelineProperty: { - required: true, - serializedName: "pipeline", - defaultValue: {}, + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "TriggerPipelineReference" + className: "SecretBase" } }, - frequency: { - required: true, - serializedName: "typeProperties.frequency", + messageServer: { + serializedName: "typeProperties.messageServer", type: { - name: "String" + name: "Object" } }, - interval: { - required: true, - serializedName: "typeProperties.interval", + messageServerService: { + serializedName: "typeProperties.messageServerService", type: { - name: "Number" + name: "Object" } }, - startTime: { - required: true, - serializedName: "typeProperties.startTime", + sncMode: { + serializedName: "typeProperties.sncMode", type: { - name: "DateTime" + name: "Object" } }, - endTime: { - serializedName: "typeProperties.endTime", + sncMyName: { + serializedName: "typeProperties.sncMyName", type: { - name: "DateTime" + name: "Object" } }, - delay: { - serializedName: "typeProperties.delay", + sncPartnerName: { + serializedName: "typeProperties.sncPartnerName", type: { name: "Object" } }, - maxConcurrency: { - required: true, - serializedName: "typeProperties.maxConcurrency", - constraints: { - InclusiveMaximum: 50, - InclusiveMinimum: 1 - }, + sncLibraryPath: { + serializedName: "typeProperties.sncLibraryPath", type: { - name: "Number" + name: "Object" } }, - retryPolicy: { - serializedName: "typeProperties.retryPolicy", + sncQop: { + serializedName: "typeProperties.sncQop", type: { - name: "Composite", - className: "RetryPolicy" + name: "Object" } }, - dependsOn: { - serializedName: "typeProperties.dependsOn", + logonGroup: { + serializedName: "typeProperties.logonGroup", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DependencyReference" - } - } + name: "Object" } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const MultiplePipelineTrigger: msRest.CompositeMapper = { - serializedName: "MultiplePipelineTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "MultiplePipelineTrigger", - modelProperties: { - ...Trigger.type.modelProperties, - pipelines: { - serializedName: "pipelines", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TriggerPipelineReference" - } - } + name: "Object" } } }, - additionalProperties: Trigger.type.additionalProperties + additionalProperties: LinkedService.type.additionalProperties } }; -export const BlobEventsTrigger: msRest.CompositeMapper = { - serializedName: "BlobEventsTrigger", +export const GoogleAdWordsLinkedService: msRest.CompositeMapper = { + serializedName: "GoogleAdWords", type: { name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "BlobEventsTrigger", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "GoogleAdWordsLinkedService", modelProperties: { - ...MultiplePipelineTrigger.type.modelProperties, - blobPathBeginsWith: { - serializedName: "typeProperties.blobPathBeginsWith", + ...LinkedService.type.modelProperties, + clientCustomerID: { + required: true, + serializedName: "typeProperties.clientCustomerID", type: { - name: "String" + name: "Object" } }, - blobPathEndsWith: { - serializedName: "typeProperties.blobPathEndsWith", + developerToken: { + required: true, + serializedName: "typeProperties.developerToken", type: { - name: "String" + name: "Composite", + className: "SecretBase" } }, - ignoreEmptyBlobs: { - serializedName: "typeProperties.ignoreEmptyBlobs", + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", type: { - name: "Boolean" + name: "String" } }, - events: { - required: true, - serializedName: "typeProperties.events", + refreshToken: { + serializedName: "typeProperties.refreshToken", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "SecretBase" } }, - scope: { - required: true, - serializedName: "typeProperties.scope", + clientId: { + serializedName: "typeProperties.clientId", type: { - name: "String" + name: "Object" } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const BlobTrigger: msRest.CompositeMapper = { - serializedName: "BlobTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "BlobTrigger", - modelProperties: { - ...MultiplePipelineTrigger.type.modelProperties, - folderPath: { - required: true, - serializedName: "typeProperties.folderPath", + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { - name: "String" + name: "Composite", + className: "SecretBase" } }, - maxConcurrency: { - required: true, - serializedName: "typeProperties.maxConcurrency", + email: { + serializedName: "typeProperties.email", type: { - name: "Number" + name: "Object" } }, - linkedService: { - required: true, - serializedName: "typeProperties.linkedService", - defaultValue: {}, + keyFilePath: { + serializedName: "typeProperties.keyFilePath", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Object" } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const RecurrenceScheduleOccurrence: msRest.CompositeMapper = { - serializedName: "RecurrenceScheduleOccurrence", - type: { - name: "Composite", - className: "RecurrenceScheduleOccurrence", - modelProperties: { - day: { - serializedName: "day", + }, + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Enum", - allowedValues: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] + name: "Object" } }, - occurrence: { - serializedName: "occurrence", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { - name: "Number" + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" } } }, - additionalProperties: { - type: { - name: "Object" - } - } + additionalProperties: LinkedService.type.additionalProperties } }; -export const RecurrenceSchedule: msRest.CompositeMapper = { - serializedName: "RecurrenceSchedule", +export const OracleServiceCloudLinkedService: msRest.CompositeMapper = { + serializedName: "OracleServiceCloud", type: { name: "Composite", - className: "RecurrenceSchedule", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "OracleServiceCloudLinkedService", modelProperties: { - minutes: { - serializedName: "minutes", + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "Object" } }, - hours: { - serializedName: "hours", + username: { + required: true, + serializedName: "typeProperties.username", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "Object" } }, - weekDays: { - serializedName: "weekDays", + password: { + required: true, + serializedName: "typeProperties.password", type: { - name: "Sequence", - element: { - type: { - name: "Enum", - allowedValues: [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ] - } - } + name: "Composite", + className: "SecretBase" } }, - monthDays: { - serializedName: "monthDays", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Sequence", - element: { - type: { - name: "Number" - } - } + name: "Object" } }, - monthlyOccurrences: { - serializedName: "monthlyOccurrences", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecurrenceScheduleOccurrence", - additionalProperties: { - type: { - name: "Object" - } - } - } - } + name: "Object" + } + }, + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" } } }, - additionalProperties: { - type: { - name: "Object" - } - } + additionalProperties: LinkedService.type.additionalProperties } }; -export const ScheduleTriggerRecurrence: msRest.CompositeMapper = { - serializedName: "ScheduleTriggerRecurrence", +export const DynamicsAXLinkedService: msRest.CompositeMapper = { + serializedName: "DynamicsAX", type: { name: "Composite", - className: "ScheduleTriggerRecurrence", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "DynamicsAXLinkedService", modelProperties: { - frequency: { - serializedName: "frequency", + ...LinkedService.type.modelProperties, + url: { + required: true, + serializedName: "typeProperties.url", type: { - name: "String" + name: "Object" } }, - interval: { - serializedName: "interval", + servicePrincipalId: { + required: true, + serializedName: "typeProperties.servicePrincipalId", type: { - name: "Number" + name: "Object" } }, - startTime: { - serializedName: "startTime", + servicePrincipalKey: { + required: true, + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "DateTime" + name: "Composite", + className: "SecretBase" } }, - endTime: { - serializedName: "endTime", + tenant: { + required: true, + serializedName: "typeProperties.tenant", type: { - name: "DateTime" + name: "Object" } }, - timeZone: { - serializedName: "timeZone", + aadResourceId: { + required: true, + serializedName: "typeProperties.aadResourceId", type: { - name: "String" + name: "Object" } }, - schedule: { - serializedName: "schedule", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "RecurrenceSchedule", - additionalProperties: { - type: { - name: "Object" - } - } - } - } - }, - additionalProperties: { - type: { - name: "Object" - } - } - } -}; - -export const ScheduleTrigger: msRest.CompositeMapper = { - serializedName: "ScheduleTrigger", - type: { - name: "Composite", - polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, - uberParent: "Trigger", - className: "ScheduleTrigger", - modelProperties: { - ...MultiplePipelineTrigger.type.modelProperties, - recurrence: { - required: true, - serializedName: "typeProperties.recurrence", - type: { - name: "Composite", - className: "ScheduleTriggerRecurrence", - additionalProperties: { - type: { - name: "Object" - } - } - } - } - }, - additionalProperties: Trigger.type.additionalProperties - } -}; - -export const AzureFunctionLinkedService: msRest.CompositeMapper = { - serializedName: "AzureFunction", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureFunctionLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - functionAppUrl: { - required: true, - serializedName: "typeProperties.functionAppUrl", - type: { - name: "Object" - } - }, - functionKey: { - serializedName: "typeProperties.functionKey", - type: { - name: "Composite", - className: "SecretBase" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" + name: "Object" } } }, @@ -4053,13 +3752,13 @@ export const AzureFunctionLinkedService: msRest.CompositeMapper = { } }; -export const AzureDataExplorerLinkedService: msRest.CompositeMapper = { - serializedName: "AzureDataExplorer", +export const ResponsysLinkedService: msRest.CompositeMapper = { + serializedName: "Responsys", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureDataExplorerLinkedService", + className: "ResponsysLinkedService", modelProperties: { ...LinkedService.type.modelProperties, endpoint: { @@ -4069,31 +3768,40 @@ export const AzureDataExplorerLinkedService: msRest.CompositeMapper = { name: "Object" } }, - servicePrincipalId: { + clientId: { required: true, - serializedName: "typeProperties.servicePrincipalId", + serializedName: "typeProperties.clientId", type: { name: "Object" } }, - servicePrincipalKey: { - required: true, - serializedName: "typeProperties.servicePrincipalKey", + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { name: "Composite", className: "SecretBase" } }, - database: { - required: true, - serializedName: "typeProperties.database", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Object" } }, - tenant: { - required: true, - serializedName: "typeProperties.tenant", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", + type: { + name: "Object" + } + }, + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } @@ -4103,102 +3811,107 @@ export const AzureDataExplorerLinkedService: msRest.CompositeMapper = { } }; -export const SapTableLinkedService: msRest.CompositeMapper = { - serializedName: "SapTable", +export const AzureDatabricksLinkedService: msRest.CompositeMapper = { + serializedName: "AzureDatabricks", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SapTableLinkedService", + className: "AzureDatabricksLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - server: { - serializedName: "typeProperties.server", - type: { - name: "Object" - } - }, - systemNumber: { - serializedName: "typeProperties.systemNumber", + domain: { + required: true, + serializedName: "typeProperties.domain", type: { name: "Object" } }, - clientId: { - serializedName: "typeProperties.clientId", + accessToken: { + required: true, + serializedName: "typeProperties.accessToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - language: { - serializedName: "typeProperties.language", + existingClusterId: { + serializedName: "typeProperties.existingClusterId", type: { name: "Object" } }, - systemId: { - serializedName: "typeProperties.systemId", + instancePoolId: { + serializedName: "typeProperties.instancePoolId", type: { name: "Object" } }, - userName: { - serializedName: "typeProperties.userName", + newClusterVersion: { + serializedName: "typeProperties.newClusterVersion", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - messageServer: { - serializedName: "typeProperties.messageServer", + newClusterNumOfWorker: { + serializedName: "typeProperties.newClusterNumOfWorker", type: { name: "Object" } }, - messageServerService: { - serializedName: "typeProperties.messageServerService", + newClusterNodeType: { + serializedName: "typeProperties.newClusterNodeType", type: { name: "Object" } }, - sncMode: { - serializedName: "typeProperties.sncMode", + newClusterSparkConf: { + serializedName: "typeProperties.newClusterSparkConf", type: { - name: "Object" + name: "Dictionary", + value: { + type: { + name: "Object" + } + } } }, - sncMyName: { - serializedName: "typeProperties.sncMyName", + newClusterSparkEnvVars: { + serializedName: "typeProperties.newClusterSparkEnvVars", type: { - name: "Object" + name: "Dictionary", + value: { + type: { + name: "Object" + } + } } }, - sncPartnerName: { - serializedName: "typeProperties.sncPartnerName", + newClusterCustomTags: { + serializedName: "typeProperties.newClusterCustomTags", type: { - name: "Object" + name: "Dictionary", + value: { + type: { + name: "Object" + } + } } }, - sncLibraryPath: { - serializedName: "typeProperties.sncLibraryPath", + newClusterDriverNodeType: { + serializedName: "typeProperties.newClusterDriverNodeType", type: { name: "Object" } }, - sncQop: { - serializedName: "typeProperties.sncQop", + newClusterInitScripts: { + serializedName: "typeProperties.newClusterInitScripts", type: { name: "Object" } }, - logonGroup: { - serializedName: "typeProperties.logonGroup", + newClusterEnableElasticDisk: { + serializedName: "typeProperties.newClusterEnableElasticDisk", type: { name: "Object" } @@ -4214,77 +3927,56 @@ export const SapTableLinkedService: msRest.CompositeMapper = { } }; -export const GoogleAdWordsLinkedService: msRest.CompositeMapper = { - serializedName: "GoogleAdWords", +export const AzureDataLakeAnalyticsLinkedService: msRest.CompositeMapper = { + serializedName: "AzureDataLakeAnalytics", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "GoogleAdWordsLinkedService", + className: "AzureDataLakeAnalyticsLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - clientCustomerID: { + accountName: { required: true, - serializedName: "typeProperties.clientCustomerID", + serializedName: "typeProperties.accountName", type: { name: "Object" } }, - developerToken: { - required: true, - serializedName: "typeProperties.developerToken", - type: { - name: "Composite", - className: "SecretBase" - } - }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", - type: { - name: "String" - } - }, - refreshToken: { - serializedName: "typeProperties.refreshToken", - type: { - name: "Composite", - className: "SecretBase" - } - }, - clientId: { - serializedName: "typeProperties.clientId", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", className: "SecretBase" } }, - email: { - serializedName: "typeProperties.email", + tenant: { + required: true, + serializedName: "typeProperties.tenant", type: { name: "Object" } }, - keyFilePath: { - serializedName: "typeProperties.keyFilePath", + subscriptionId: { + serializedName: "typeProperties.subscriptionId", type: { name: "Object" } }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", + resourceGroupName: { + serializedName: "typeProperties.resourceGroupName", type: { name: "Object" } }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", + dataLakeAnalyticsUri: { + serializedName: "typeProperties.dataLakeAnalyticsUri", type: { name: "Object" } @@ -4300,91 +3992,96 @@ export const GoogleAdWordsLinkedService: msRest.CompositeMapper = { } }; -export const OracleServiceCloudLinkedService: msRest.CompositeMapper = { - serializedName: "OracleServiceCloud", +export const ScriptAction: msRest.CompositeMapper = { + serializedName: "ScriptAction", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "OracleServiceCloudLinkedService", + className: "ScriptAction", modelProperties: { - ...LinkedService.type.modelProperties, - host: { + name: { required: true, - serializedName: "typeProperties.host", + serializedName: "name", type: { - name: "Object" + name: "String" } }, - username: { + uri: { required: true, - serializedName: "typeProperties.username", + serializedName: "uri", type: { - name: "Object" + name: "String" } }, - password: { + roles: { required: true, - serializedName: "typeProperties.password", + serializedName: "roles", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + parameters: { + serializedName: "parameters", + type: { + name: "String" + } + } + } + } +}; + +export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { + serializedName: "HDInsightOnDemand", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "HDInsightOnDemandLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + clusterSize: { + required: true, + serializedName: "typeProperties.clusterSize", type: { name: "Object" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + timeToLive: { + required: true, + serializedName: "typeProperties.timeToLive", type: { name: "Object" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + version: { + required: true, + serializedName: "typeProperties.version", type: { name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + linkedServiceName: { + required: true, + serializedName: "typeProperties.linkedServiceName", + defaultValue: {}, type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const DynamicsAXLinkedService: msRest.CompositeMapper = { - serializedName: "DynamicsAX", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "DynamicsAXLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - url: { + }, + hostSubscriptionId: { required: true, - serializedName: "typeProperties.url", + serializedName: "typeProperties.hostSubscriptionId", type: { name: "Object" } }, servicePrincipalId: { - required: true, serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } }, servicePrincipalKey: { - required: true, serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", @@ -4398,190 +4095,168 @@ export const DynamicsAXLinkedService: msRest.CompositeMapper = { name: "Object" } }, - aadResourceId: { + clusterResourceGroup: { required: true, - serializedName: "typeProperties.aadResourceId", + serializedName: "typeProperties.clusterResourceGroup", type: { name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const ResponsysLinkedService: msRest.CompositeMapper = { - serializedName: "Responsys", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "ResponsysLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", + clusterNamePrefix: { + serializedName: "typeProperties.clusterNamePrefix", type: { name: "Object" } }, - clientId: { - required: true, - serializedName: "typeProperties.clientId", + clusterUserName: { + serializedName: "typeProperties.clusterUserName", type: { name: "Object" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + clusterPassword: { + serializedName: "typeProperties.clusterPassword", type: { name: "Composite", className: "SecretBase" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + clusterSshUserName: { + serializedName: "typeProperties.clusterSshUserName", type: { name: "Object" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + clusterSshPassword: { + serializedName: "typeProperties.clusterSshPassword", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + additionalLinkedServiceNames: { + serializedName: "typeProperties.additionalLinkedServiceNames", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + hcatalogLinkedServiceName: { + serializedName: "typeProperties.hcatalogLinkedServiceName", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureDatabricksLinkedService: msRest.CompositeMapper = { - serializedName: "AzureDatabricks", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureDatabricksLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - domain: { - required: true, - serializedName: "typeProperties.domain", + }, + clusterType: { + serializedName: "typeProperties.clusterType", type: { name: "Object" } }, - accessToken: { - required: true, - serializedName: "typeProperties.accessToken", + sparkVersion: { + serializedName: "typeProperties.sparkVersion", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - existingClusterId: { - serializedName: "typeProperties.existingClusterId", + coreConfiguration: { + serializedName: "typeProperties.coreConfiguration", type: { name: "Object" } }, - instancePoolId: { - serializedName: "typeProperties.instancePoolId", + hBaseConfiguration: { + serializedName: "typeProperties.hBaseConfiguration", type: { name: "Object" } }, - newClusterVersion: { - serializedName: "typeProperties.newClusterVersion", + hdfsConfiguration: { + serializedName: "typeProperties.hdfsConfiguration", type: { name: "Object" } }, - newClusterNumOfWorker: { - serializedName: "typeProperties.newClusterNumOfWorker", + hiveConfiguration: { + serializedName: "typeProperties.hiveConfiguration", type: { name: "Object" } }, - newClusterNodeType: { - serializedName: "typeProperties.newClusterNodeType", + mapReduceConfiguration: { + serializedName: "typeProperties.mapReduceConfiguration", type: { name: "Object" } }, - newClusterSparkConf: { - serializedName: "typeProperties.newClusterSparkConf", + oozieConfiguration: { + serializedName: "typeProperties.oozieConfiguration", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Object" } }, - newClusterSparkEnvVars: { - serializedName: "typeProperties.newClusterSparkEnvVars", + stormConfiguration: { + serializedName: "typeProperties.stormConfiguration", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Object" } }, - newClusterCustomTags: { - serializedName: "typeProperties.newClusterCustomTags", + yarnConfiguration: { + serializedName: "typeProperties.yarnConfiguration", type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } + name: "Object" } }, - newClusterDriverNodeType: { - serializedName: "typeProperties.newClusterDriverNodeType", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } }, - newClusterInitScripts: { - serializedName: "typeProperties.newClusterInitScripts", + headNodeSize: { + serializedName: "typeProperties.headNodeSize", type: { name: "Object" } }, - newClusterEnableElasticDisk: { - serializedName: "typeProperties.newClusterEnableElasticDisk", + dataNodeSize: { + serializedName: "typeProperties.dataNodeSize", type: { name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + zookeeperNodeSize: { + serializedName: "typeProperties.zookeeperNodeSize", + type: { + name: "Object" + } + }, + scriptActions: { + serializedName: "typeProperties.scriptActions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScriptAction" + } + } + } + }, + virtualNetworkId: { + serializedName: "typeProperties.virtualNetworkId", + type: { + name: "Object" + } + }, + subnetName: { + serializedName: "typeProperties.subnetName", type: { name: "Object" } @@ -4591,56 +4266,43 @@ export const AzureDatabricksLinkedService: msRest.CompositeMapper = { } }; -export const AzureDataLakeAnalyticsLinkedService: msRest.CompositeMapper = { - serializedName: "AzureDataLakeAnalytics", +export const SalesforceMarketingCloudLinkedService: msRest.CompositeMapper = { + serializedName: "SalesforceMarketingCloud", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureDataLakeAnalyticsLinkedService", + className: "SalesforceMarketingCloudLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - accountName: { + clientId: { required: true, - serializedName: "typeProperties.accountName", - type: { - name: "Object" - } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + serializedName: "typeProperties.clientId", type: { name: "Object" } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { name: "Composite", className: "SecretBase" } }, - tenant: { - required: true, - serializedName: "typeProperties.tenant", - type: { - name: "Object" - } - }, - subscriptionId: { - serializedName: "typeProperties.subscriptionId", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Object" } }, - resourceGroupName: { - serializedName: "typeProperties.resourceGroupName", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { name: "Object" } }, - dataLakeAnalyticsUri: { - serializedName: "typeProperties.dataLakeAnalyticsUri", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { name: "Object" } @@ -4656,271 +4318,240 @@ export const AzureDataLakeAnalyticsLinkedService: msRest.CompositeMapper = { } }; -export const ScriptAction: msRest.CompositeMapper = { - serializedName: "ScriptAction", +export const NetezzaLinkedService: msRest.CompositeMapper = { + serializedName: "Netezza", type: { name: "Composite", - className: "ScriptAction", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "NetezzaLinkedService", modelProperties: { - name: { - required: true, - serializedName: "name", + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "String" + name: "Object" } }, - uri: { - required: true, - serializedName: "uri", + pwd: { + serializedName: "typeProperties.pwd", type: { - name: "String" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - roles: { - required: true, - serializedName: "roles", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } - }, - parameters: { - serializedName: "parameters", - type: { - name: "String" - } } - } + }, + additionalProperties: LinkedService.type.additionalProperties } }; -export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { - serializedName: "HDInsightOnDemand", +export const VerticaLinkedService: msRest.CompositeMapper = { + serializedName: "Vertica", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "HDInsightOnDemandLinkedService", + className: "VerticaLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - clusterSize: { - required: true, - serializedName: "typeProperties.clusterSize", - type: { - name: "Object" - } - }, - timeToLive: { - required: true, - serializedName: "typeProperties.timeToLive", - type: { - name: "Object" - } - }, - version: { - required: true, - serializedName: "typeProperties.version", + connectionString: { + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - linkedServiceName: { - required: true, - serializedName: "typeProperties.linkedServiceName", - defaultValue: {}, + pwd: { + serializedName: "typeProperties.pwd", type: { name: "Composite", - className: "LinkedServiceReference" + className: "AzureKeyVaultSecretReference" } }, - hostSubscriptionId: { - required: true, - serializedName: "typeProperties.hostSubscriptionId", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const ZohoLinkedService: msRest.CompositeMapper = { + serializedName: "Zoho", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "ZohoLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + endpoint: { + required: true, + serializedName: "typeProperties.endpoint", type: { name: "Object" } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + accessToken: { + serializedName: "typeProperties.accessToken", type: { name: "Composite", className: "SecretBase" } }, - tenant: { - required: true, - serializedName: "typeProperties.tenant", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Object" } }, - clusterResourceGroup: { - required: true, - serializedName: "typeProperties.clusterResourceGroup", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { name: "Object" } }, - clusterNamePrefix: { - serializedName: "typeProperties.clusterNamePrefix", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { name: "Object" } }, - clusterUserName: { - serializedName: "typeProperties.clusterUserName", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } - }, - clusterPassword: { - serializedName: "typeProperties.clusterPassword", - type: { - name: "Composite", - className: "SecretBase" - } - }, - clusterSshUserName: { - serializedName: "typeProperties.clusterSshUserName", + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const XeroLinkedService: msRest.CompositeMapper = { + serializedName: "Xero", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "XeroLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", type: { name: "Object" } }, - clusterSshPassword: { - serializedName: "typeProperties.clusterSshPassword", + consumerKey: { + serializedName: "typeProperties.consumerKey", type: { name: "Composite", className: "SecretBase" } }, - additionalLinkedServiceNames: { - serializedName: "typeProperties.additionalLinkedServiceNames", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LinkedServiceReference" - } - } - } - }, - hcatalogLinkedServiceName: { - serializedName: "typeProperties.hcatalogLinkedServiceName", + privateKey: { + serializedName: "typeProperties.privateKey", type: { name: "Composite", - className: "LinkedServiceReference" - } - }, - clusterType: { - serializedName: "typeProperties.clusterType", - type: { - name: "Object" + className: "SecretBase" } }, - sparkVersion: { - serializedName: "typeProperties.sparkVersion", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Object" } }, - coreConfiguration: { - serializedName: "typeProperties.coreConfiguration", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { name: "Object" } }, - hBaseConfiguration: { - serializedName: "typeProperties.hBaseConfiguration", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { name: "Object" } }, - hdfsConfiguration: { - serializedName: "typeProperties.hdfsConfiguration", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } - }, - hiveConfiguration: { - serializedName: "typeProperties.hiveConfiguration", - type: { - name: "Object" - } - }, - mapReduceConfiguration: { - serializedName: "typeProperties.mapReduceConfiguration", - type: { - name: "Object" - } - }, - oozieConfiguration: { - serializedName: "typeProperties.oozieConfiguration", - type: { - name: "Object" - } - }, - stormConfiguration: { - serializedName: "typeProperties.stormConfiguration", + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const SquareLinkedService: msRest.CompositeMapper = { + serializedName: "Square", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "SquareLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", type: { name: "Object" } }, - yarnConfiguration: { - serializedName: "typeProperties.yarnConfiguration", + clientId: { + required: true, + serializedName: "typeProperties.clientId", type: { name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - headNodeSize: { - serializedName: "typeProperties.headNodeSize", + redirectUri: { + required: true, + serializedName: "typeProperties.redirectUri", type: { name: "Object" } }, - dataNodeSize: { - serializedName: "typeProperties.dataNodeSize", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Object" } }, - zookeeperNodeSize: { - serializedName: "typeProperties.zookeeperNodeSize", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { name: "Object" } }, - scriptActions: { - serializedName: "typeProperties.scriptActions", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ScriptAction" - } - } - } - }, - virtualNetworkId: { - serializedName: "typeProperties.virtualNetworkId", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { name: "Object" } }, - subnetName: { - serializedName: "typeProperties.subnetName", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } @@ -4930,111 +4561,95 @@ export const HDInsightOnDemandLinkedService: msRest.CompositeMapper = { } }; -export const SalesforceMarketingCloudLinkedService: msRest.CompositeMapper = { - serializedName: "SalesforceMarketingCloud", +export const SparkLinkedService: msRest.CompositeMapper = { + serializedName: "Spark", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SalesforceMarketingCloudLinkedService", + className: "SparkLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - clientId: { + host: { required: true, - serializedName: "typeProperties.clientId", + serializedName: "typeProperties.host", type: { name: "Object" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + port: { + required: true, + serializedName: "typeProperties.port", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + serverType: { + serializedName: "typeProperties.serverType", type: { - name: "Object" + name: "String" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + thriftTransportProtocol: { + serializedName: "typeProperties.thriftTransportProtocol", type: { - name: "Object" + name: "String" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", type: { name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + httpPath: { + serializedName: "typeProperties.httpPath", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const NetezzaLinkedService: msRest.CompositeMapper = { - serializedName: "Netezza", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "NetezzaLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + }, + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { name: "Object" } }, - pwd: { - serializedName: "typeProperties.pwd", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const VerticaLinkedService: msRest.CompositeMapper = { - serializedName: "Vertica", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "VerticaLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + }, + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", type: { name: "Object" } }, - pwd: { - serializedName: "typeProperties.pwd", + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Object" } }, encryptedCredential: { @@ -5048,18 +4663,18 @@ export const VerticaLinkedService: msRest.CompositeMapper = { } }; -export const ZohoLinkedService: msRest.CompositeMapper = { - serializedName: "Zoho", +export const ShopifyLinkedService: msRest.CompositeMapper = { + serializedName: "Shopify", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "ZohoLinkedService", + className: "ShopifyLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - endpoint: { + host: { required: true, - serializedName: "typeProperties.endpoint", + serializedName: "typeProperties.host", type: { name: "Object" } @@ -5100,31 +4715,50 @@ export const ZohoLinkedService: msRest.CompositeMapper = { } }; -export const XeroLinkedService: msRest.CompositeMapper = { - serializedName: "Xero", +export const ServiceNowLinkedService: msRest.CompositeMapper = { + serializedName: "ServiceNow", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "XeroLinkedService", + className: "ServiceNowLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { + endpoint: { required: true, - serializedName: "typeProperties.host", + serializedName: "typeProperties.endpoint", type: { name: "Object" } }, - consumerKey: { - serializedName: "typeProperties.consumerKey", + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - privateKey: { - serializedName: "typeProperties.privateKey", + clientId: { + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { name: "Composite", className: "SecretBase" @@ -5159,57 +4793,62 @@ export const XeroLinkedService: msRest.CompositeMapper = { } }; -export const SquareLinkedService: msRest.CompositeMapper = { - serializedName: "Square", +export const QuickBooksLinkedService: msRest.CompositeMapper = { + serializedName: "QuickBooks", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SquareLinkedService", + className: "QuickBooksLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { + endpoint: { required: true, - serializedName: "typeProperties.host", + serializedName: "typeProperties.endpoint", type: { name: "Object" } }, - clientId: { + companyId: { required: true, - serializedName: "typeProperties.clientId", + serializedName: "typeProperties.companyId", type: { name: "Object" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + consumerKey: { + required: true, + serializedName: "typeProperties.consumerKey", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - redirectUri: { + consumerSecret: { required: true, - serializedName: "typeProperties.redirectUri", + serializedName: "typeProperties.consumerSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + accessToken: { + required: true, + serializedName: "typeProperties.accessToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + accessTokenSecret: { + required: true, + serializedName: "typeProperties.accessTokenSecret", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Object" } @@ -5225,13 +4864,13 @@ export const SquareLinkedService: msRest.CompositeMapper = { } }; -export const SparkLinkedService: msRest.CompositeMapper = { - serializedName: "Spark", +export const PrestoLinkedService: msRest.CompositeMapper = { + serializedName: "Presto", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SparkLinkedService", + className: "PrestoLinkedService", modelProperties: { ...LinkedService.type.modelProperties, host: { @@ -5241,23 +4880,24 @@ export const SparkLinkedService: msRest.CompositeMapper = { name: "Object" } }, - port: { + serverVersion: { required: true, - serializedName: "typeProperties.port", + serializedName: "typeProperties.serverVersion", type: { name: "Object" } }, - serverType: { - serializedName: "typeProperties.serverType", + catalog: { + required: true, + serializedName: "typeProperties.catalog", type: { - name: "String" + name: "Object" } }, - thriftTransportProtocol: { - serializedName: "typeProperties.thriftTransportProtocol", + port: { + serializedName: "typeProperties.port", type: { - name: "String" + name: "Object" } }, authenticationType: { @@ -5280,12 +4920,6 @@ export const SparkLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - httpPath: { - serializedName: "typeProperties.httpPath", - type: { - name: "Object" - } - }, enableSsl: { serializedName: "typeProperties.enableSsl", type: { @@ -5316,6 +4950,12 @@ export const SparkLinkedService: msRest.CompositeMapper = { name: "Object" } }, + timeZoneID: { + serializedName: "typeProperties.timeZoneID", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -5327,13 +4967,13 @@ export const SparkLinkedService: msRest.CompositeMapper = { } }; -export const ShopifyLinkedService: msRest.CompositeMapper = { - serializedName: "Shopify", +export const PhoenixLinkedService: msRest.CompositeMapper = { + serializedName: "Phoenix", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "ShopifyLinkedService", + className: "PhoenixLinkedService", modelProperties: { ...LinkedService.type.modelProperties, host: { @@ -5343,27 +4983,64 @@ export const ShopifyLinkedService: msRest.CompositeMapper = { name: "Object" } }, - accessToken: { - serializedName: "typeProperties.accessToken", + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + httpPath: { + serializedName: "typeProperties.httpPath", + type: { + name: "Object" + } + }, + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { name: "Object" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { name: "Object" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", + type: { + name: "Object" + } + }, + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", + type: { + name: "Object" + } + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", type: { name: "Object" } @@ -5379,43 +5056,24 @@ export const ShopifyLinkedService: msRest.CompositeMapper = { } }; -export const ServiceNowLinkedService: msRest.CompositeMapper = { - serializedName: "ServiceNow", +export const PaypalLinkedService: msRest.CompositeMapper = { + serializedName: "Paypal", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "ServiceNowLinkedService", + className: "PaypalLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", - type: { - name: "Object" - } - }, - authenticationType: { + host: { required: true, - serializedName: "typeProperties.authenticationType", - type: { - name: "String" - } - }, - username: { - serializedName: "typeProperties.username", + serializedName: "typeProperties.host", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, clientId: { + required: true, serializedName: "typeProperties.clientId", type: { name: "Object" @@ -5457,13 +5115,13 @@ export const ServiceNowLinkedService: msRest.CompositeMapper = { } }; -export const QuickBooksLinkedService: msRest.CompositeMapper = { - serializedName: "QuickBooks", +export const MarketoLinkedService: msRest.CompositeMapper = { + serializedName: "Marketo", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "QuickBooksLinkedService", + className: "MarketoLinkedService", modelProperties: { ...LinkedService.type.modelProperties, endpoint: { @@ -5473,46 +5131,34 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { name: "Object" } }, - companyId: { - required: true, - serializedName: "typeProperties.companyId", - type: { - name: "Object" - } - }, - consumerKey: { + clientId: { required: true, - serializedName: "typeProperties.consumerKey", + serializedName: "typeProperties.clientId", type: { name: "Object" } }, - consumerSecret: { - required: true, - serializedName: "typeProperties.consumerSecret", + clientSecret: { + serializedName: "typeProperties.clientSecret", type: { name: "Composite", className: "SecretBase" } }, - accessToken: { - required: true, - serializedName: "typeProperties.accessToken", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - accessTokenSecret: { - required: true, - serializedName: "typeProperties.accessTokenSecret", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { name: "Object" } @@ -5528,94 +5174,174 @@ export const QuickBooksLinkedService: msRest.CompositeMapper = { } }; -export const PrestoLinkedService: msRest.CompositeMapper = { - serializedName: "Presto", +export const AzureMariaDBLinkedService: msRest.CompositeMapper = { + serializedName: "AzureMariaDB", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "PrestoLinkedService", + className: "AzureMariaDBLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", + connectionString: { + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - serverVersion: { - required: true, - serializedName: "typeProperties.serverVersion", + pwd: { + serializedName: "typeProperties.pwd", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - catalog: { - required: true, - serializedName: "typeProperties.catalog", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } - }, - port: { - serializedName: "typeProperties.port", + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const MariaDBLinkedService: msRest.CompositeMapper = { + serializedName: "MariaDB", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "MariaDBLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + pwd: { + serializedName: "typeProperties.pwd", type: { - name: "String" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - username: { - serializedName: "typeProperties.username", - type: { + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const MagentoLinkedService: msRest.CompositeMapper = { + serializedName: "Magento", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "MagentoLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", + type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + accessToken: { + serializedName: "typeProperties.accessToken", type: { name: "Composite", className: "SecretBase" } }, - enableSsl: { - serializedName: "typeProperties.enableSsl", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Object" } }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { name: "Object" } }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { name: "Object" } }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const JiraLinkedService: msRest.CompositeMapper = { + serializedName: "Jira", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "JiraLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + host: { + required: true, + serializedName: "typeProperties.host", type: { name: "Object" } }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", + port: { + serializedName: "typeProperties.port", type: { name: "Object" } }, - timeZoneID: { - serializedName: "typeProperties.timeZoneID", + username: { + required: true, + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", + type: { + name: "Object" + } + }, + useHostVerification: { + serializedName: "typeProperties.useHostVerification", + type: { + name: "Object" + } + }, + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { name: "Object" } @@ -5631,13 +5357,13 @@ export const PrestoLinkedService: msRest.CompositeMapper = { } }; -export const PhoenixLinkedService: msRest.CompositeMapper = { - serializedName: "Phoenix", +export const ImpalaLinkedService: msRest.CompositeMapper = { + serializedName: "Impala", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "PhoenixLinkedService", + className: "ImpalaLinkedService", modelProperties: { ...LinkedService.type.modelProperties, host: { @@ -5653,12 +5379,6 @@ export const PhoenixLinkedService: msRest.CompositeMapper = { name: "Object" } }, - httpPath: { - serializedName: "typeProperties.httpPath", - type: { - name: "Object" - } - }, authenticationType: { required: true, serializedName: "typeProperties.authenticationType", @@ -5720,22 +5440,15 @@ export const PhoenixLinkedService: msRest.CompositeMapper = { } }; -export const PaypalLinkedService: msRest.CompositeMapper = { - serializedName: "Paypal", +export const HubspotLinkedService: msRest.CompositeMapper = { + serializedName: "Hubspot", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "PaypalLinkedService", + className: "HubspotLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", - type: { - name: "Object" - } - }, clientId: { required: true, serializedName: "typeProperties.clientId", @@ -5750,6 +5463,20 @@ export const PaypalLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, + accessToken: { + serializedName: "typeProperties.accessToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, + refreshToken: { + serializedName: "typeProperties.refreshToken", + type: { + name: "Composite", + className: "SecretBase" + } + }, useEncryptedEndpoints: { serializedName: "typeProperties.useEncryptedEndpoints", type: { @@ -5779,85 +5506,112 @@ export const PaypalLinkedService: msRest.CompositeMapper = { } }; -export const MarketoLinkedService: msRest.CompositeMapper = { - serializedName: "Marketo", +export const HiveLinkedService: msRest.CompositeMapper = { + serializedName: "Hive", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "MarketoLinkedService", + className: "HiveLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - endpoint: { + host: { required: true, - serializedName: "typeProperties.endpoint", + serializedName: "typeProperties.host", type: { name: "Object" } }, - clientId: { + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + serverType: { + serializedName: "typeProperties.serverType", + type: { + name: "String" + } + }, + thriftTransportProtocol: { + serializedName: "typeProperties.thriftTransportProtocol", + type: { + name: "String" + } + }, + authenticationType: { required: true, - serializedName: "typeProperties.clientId", + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + serviceDiscoveryMode: { + serializedName: "typeProperties.serviceDiscoveryMode", type: { name: "Object" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + zooKeeperNameSpace: { + serializedName: "typeProperties.zooKeeperNameSpace", + type: { + name: "Object" + } + }, + useNativeQuery: { + serializedName: "typeProperties.useNativeQuery", + type: { + name: "Object" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + httpPath: { + serializedName: "typeProperties.httpPath", type: { name: "Object" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { name: "Object" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureMariaDBLinkedService: msRest.CompositeMapper = { - serializedName: "AzureMariaDB", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureMariaDBLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + }, + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", type: { name: "Object" } }, - pwd: { - serializedName: "typeProperties.pwd", + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Object" } }, encryptedCredential: { @@ -5871,76 +5625,74 @@ export const AzureMariaDBLinkedService: msRest.CompositeMapper = { } }; -export const MariaDBLinkedService: msRest.CompositeMapper = { - serializedName: "MariaDB", +export const HBaseLinkedService: msRest.CompositeMapper = { + serializedName: "HBase", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "MariaDBLinkedService", + className: "HBaseLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + host: { + required: true, + serializedName: "typeProperties.host", type: { name: "Object" } }, - pwd: { - serializedName: "typeProperties.pwd", + port: { + serializedName: "typeProperties.port", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + httpPath: { + serializedName: "typeProperties.httpPath", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const MagentoLinkedService: msRest.CompositeMapper = { - serializedName: "Magento", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "MagentoLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - host: { + }, + authenticationType: { required: true, - serializedName: "typeProperties.host", + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", type: { name: "Object" } }, - accessToken: { - serializedName: "typeProperties.accessToken", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { name: "Object" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { name: "Object" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + allowHostNameCNMismatch: { + serializedName: "typeProperties.allowHostNameCNMismatch", + type: { + name: "Object" + } + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", type: { name: "Object" } @@ -5956,58 +5708,26 @@ export const MagentoLinkedService: msRest.CompositeMapper = { } }; -export const JiraLinkedService: msRest.CompositeMapper = { - serializedName: "Jira", +export const GreenplumLinkedService: msRest.CompositeMapper = { + serializedName: "Greenplum", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "JiraLinkedService", + className: "GreenplumLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", - type: { - name: "Object" - } - }, - username: { - required: true, - serializedName: "typeProperties.username", + connectionString: { + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + pwd: { + serializedName: "typeProperties.pwd", type: { name: "Composite", - className: "SecretBase" - } - }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", - type: { - name: "Object" - } - }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", - type: { - name: "Object" - } - }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", - type: { - name: "Object" + className: "AzureKeyVaultSecretReference" } }, encryptedCredential: { @@ -6021,24 +5741,30 @@ export const JiraLinkedService: msRest.CompositeMapper = { } }; -export const ImpalaLinkedService: msRest.CompositeMapper = { - serializedName: "Impala", +export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { + serializedName: "GoogleBigQuery", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "ImpalaLinkedService", + className: "GoogleBigQueryLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { + project: { required: true, - serializedName: "typeProperties.host", + serializedName: "typeProperties.project", type: { name: "Object" } }, - port: { - serializedName: "typeProperties.port", + additionalProjects: { + serializedName: "typeProperties.additionalProjects", + type: { + name: "Object" + } + }, + requestGoogleDriveScope: { + serializedName: "typeProperties.requestGoogleDriveScope", type: { name: "Object" } @@ -6050,45 +5776,46 @@ export const ImpalaLinkedService: msRest.CompositeMapper = { name: "String" } }, - username: { - serializedName: "typeProperties.username", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", + refreshToken: { + serializedName: "typeProperties.refreshToken", type: { name: "Composite", className: "SecretBase" } }, - enableSsl: { - serializedName: "typeProperties.enableSsl", + clientId: { + serializedName: "typeProperties.clientId", type: { name: "Object" } }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", + clientSecret: { + serializedName: "typeProperties.clientSecret", + type: { + name: "Composite", + className: "SecretBase" + } + }, + email: { + serializedName: "typeProperties.email", type: { name: "Object" } }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", + keyFilePath: { + serializedName: "typeProperties.keyFilePath", type: { name: "Object" } }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", + trustedCertPath: { + serializedName: "typeProperties.trustedCertPath", type: { name: "Object" } }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", + useSystemTrustStore: { + serializedName: "typeProperties.useSystemTrustStore", type: { name: "Object" } @@ -6104,38 +5831,31 @@ export const ImpalaLinkedService: msRest.CompositeMapper = { } }; -export const HubspotLinkedService: msRest.CompositeMapper = { - serializedName: "Hubspot", +export const EloquaLinkedService: msRest.CompositeMapper = { + serializedName: "Eloqua", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "HubspotLinkedService", + className: "EloquaLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - clientId: { + endpoint: { required: true, - serializedName: "typeProperties.clientId", + serializedName: "typeProperties.endpoint", type: { name: "Object" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", - type: { - name: "Composite", - className: "SecretBase" - } - }, - accessToken: { - serializedName: "typeProperties.accessToken", + username: { + required: true, + serializedName: "typeProperties.username", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - refreshToken: { - serializedName: "typeProperties.refreshToken", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" @@ -6170,116 +5890,63 @@ export const HubspotLinkedService: msRest.CompositeMapper = { } }; -export const HiveLinkedService: msRest.CompositeMapper = { - serializedName: "Hive", +export const DrillLinkedService: msRest.CompositeMapper = { + serializedName: "Drill", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "HiveLinkedService", + className: "DrillLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { - required: true, - serializedName: "typeProperties.host", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", + connectionString: { + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - serverType: { - serializedName: "typeProperties.serverType", + pwd: { + serializedName: "typeProperties.pwd", type: { - name: "String" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - thriftTransportProtocol: { - serializedName: "typeProperties.thriftTransportProtocol", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "String" + name: "Object" } - }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const CouchbaseLinkedService: msRest.CompositeMapper = { + serializedName: "Couchbase", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "CouchbaseLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + serializedName: "typeProperties.connectionString", type: { - name: "String" + name: "Object" } }, - serviceDiscoveryMode: { - serializedName: "typeProperties.serviceDiscoveryMode", + credString: { + serializedName: "typeProperties.credString", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - zooKeeperNameSpace: { - serializedName: "typeProperties.zooKeeperNameSpace", - type: { - name: "Object" - } - }, - useNativeQuery: { - serializedName: "typeProperties.useNativeQuery", - type: { - name: "Object" - } - }, - username: { - serializedName: "typeProperties.username", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - httpPath: { - serializedName: "typeProperties.httpPath", - type: { - name: "Object" - } - }, - enableSsl: { - serializedName: "typeProperties.enableSsl", - type: { - name: "Object" - } - }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", - type: { - name: "Object" - } - }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", - type: { - name: "Object" - } - }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", - type: { - name: "Object" - } - }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", - type: { - name: "Object" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } @@ -6289,42 +5956,24 @@ export const HiveLinkedService: msRest.CompositeMapper = { } }; -export const HBaseLinkedService: msRest.CompositeMapper = { - serializedName: "HBase", +export const ConcurLinkedService: msRest.CompositeMapper = { + serializedName: "Concur", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "HBaseLinkedService", + className: "ConcurLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { + clientId: { required: true, - serializedName: "typeProperties.host", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", - type: { - name: "Object" - } - }, - httpPath: { - serializedName: "typeProperties.httpPath", + serializedName: "typeProperties.clientId", type: { name: "Object" } }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", - type: { - name: "String" - } - }, username: { + required: true, serializedName: "typeProperties.username", type: { name: "Object" @@ -6337,26 +5986,20 @@ export const HBaseLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - enableSsl: { - serializedName: "typeProperties.enableSsl", - type: { - name: "Object" - } - }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Object" } }, - allowHostNameCNMismatch: { - serializedName: "typeProperties.allowHostNameCNMismatch", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { name: "Object" } }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { name: "Object" } @@ -6372,13 +6015,13 @@ export const HBaseLinkedService: msRest.CompositeMapper = { } }; -export const GreenplumLinkedService: msRest.CompositeMapper = { - serializedName: "Greenplum", +export const AzurePostgreSqlLinkedService: msRest.CompositeMapper = { + serializedName: "AzurePostgreSql", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "GreenplumLinkedService", + className: "AzurePostgreSqlLinkedService", modelProperties: { ...LinkedService.type.modelProperties, connectionString: { @@ -6387,8 +6030,8 @@ export const GreenplumLinkedService: msRest.CompositeMapper = { name: "Object" } }, - pwd: { - serializedName: "typeProperties.pwd", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "AzureKeyVaultSecretReference" @@ -6405,81 +6048,71 @@ export const GreenplumLinkedService: msRest.CompositeMapper = { } }; -export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { - serializedName: "GoogleBigQuery", +export const AmazonMWSLinkedService: msRest.CompositeMapper = { + serializedName: "AmazonMWS", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "GoogleBigQueryLinkedService", + className: "AmazonMWSLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - project: { + endpoint: { required: true, - serializedName: "typeProperties.project", - type: { - name: "Object" - } - }, - additionalProjects: { - serializedName: "typeProperties.additionalProjects", + serializedName: "typeProperties.endpoint", type: { name: "Object" } }, - requestGoogleDriveScope: { - serializedName: "typeProperties.requestGoogleDriveScope", + marketplaceID: { + required: true, + serializedName: "typeProperties.marketplaceID", type: { name: "Object" } }, - authenticationType: { + sellerID: { required: true, - serializedName: "typeProperties.authenticationType", + serializedName: "typeProperties.sellerID", type: { - name: "String" + name: "Object" } }, - refreshToken: { - serializedName: "typeProperties.refreshToken", + mwsAuthToken: { + serializedName: "typeProperties.mwsAuthToken", type: { name: "Composite", className: "SecretBase" } }, - clientId: { - serializedName: "typeProperties.clientId", + accessKeyId: { + required: true, + serializedName: "typeProperties.accessKeyId", type: { name: "Object" } }, - clientSecret: { - serializedName: "typeProperties.clientSecret", + secretKey: { + serializedName: "typeProperties.secretKey", type: { name: "Composite", className: "SecretBase" } }, - email: { - serializedName: "typeProperties.email", - type: { - name: "Object" - } - }, - keyFilePath: { - serializedName: "typeProperties.keyFilePath", + useEncryptedEndpoints: { + serializedName: "typeProperties.useEncryptedEndpoints", type: { name: "Object" } }, - trustedCertPath: { - serializedName: "typeProperties.trustedCertPath", + useHostVerification: { + serializedName: "typeProperties.useHostVerification", type: { name: "Object" } }, - useSystemTrustStore: { - serializedName: "typeProperties.useSystemTrustStore", + usePeerVerification: { + serializedName: "typeProperties.usePeerVerification", type: { name: "Object" } @@ -6495,52 +6128,45 @@ export const GoogleBigQueryLinkedService: msRest.CompositeMapper = { } }; -export const EloquaLinkedService: msRest.CompositeMapper = { - serializedName: "Eloqua", +export const SapHanaLinkedService: msRest.CompositeMapper = { + serializedName: "SapHana", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "EloquaLinkedService", + className: "SapHanaLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", + connectionString: { + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - username: { + server: { required: true, - serializedName: "typeProperties.username", + serializedName: "typeProperties.server", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, encryptedCredential: { @@ -6554,26 +6180,47 @@ export const EloquaLinkedService: msRest.CompositeMapper = { } }; -export const DrillLinkedService: msRest.CompositeMapper = { - serializedName: "Drill", +export const SapBWLinkedService: msRest.CompositeMapper = { + serializedName: "SapBW", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "DrillLinkedService", + className: "SapBWLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + server: { + required: true, + serializedName: "typeProperties.server", type: { name: "Object" } }, - pwd: { - serializedName: "typeProperties.pwd", + systemNumber: { + required: true, + serializedName: "typeProperties.systemNumber", + type: { + name: "Object" + } + }, + clientId: { + required: true, + serializedName: "typeProperties.clientId", + type: { + name: "Object" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecretBase" } }, encryptedCredential: { @@ -6587,58 +6234,36 @@ export const DrillLinkedService: msRest.CompositeMapper = { } }; -export const CouchbaseLinkedService: msRest.CompositeMapper = { - serializedName: "Couchbase", +export const SftpServerLinkedService: msRest.CompositeMapper = { + serializedName: "Sftp", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "CouchbaseLinkedService", + className: "SftpServerLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + host: { + required: true, + serializedName: "typeProperties.host", type: { name: "Object" } }, - credString: { - serializedName: "typeProperties.credString", - type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + port: { + serializedName: "typeProperties.port", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const ConcurLinkedService: msRest.CompositeMapper = { - serializedName: "Concur", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "ConcurLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - clientId: { - required: true, - serializedName: "typeProperties.clientId", + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } }, - username: { - required: true, - serializedName: "typeProperties.username", + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } @@ -6650,59 +6275,40 @@ export const ConcurLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + privateKeyPath: { + serializedName: "typeProperties.privateKeyPath", type: { name: "Object" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + privateKeyContent: { + serializedName: "typeProperties.privateKeyContent", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzurePostgreSqlLinkedService: msRest.CompositeMapper = { - serializedName: "AzurePostgreSql", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzurePostgreSqlLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", + passPhrase: { + serializedName: "typeProperties.passPhrase", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - password: { - serializedName: "typeProperties.password", + skipHostKeyValidation: { + serializedName: "typeProperties.skipHostKeyValidation", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + hostKeyFingerprint: { + serializedName: "typeProperties.hostKeyFingerprint", type: { name: "Object" } @@ -6712,77 +6318,61 @@ export const AzurePostgreSqlLinkedService: msRest.CompositeMapper = { } }; -export const AmazonMWSLinkedService: msRest.CompositeMapper = { - serializedName: "AmazonMWS", +export const FtpServerLinkedService: msRest.CompositeMapper = { + serializedName: "FtpServer", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AmazonMWSLinkedService", + className: "FtpServerLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - endpoint: { - required: true, - serializedName: "typeProperties.endpoint", - type: { - name: "Object" - } - }, - marketplaceID: { + host: { required: true, - serializedName: "typeProperties.marketplaceID", + serializedName: "typeProperties.host", type: { name: "Object" } }, - sellerID: { - required: true, - serializedName: "typeProperties.sellerID", + port: { + serializedName: "typeProperties.port", type: { name: "Object" } }, - mwsAuthToken: { - serializedName: "typeProperties.mwsAuthToken", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Composite", - className: "SecretBase" + name: "String" } }, - accessKeyId: { - required: true, - serializedName: "typeProperties.accessKeyId", + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } }, - secretKey: { - serializedName: "typeProperties.secretKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - useEncryptedEndpoints: { - serializedName: "typeProperties.useEncryptedEndpoints", - type: { - name: "Object" - } - }, - useHostVerification: { - serializedName: "typeProperties.useHostVerification", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } }, - usePeerVerification: { - serializedName: "typeProperties.usePeerVerification", + enableSsl: { + serializedName: "typeProperties.enableSsl", type: { name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", type: { name: "Object" } @@ -6792,24 +6382,18 @@ export const AmazonMWSLinkedService: msRest.CompositeMapper = { } }; -export const SapHanaLinkedService: msRest.CompositeMapper = { - serializedName: "SapHana", +export const HttpLinkedService: msRest.CompositeMapper = { + serializedName: "HttpServer", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SapHanaLinkedService", + className: "HttpLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - server: { + url: { required: true, - serializedName: "typeProperties.server", + serializedName: "typeProperties.url", type: { name: "Object" } @@ -6833,55 +6417,53 @@ export const SapHanaLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, + embeddedCertData: { + serializedName: "typeProperties.embeddedCertData", + type: { + name: "Object" + } + }, + certThumbprint: { + serializedName: "typeProperties.certThumbprint", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } + }, + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", + type: { + name: "Object" + } } }, additionalProperties: LinkedService.type.additionalProperties } }; -export const SapBWLinkedService: msRest.CompositeMapper = { - serializedName: "SapBW", +export const AzureSearchLinkedService: msRest.CompositeMapper = { + serializedName: "AzureSearch", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SapBWLinkedService", + className: "AzureSearchLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - server: { - required: true, - serializedName: "typeProperties.server", - type: { - name: "Object" - } - }, - systemNumber: { - required: true, - serializedName: "typeProperties.systemNumber", - type: { - name: "Object" - } - }, - clientId: { + url: { required: true, - serializedName: "typeProperties.clientId", - type: { - name: "Object" - } - }, - userName: { - serializedName: "typeProperties.userName", + serializedName: "typeProperties.url", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + key: { + serializedName: "typeProperties.key", type: { name: "Composite", className: "SecretBase" @@ -6898,36 +6480,45 @@ export const SapBWLinkedService: msRest.CompositeMapper = { } }; -export const SftpServerLinkedService: msRest.CompositeMapper = { - serializedName: "Sftp", +export const CustomDataSourceLinkedService: msRest.CompositeMapper = { + serializedName: "CustomDataSource", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SftpServerLinkedService", + className: "CustomDataSourceLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { + typeProperties: { required: true, - serializedName: "typeProperties.host", + serializedName: "typeProperties", type: { name: "Object" } - }, - port: { - serializedName: "typeProperties.port", + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AmazonRedshiftLinkedService: msRest.CompositeMapper = { + serializedName: "AmazonRedshift", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AmazonRedshiftLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + server: { + required: true, + serializedName: "typeProperties.server", type: { name: "Object" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", - type: { - name: "String" - } - }, - userName: { - serializedName: "typeProperties.userName", + username: { + serializedName: "typeProperties.username", type: { name: "Object" } @@ -6939,40 +6530,60 @@ export const SftpServerLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + database: { + required: true, + serializedName: "typeProperties.database", type: { name: "Object" } }, - privateKeyPath: { - serializedName: "typeProperties.privateKeyPath", + port: { + serializedName: "typeProperties.port", type: { name: "Object" } }, - privateKeyContent: { - serializedName: "typeProperties.privateKeyContent", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "Composite", - className: "SecretBase" + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AmazonS3LinkedService: msRest.CompositeMapper = { + serializedName: "AmazonS3", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AmazonS3LinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + accessKeyId: { + serializedName: "typeProperties.accessKeyId", + type: { + name: "Object" } }, - passPhrase: { - serializedName: "typeProperties.passPhrase", + secretAccessKey: { + serializedName: "typeProperties.secretAccessKey", type: { name: "Composite", className: "SecretBase" } }, - skipHostKeyValidation: { - serializedName: "typeProperties.skipHostKeyValidation", + serviceUrl: { + serializedName: "typeProperties.serviceUrl", type: { name: "Object" } }, - hostKeyFingerprint: { - serializedName: "typeProperties.hostKeyFingerprint", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } @@ -6982,29 +6593,30 @@ export const SftpServerLinkedService: msRest.CompositeMapper = { } }; -export const FtpServerLinkedService: msRest.CompositeMapper = { - serializedName: "FtpServer", +export const RestServiceLinkedService: msRest.CompositeMapper = { + serializedName: "RestService", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "FtpServerLinkedService", + className: "RestServiceLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { + url: { required: true, - serializedName: "typeProperties.host", + serializedName: "typeProperties.url", type: { name: "Object" } }, - port: { - serializedName: "typeProperties.port", + enableServerCertificateValidation: { + serializedName: "typeProperties.enableServerCertificateValidation", type: { name: "Object" } }, authenticationType: { + required: true, serializedName: "typeProperties.authenticationType", type: { name: "String" @@ -7023,20 +6635,33 @@ export const FtpServerLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } }, - enableSsl: { - serializedName: "typeProperties.enableSsl", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", type: { name: "Object" } }, - enableServerCertificateValidation: { - serializedName: "typeProperties.enableServerCertificateValidation", + aadResourceId: { + serializedName: "typeProperties.aadResourceId", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } @@ -7046,51 +6671,53 @@ export const FtpServerLinkedService: msRest.CompositeMapper = { } }; -export const HttpLinkedService: msRest.CompositeMapper = { - serializedName: "HttpServer", +export const SapOpenHubLinkedService: msRest.CompositeMapper = { + serializedName: "SapOpenHub", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "HttpLinkedService", + className: "SapOpenHubLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - url: { + server: { required: true, - serializedName: "typeProperties.url", + serializedName: "typeProperties.server", type: { name: "Object" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + systemNumber: { + required: true, + serializedName: "typeProperties.systemNumber", type: { - name: "String" + name: "Object" } }, - userName: { - serializedName: "typeProperties.userName", + clientId: { + required: true, + serializedName: "typeProperties.clientId", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + language: { + serializedName: "typeProperties.language", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - embeddedCertData: { - serializedName: "typeProperties.embeddedCertData", + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } }, - certThumbprint: { - serializedName: "typeProperties.certThumbprint", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, encryptedCredential: { @@ -7098,36 +6725,36 @@ export const HttpLinkedService: msRest.CompositeMapper = { type: { name: "Object" } - }, - enableServerCertificateValidation: { - serializedName: "typeProperties.enableServerCertificateValidation", - type: { - name: "Object" - } } }, additionalProperties: LinkedService.type.additionalProperties } }; -export const AzureSearchLinkedService: msRest.CompositeMapper = { - serializedName: "AzureSearch", +export const SapEccLinkedService: msRest.CompositeMapper = { + serializedName: "SapEcc", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureSearchLinkedService", + className: "SapEccLinkedService", modelProperties: { ...LinkedService.type.modelProperties, url: { required: true, serializedName: "typeProperties.url", type: { - name: "Object" + name: "String" } }, - key: { - serializedName: "typeProperties.key", + username: { + serializedName: "typeProperties.username", + type: { + name: "String" + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" @@ -7136,7 +6763,7 @@ export const AzureSearchLinkedService: msRest.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "String" } } }, @@ -7144,18 +6771,37 @@ export const AzureSearchLinkedService: msRest.CompositeMapper = { } }; -export const CustomDataSourceLinkedService: msRest.CompositeMapper = { - serializedName: "CustomDataSource", +export const SapCloudForCustomerLinkedService: msRest.CompositeMapper = { + serializedName: "SapCloudForCustomer", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "CustomDataSourceLinkedService", + className: "SapCloudForCustomerLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - typeProperties: { + url: { required: true, - serializedName: "typeProperties", + serializedName: "typeProperties.url", + type: { + name: "Object" + } + }, + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } @@ -7165,18 +6811,17 @@ export const CustomDataSourceLinkedService: msRest.CompositeMapper = { } }; -export const AmazonRedshiftLinkedService: msRest.CompositeMapper = { - serializedName: "AmazonRedshift", +export const SalesforceServiceCloudLinkedService: msRest.CompositeMapper = { + serializedName: "SalesforceServiceCloud", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AmazonRedshiftLinkedService", + className: "SalesforceServiceCloudLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - server: { - required: true, - serializedName: "typeProperties.server", + environmentUrl: { + serializedName: "typeProperties.environmentUrl", type: { name: "Object" } @@ -7194,15 +6839,15 @@ export const AmazonRedshiftLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - database: { - required: true, - serializedName: "typeProperties.database", + securityToken: { + serializedName: "typeProperties.securityToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - port: { - serializedName: "typeProperties.port", + extendedProperties: { + serializedName: "typeProperties.extendedProperties", type: { name: "Object" } @@ -7218,32 +6863,39 @@ export const AmazonRedshiftLinkedService: msRest.CompositeMapper = { } }; -export const AmazonS3LinkedService: msRest.CompositeMapper = { - serializedName: "AmazonS3", +export const SalesforceLinkedService: msRest.CompositeMapper = { + serializedName: "Salesforce", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AmazonS3LinkedService", + className: "SalesforceLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - accessKeyId: { - serializedName: "typeProperties.accessKeyId", + environmentUrl: { + serializedName: "typeProperties.environmentUrl", type: { name: "Object" } }, - secretAccessKey: { - serializedName: "typeProperties.secretAccessKey", + username: { + serializedName: "typeProperties.username", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" } }, - serviceUrl: { - serializedName: "typeProperties.serviceUrl", + securityToken: { + serializedName: "typeProperties.securityToken", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, encryptedCredential: { @@ -7257,46 +6909,75 @@ export const AmazonS3LinkedService: msRest.CompositeMapper = { } }; -export const RestServiceLinkedService: msRest.CompositeMapper = { - serializedName: "RestService", +export const Office365LinkedService: msRest.CompositeMapper = { + serializedName: "Office365", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "RestServiceLinkedService", + className: "Office365LinkedService", modelProperties: { ...LinkedService.type.modelProperties, - url: { + office365TenantId: { required: true, - serializedName: "typeProperties.url", + serializedName: "typeProperties.office365TenantId", type: { name: "Object" } }, - enableServerCertificateValidation: { - serializedName: "typeProperties.enableServerCertificateValidation", + servicePrincipalTenantId: { + required: true, + serializedName: "typeProperties.servicePrincipalTenantId", type: { name: "Object" } }, - authenticationType: { + servicePrincipalId: { required: true, - serializedName: "typeProperties.authenticationType", + serializedName: "typeProperties.servicePrincipalId", type: { - name: "String" + name: "Object" } }, - userName: { - serializedName: "typeProperties.userName", + servicePrincipalKey: { + required: true, + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureBlobFSLinkedService: msRest.CompositeMapper = { + serializedName: "AzureBlobFS", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureBlobFSLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + url: { + required: true, + serializedName: "typeProperties.url", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + accountKey: { + serializedName: "typeProperties.accountKey", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, servicePrincipalId: { @@ -7318,12 +6999,6 @@ export const RestServiceLinkedService: msRest.CompositeMapper = { name: "Object" } }, - aadResourceId: { - serializedName: "typeProperties.aadResourceId", - type: { - name: "Object" - } - }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -7335,53 +7010,57 @@ export const RestServiceLinkedService: msRest.CompositeMapper = { } }; -export const SapOpenHubLinkedService: msRest.CompositeMapper = { - serializedName: "SapOpenHub", +export const AzureDataLakeStoreLinkedService: msRest.CompositeMapper = { + serializedName: "AzureDataLakeStore", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SapOpenHubLinkedService", + className: "AzureDataLakeStoreLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - server: { + dataLakeStoreUri: { required: true, - serializedName: "typeProperties.server", + serializedName: "typeProperties.dataLakeStoreUri", type: { name: "Object" } }, - systemNumber: { - required: true, - serializedName: "typeProperties.systemNumber", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } }, - clientId: { - required: true, - serializedName: "typeProperties.clientId", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", + type: { + name: "Composite", + className: "SecretBase" + } + }, + tenant: { + serializedName: "typeProperties.tenant", type: { name: "Object" } }, - language: { - serializedName: "typeProperties.language", + accountName: { + serializedName: "typeProperties.accountName", type: { name: "Object" } }, - userName: { - serializedName: "typeProperties.userName", + subscriptionId: { + serializedName: "typeProperties.subscriptionId", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + resourceGroupName: { + serializedName: "typeProperties.resourceGroupName", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, encryptedCredential: { @@ -7395,39 +7074,27 @@ export const SapOpenHubLinkedService: msRest.CompositeMapper = { } }; -export const SapEccLinkedService: msRest.CompositeMapper = { - serializedName: "SapEcc", +export const CosmosDbMongoDbApiLinkedService: msRest.CompositeMapper = { + serializedName: "CosmosDbMongoDbApi", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SapEccLinkedService", + className: "CosmosDbMongoDbApiLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - url: { + connectionString: { required: true, - serializedName: "typeProperties.url", - type: { - name: "String" - } - }, - username: { - serializedName: "typeProperties.username", - type: { - name: "String" - } - }, - password: { - serializedName: "typeProperties.password", + serializedName: "typeProperties.connectionString", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + database: { + required: true, + serializedName: "typeProperties.database", type: { - name: "String" + name: "Object" } } }, @@ -7435,37 +7102,25 @@ export const SapEccLinkedService: msRest.CompositeMapper = { } }; -export const SapCloudForCustomerLinkedService: msRest.CompositeMapper = { - serializedName: "SapCloudForCustomer", +export const MongoDbV2LinkedService: msRest.CompositeMapper = { + serializedName: "MongoDbV2", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SapCloudForCustomerLinkedService", + className: "MongoDbV2LinkedService", modelProperties: { ...LinkedService.type.modelProperties, - url: { + connectionString: { required: true, - serializedName: "typeProperties.url", - type: { - name: "Object" - } - }, - username: { - serializedName: "typeProperties.username", + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + database: { + required: true, + serializedName: "typeProperties.database", type: { name: "Object" } @@ -7475,17 +7130,31 @@ export const SapCloudForCustomerLinkedService: msRest.CompositeMapper = { } }; -export const SalesforceServiceCloudLinkedService: msRest.CompositeMapper = { - serializedName: "SalesforceServiceCloud", +export const MongoDbLinkedService: msRest.CompositeMapper = { + serializedName: "MongoDb", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SalesforceServiceCloudLinkedService", + className: "MongoDbLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - environmentUrl: { - serializedName: "typeProperties.environmentUrl", + server: { + required: true, + serializedName: "typeProperties.server", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + databaseName: { + required: true, + serializedName: "typeProperties.databaseName", type: { name: "Object" } @@ -7503,15 +7172,26 @@ export const SalesforceServiceCloudLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - securityToken: { - serializedName: "typeProperties.securityToken", + authSource: { + serializedName: "typeProperties.authSource", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - extendedProperties: { - serializedName: "typeProperties.extendedProperties", + port: { + serializedName: "typeProperties.port", + type: { + name: "Object" + } + }, + enableSsl: { + serializedName: "typeProperties.enableSsl", + type: { + name: "Object" + } + }, + allowSelfSignedServerCert: { + serializedName: "typeProperties.allowSelfSignedServerCert", type: { name: "Object" } @@ -7527,17 +7207,30 @@ export const SalesforceServiceCloudLinkedService: msRest.CompositeMapper = { } }; -export const SalesforceLinkedService: msRest.CompositeMapper = { - serializedName: "Salesforce", +export const CassandraLinkedService: msRest.CompositeMapper = { + serializedName: "Cassandra", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SalesforceLinkedService", + className: "CassandraLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - environmentUrl: { - serializedName: "typeProperties.environmentUrl", + host: { + required: true, + serializedName: "typeProperties.host", + type: { + name: "Object" + } + }, + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "Object" + } + }, + port: { + serializedName: "typeProperties.port", type: { name: "Object" } @@ -7555,13 +7248,6 @@ export const SalesforceLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - securityToken: { - serializedName: "typeProperties.securityToken", - type: { - name: "Composite", - className: "SecretBase" - } - }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -7573,62 +7259,134 @@ export const SalesforceLinkedService: msRest.CompositeMapper = { } }; -export const Office365LinkedService: msRest.CompositeMapper = { - serializedName: "Office365", +export const WebLinkedServiceTypeProperties: msRest.CompositeMapper = { + serializedName: "WebLinkedServiceTypeProperties", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "Office365LinkedService", + polymorphicDiscriminator: { + serializedName: "authenticationType", + clientName: "authenticationType" + }, + uberParent: "WebLinkedServiceTypeProperties", + className: "WebLinkedServiceTypeProperties", modelProperties: { - ...LinkedService.type.modelProperties, - office365TenantId: { + url: { required: true, - serializedName: "typeProperties.office365TenantId", + serializedName: "url", type: { name: "Object" } }, - servicePrincipalTenantId: { + authenticationType: { required: true, - serializedName: "typeProperties.servicePrincipalTenantId", + serializedName: "authenticationType", type: { - name: "Object" + name: "String" } - }, - servicePrincipalId: { - required: true, - serializedName: "typeProperties.servicePrincipalId", + } + } + } +}; + +export const WebClientCertificateAuthentication: msRest.CompositeMapper = { + serializedName: "ClientCertificate", + type: { + name: "Composite", + polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, + uberParent: "WebLinkedServiceTypeProperties", + className: "WebClientCertificateAuthentication", + modelProperties: { + ...WebLinkedServiceTypeProperties.type.modelProperties, + pfx: { + required: true, + serializedName: "pfx", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - servicePrincipalKey: { + password: { required: true, - serializedName: "typeProperties.servicePrincipalKey", + serializedName: "password", type: { name: "Composite", className: "SecretBase" } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + } + } + } +}; + +export const WebBasicAuthentication: msRest.CompositeMapper = { + serializedName: "Basic", + type: { + name: "Composite", + polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, + uberParent: "WebLinkedServiceTypeProperties", + className: "WebBasicAuthentication", + modelProperties: { + ...WebLinkedServiceTypeProperties.type.modelProperties, + username: { + required: true, + serializedName: "username", type: { name: "Object" } + }, + password: { + required: true, + serializedName: "password", + type: { + name: "Composite", + className: "SecretBase" + } + } + } + } +}; + +export const WebAnonymousAuthentication: msRest.CompositeMapper = { + serializedName: "Anonymous", + type: { + name: "Composite", + polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, + uberParent: "WebLinkedServiceTypeProperties", + className: "WebAnonymousAuthentication", + modelProperties: { + ...WebLinkedServiceTypeProperties.type.modelProperties + } + } +}; + +export const WebLinkedService: msRest.CompositeMapper = { + serializedName: "Web", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "WebLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + typeProperties: { + required: true, + serializedName: "typeProperties", + type: { + name: "Composite", + className: "WebLinkedServiceTypeProperties" + } } }, additionalProperties: LinkedService.type.additionalProperties } }; -export const AzureBlobFSLinkedService: msRest.CompositeMapper = { - serializedName: "AzureBlobFS", +export const ODataLinkedService: msRest.CompositeMapper = { + serializedName: "OData", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureBlobFSLinkedService", + className: "ODataLinkedService", modelProperties: { ...LinkedService.type.modelProperties, url: { @@ -7638,20 +7396,20 @@ export const AzureBlobFSLinkedService: msRest.CompositeMapper = { name: "Object" } }, - accountKey: { - serializedName: "typeProperties.accountKey", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", className: "SecretBase" @@ -7663,37 +7421,22 @@ export const AzureBlobFSLinkedService: msRest.CompositeMapper = { name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureDataLakeStoreLinkedService: msRest.CompositeMapper = { - serializedName: "AzureDataLakeStore", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureDataLakeStoreLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - dataLakeStoreUri: { - required: true, - serializedName: "typeProperties.dataLakeStoreUri", + }, + aadResourceId: { + serializedName: "typeProperties.aadResourceId", type: { name: "Object" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + aadServicePrincipalCredentialType: { + serializedName: "typeProperties.aadServicePrincipalCredentialType", type: { - name: "Object" + name: "String" } }, servicePrincipalKey: { @@ -7703,28 +7446,18 @@ export const AzureDataLakeStoreLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" - } - }, - accountName: { - serializedName: "typeProperties.accountName", - type: { - name: "Object" - } - }, - subscriptionId: { - serializedName: "typeProperties.subscriptionId", + servicePrincipalEmbeddedCert: { + serializedName: "typeProperties.servicePrincipalEmbeddedCert", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - resourceGroupName: { - serializedName: "typeProperties.resourceGroupName", + servicePrincipalEmbeddedCertPassword: { + serializedName: "typeProperties.servicePrincipalEmbeddedCertPassword", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, encryptedCredential: { @@ -7738,41 +7471,59 @@ export const AzureDataLakeStoreLinkedService: msRest.CompositeMapper = { } }; -export const CosmosDbMongoDbApiLinkedService: msRest.CompositeMapper = { - serializedName: "CosmosDbMongoDbApi", +export const HdfsLinkedService: msRest.CompositeMapper = { + serializedName: "Hdfs", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "CosmosDbMongoDbApiLinkedService", + className: "HdfsLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { + url: { required: true, - serializedName: "typeProperties.connectionString", + serializedName: "typeProperties.url", type: { name: "Object" } }, - database: { - required: true, - serializedName: "typeProperties.database", + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + }, + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } } }, additionalProperties: LinkedService.type.additionalProperties } }; -export const MongoDbV2LinkedService: msRest.CompositeMapper = { - serializedName: "MongoDbV2", +export const MicrosoftAccessLinkedService: msRest.CompositeMapper = { + serializedName: "MicrosoftAccess", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "MongoDbV2LinkedService", + className: "MicrosoftAccessLinkedService", modelProperties: { ...LinkedService.type.modelProperties, connectionString: { @@ -7782,9 +7533,34 @@ export const MongoDbV2LinkedService: msRest.CompositeMapper = { name: "Object" } }, - database: { - required: true, - serializedName: "typeProperties.database", + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "Object" + } + }, + credential: { + serializedName: "typeProperties.credential", + type: { + name: "Composite", + className: "SecretBase" + } + }, + userName: { + serializedName: "typeProperties.userName", + type: { + name: "Object" + } + }, + password: { + serializedName: "typeProperties.password", + type: { + name: "Composite", + className: "SecretBase" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } @@ -7794,18 +7570,18 @@ export const MongoDbV2LinkedService: msRest.CompositeMapper = { } }; -export const MongoDbLinkedService: msRest.CompositeMapper = { - serializedName: "MongoDb", +export const InformixLinkedService: msRest.CompositeMapper = { + serializedName: "Informix", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "MongoDbLinkedService", + className: "InformixLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - server: { + connectionString: { required: true, - serializedName: "typeProperties.server", + serializedName: "typeProperties.connectionString", type: { name: "Object" } @@ -7813,18 +7589,18 @@ export const MongoDbLinkedService: msRest.CompositeMapper = { authenticationType: { serializedName: "typeProperties.authenticationType", type: { - name: "String" + name: "Object" } }, - databaseName: { - required: true, - serializedName: "typeProperties.databaseName", + credential: { + serializedName: "typeProperties.credential", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - username: { - serializedName: "typeProperties.username", + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } @@ -7836,30 +7612,6 @@ export const MongoDbLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - authSource: { - serializedName: "typeProperties.authSource", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", - type: { - name: "Object" - } - }, - enableSsl: { - serializedName: "typeProperties.enableSsl", - type: { - name: "Object" - } - }, - allowSelfSignedServerCert: { - serializedName: "typeProperties.allowSelfSignedServerCert", - type: { - name: "Object" - } - }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -7871,18 +7623,18 @@ export const MongoDbLinkedService: msRest.CompositeMapper = { } }; -export const CassandraLinkedService: msRest.CompositeMapper = { - serializedName: "Cassandra", +export const OdbcLinkedService: msRest.CompositeMapper = { + serializedName: "Odbc", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "CassandraLinkedService", + className: "OdbcLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { + connectionString: { required: true, - serializedName: "typeProperties.host", + serializedName: "typeProperties.connectionString", type: { name: "Object" } @@ -7893,14 +7645,15 @@ export const CassandraLinkedService: msRest.CompositeMapper = { name: "Object" } }, - port: { - serializedName: "typeProperties.port", + credential: { + serializedName: "typeProperties.credential", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - username: { - serializedName: "typeProperties.username", + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } @@ -7923,120 +7676,59 @@ export const CassandraLinkedService: msRest.CompositeMapper = { } }; -export const WebLinkedServiceTypeProperties: msRest.CompositeMapper = { - serializedName: "WebLinkedServiceTypeProperties", +export const AzureMLServiceLinkedService: msRest.CompositeMapper = { + serializedName: "AzureMLService", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "authenticationType", - clientName: "authenticationType" - }, - uberParent: "WebLinkedServiceTypeProperties", - className: "WebLinkedServiceTypeProperties", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureMLServiceLinkedService", modelProperties: { - url: { + ...LinkedService.type.modelProperties, + subscriptionId: { required: true, - serializedName: "url", + serializedName: "typeProperties.subscriptionId", type: { name: "Object" } }, - authenticationType: { - required: true, - serializedName: "authenticationType", - type: { - name: "String" - } - } - } - } -}; - -export const WebClientCertificateAuthentication: msRest.CompositeMapper = { - serializedName: "ClientCertificate", - type: { - name: "Composite", - polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, - uberParent: "WebLinkedServiceTypeProperties", - className: "WebClientCertificateAuthentication", - modelProperties: { - ...WebLinkedServiceTypeProperties.type.modelProperties, - pfx: { + resourceGroupName: { required: true, - serializedName: "pfx", + serializedName: "typeProperties.resourceGroupName", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - password: { + mlWorkspaceName: { required: true, - serializedName: "password", + serializedName: "typeProperties.mlWorkspaceName", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } - } - } - } -}; - -export const WebBasicAuthentication: msRest.CompositeMapper = { - serializedName: "Basic", - type: { - name: "Composite", - polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, - uberParent: "WebLinkedServiceTypeProperties", - className: "WebBasicAuthentication", - modelProperties: { - ...WebLinkedServiceTypeProperties.type.modelProperties, - username: { - required: true, - serializedName: "username", + }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } }, - password: { - required: true, - serializedName: "password", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", className: "SecretBase" } - } - } - } -}; - -export const WebAnonymousAuthentication: msRest.CompositeMapper = { - serializedName: "Anonymous", - type: { - name: "Composite", - polymorphicDiscriminator: WebLinkedServiceTypeProperties.type.polymorphicDiscriminator, - uberParent: "WebLinkedServiceTypeProperties", - className: "WebAnonymousAuthentication", - modelProperties: { - ...WebLinkedServiceTypeProperties.type.modelProperties - } - } -}; - -export const WebLinkedService: msRest.CompositeMapper = { - serializedName: "Web", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "WebLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - typeProperties: { - required: true, - serializedName: "typeProperties", + }, + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Composite", - className: "WebLinkedServiceTypeProperties" + name: "Object" + } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" } } }, @@ -8044,43 +7736,32 @@ export const WebLinkedService: msRest.CompositeMapper = { } }; -export const ODataLinkedService: msRest.CompositeMapper = { - serializedName: "OData", +export const AzureMLLinkedService: msRest.CompositeMapper = { + serializedName: "AzureML", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "ODataLinkedService", + className: "AzureMLLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - url: { + mlEndpoint: { required: true, - serializedName: "typeProperties.url", - type: { - name: "Object" - } - }, - authenticationType: { - serializedName: "typeProperties.authenticationType", - type: { - name: "String" - } - }, - userName: { - serializedName: "typeProperties.userName", + serializedName: "typeProperties.mlEndpoint", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + apiKey: { + required: true, + serializedName: "typeProperties.apiKey", type: { name: "Composite", className: "SecretBase" } }, - tenant: { - serializedName: "typeProperties.tenant", + updateResourceEndpoint: { + serializedName: "typeProperties.updateResourceEndpoint", type: { name: "Object" } @@ -8091,18 +7772,6 @@ export const ODataLinkedService: msRest.CompositeMapper = { name: "Object" } }, - aadResourceId: { - serializedName: "typeProperties.aadResourceId", - type: { - name: "Object" - } - }, - aadServicePrincipalCredentialType: { - serializedName: "typeProperties.aadServicePrincipalCredentialType", - type: { - name: "String" - } - }, servicePrincipalKey: { serializedName: "typeProperties.servicePrincipalKey", type: { @@ -8110,18 +7779,10 @@ export const ODataLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - servicePrincipalEmbeddedCert: { - serializedName: "typeProperties.servicePrincipalEmbeddedCert", - type: { - name: "Composite", - className: "SecretBase" - } - }, - servicePrincipalEmbeddedCertPassword: { - serializedName: "typeProperties.servicePrincipalEmbeddedCertPassword", + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, encryptedCredential: { @@ -8135,36 +7796,35 @@ export const ODataLinkedService: msRest.CompositeMapper = { } }; -export const HdfsLinkedService: msRest.CompositeMapper = { - serializedName: "Hdfs", +export const TeradataLinkedService: msRest.CompositeMapper = { + serializedName: "Teradata", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "HdfsLinkedService", + className: "TeradataLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - url: { - required: true, - serializedName: "typeProperties.url", + connectionString: { + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + server: { + serializedName: "typeProperties.server", type: { name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + authenticationType: { + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } }, - userName: { - serializedName: "typeProperties.userName", + username: { + serializedName: "typeProperties.username", type: { name: "Object" } @@ -8175,43 +7835,53 @@ export const HdfsLinkedService: msRest.CompositeMapper = { name: "Composite", className: "SecretBase" } + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } } }, additionalProperties: LinkedService.type.additionalProperties } }; -export const MicrosoftAccessLinkedService: msRest.CompositeMapper = { - serializedName: "MicrosoftAccess", +export const Db2LinkedService: msRest.CompositeMapper = { + serializedName: "Db2", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "MicrosoftAccessLinkedService", + className: "Db2LinkedService", modelProperties: { ...LinkedService.type.modelProperties, connectionString: { - required: true, serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + server: { + serializedName: "typeProperties.server", type: { name: "Object" } }, - credential: { - serializedName: "typeProperties.credential", + database: { + serializedName: "typeProperties.database", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - userName: { - serializedName: "typeProperties.userName", + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", type: { name: "Object" } @@ -8223,6 +7893,18 @@ export const MicrosoftAccessLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, + packageCollection: { + serializedName: "typeProperties.packageCollection", + type: { + name: "Object" + } + }, + certificateCommonName: { + serializedName: "typeProperties.certificateCommonName", + type: { + name: "Object" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -8234,37 +7916,43 @@ export const MicrosoftAccessLinkedService: msRest.CompositeMapper = { } }; -export const InformixLinkedService: msRest.CompositeMapper = { - serializedName: "Informix", +export const SybaseLinkedService: msRest.CompositeMapper = { + serializedName: "Sybase", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "InformixLinkedService", + className: "SybaseLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { + server: { required: true, - serializedName: "typeProperties.connectionString", + serializedName: "typeProperties.server", type: { name: "Object" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + database: { + required: true, + serializedName: "typeProperties.database", type: { name: "Object" } }, - credential: { - serializedName: "typeProperties.credential", + schema: { + serializedName: "typeProperties.schema", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - userName: { - serializedName: "typeProperties.userName", + authenticationType: { + serializedName: "typeProperties.authenticationType", + type: { + name: "String" + } + }, + username: { + serializedName: "typeProperties.username", type: { name: "Object" } @@ -8287,13 +7975,13 @@ export const InformixLinkedService: msRest.CompositeMapper = { } }; -export const OdbcLinkedService: msRest.CompositeMapper = { - serializedName: "Odbc", +export const PostgreSqlLinkedService: msRest.CompositeMapper = { + serializedName: "PostgreSql", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "OdbcLinkedService", + className: "PostgreSqlLinkedService", modelProperties: { ...LinkedService.type.modelProperties, connectionString: { @@ -8303,30 +7991,11 @@ export const OdbcLinkedService: msRest.CompositeMapper = { name: "Object" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", - type: { - name: "Object" - } - }, - credential: { - serializedName: "typeProperties.credential", - type: { - name: "Composite", - className: "SecretBase" - } - }, - userName: { - serializedName: "typeProperties.userName", - type: { - name: "Object" - } - }, password: { serializedName: "typeProperties.password", type: { name: "Composite", - className: "SecretBase" + className: "AzureKeyVaultSecretReference" } }, encryptedCredential: { @@ -8340,53 +8009,61 @@ export const OdbcLinkedService: msRest.CompositeMapper = { } }; -export const AzureMLServiceLinkedService: msRest.CompositeMapper = { - serializedName: "AzureMLService", +export const MySqlLinkedService: msRest.CompositeMapper = { + serializedName: "MySql", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureMLServiceLinkedService", + className: "MySqlLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - subscriptionId: { + connectionString: { required: true, - serializedName: "typeProperties.subscriptionId", + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - resourceGroupName: { - required: true, - serializedName: "typeProperties.resourceGroupName", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - mlWorkspaceName: { - required: true, - serializedName: "typeProperties.mlWorkspaceName", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureMySqlLinkedService: msRest.CompositeMapper = { + serializedName: "AzureMySql", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureMySqlLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "SecretBase" - } - }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" + className: "AzureKeyVaultSecretReference" } }, encryptedCredential: { @@ -8400,51 +8077,64 @@ export const AzureMLServiceLinkedService: msRest.CompositeMapper = { } }; -export const AzureMLLinkedService: msRest.CompositeMapper = { - serializedName: "AzureML", +export const OracleLinkedService: msRest.CompositeMapper = { + serializedName: "Oracle", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureMLLinkedService", + className: "OracleLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - mlEndpoint: { + connectionString: { required: true, - serializedName: "typeProperties.mlEndpoint", + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - apiKey: { - required: true, - serializedName: "typeProperties.apiKey", + password: { + serializedName: "typeProperties.password", type: { name: "Composite", - className: "SecretBase" + className: "AzureKeyVaultSecretReference" } }, - updateResourceEndpoint: { - serializedName: "typeProperties.updateResourceEndpoint", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const GoogleCloudStorageLinkedService: msRest.CompositeMapper = { + serializedName: "GoogleCloudStorage", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "GoogleCloudStorageLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + accessKeyId: { + serializedName: "typeProperties.accessKeyId", type: { name: "Object" } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + secretAccessKey: { + serializedName: "typeProperties.secretAccessKey", type: { name: "Composite", className: "SecretBase" } }, - tenant: { - serializedName: "typeProperties.tenant", + serviceUrl: { + serializedName: "typeProperties.serviceUrl", type: { name: "Object" } @@ -8460,35 +8150,24 @@ export const AzureMLLinkedService: msRest.CompositeMapper = { } }; -export const TeradataLinkedService: msRest.CompositeMapper = { - serializedName: "Teradata", +export const AzureFileStorageLinkedService: msRest.CompositeMapper = { + serializedName: "AzureFileStorage", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "TeradataLinkedService", + className: "AzureFileStorageLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - server: { - serializedName: "typeProperties.server", + host: { + required: true, + serializedName: "typeProperties.host", type: { name: "Object" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", - type: { - name: "String" - } - }, - username: { - serializedName: "typeProperties.username", + userId: { + serializedName: "typeProperties.userId", type: { name: "Object" } @@ -8511,37 +8190,64 @@ export const TeradataLinkedService: msRest.CompositeMapper = { } }; -export const Db2LinkedService: msRest.CompositeMapper = { - serializedName: "Db2", +export const FileServerLinkedService: msRest.CompositeMapper = { + serializedName: "FileServer", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "Db2LinkedService", + className: "FileServerLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - server: { + host: { required: true, - serializedName: "typeProperties.server", + serializedName: "typeProperties.host", type: { name: "Object" } }, - database: { - required: true, - serializedName: "typeProperties.database", + userId: { + serializedName: "typeProperties.userId", type: { name: "Object" } }, - authenticationType: { - serializedName: "typeProperties.authenticationType", + password: { + serializedName: "typeProperties.password", type: { - name: "String" + name: "Composite", + className: "SecretBase" } }, - username: { - serializedName: "typeProperties.username", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", + type: { + name: "Object" + } + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const HDInsightLinkedService: msRest.CompositeMapper = { + serializedName: "HDInsight", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "HDInsightLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + clusterUri: { + required: true, + serializedName: "typeProperties.clusterUri", + type: { + name: "Object" + } + }, + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } @@ -8553,16 +8259,18 @@ export const Db2LinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - packageCollection: { - serializedName: "typeProperties.packageCollection", + linkedServiceName: { + serializedName: "typeProperties.linkedServiceName", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } }, - certificateCommonName: { - serializedName: "typeProperties.certificateCommonName", + hcatalogLinkedServiceName: { + serializedName: "typeProperties.hcatalogLinkedServiceName", type: { - name: "Object" + name: "Composite", + className: "LinkedServiceReference" } }, encryptedCredential: { @@ -8570,42 +8278,66 @@ export const Db2LinkedService: msRest.CompositeMapper = { type: { name: "Object" } + }, + isEspEnabled: { + serializedName: "typeProperties.isEspEnabled", + type: { + name: "Object" + } + }, + fileSystem: { + serializedName: "typeProperties.fileSystem", + type: { + name: "Object" + } } }, additionalProperties: LinkedService.type.additionalProperties } }; -export const SybaseLinkedService: msRest.CompositeMapper = { - serializedName: "Sybase", +export const CommonDataServiceForAppsLinkedService: msRest.CompositeMapper = { + serializedName: "CommonDataServiceForApps", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "SybaseLinkedService", + className: "CommonDataServiceForAppsLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - server: { + deploymentType: { required: true, - serializedName: "typeProperties.server", + serializedName: "typeProperties.deploymentType", + type: { + name: "String" + } + }, + hostName: { + serializedName: "typeProperties.hostName", type: { name: "Object" } }, - database: { - required: true, - serializedName: "typeProperties.database", + port: { + serializedName: "typeProperties.port", type: { name: "Object" } }, - schema: { - serializedName: "typeProperties.schema", + serviceUri: { + serializedName: "typeProperties.serviceUri", + type: { + name: "Object" + } + }, + organizationName: { + serializedName: "typeProperties.organizationName", type: { name: "Object" } }, authenticationType: { + required: true, serializedName: "typeProperties.authenticationType", type: { name: "String" @@ -8624,38 +8356,23 @@ export const SybaseLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const PostgreSqlLinkedService: msRest.CompositeMapper = { - serializedName: "PostgreSql", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "PostgreSqlLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", + }, + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + servicePrincipalCredential: { + serializedName: "typeProperties.servicePrincipalCredential", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecretBase" } }, encryptedCredential: { @@ -8669,86 +8386,55 @@ export const PostgreSqlLinkedService: msRest.CompositeMapper = { } }; -export const MySqlLinkedService: msRest.CompositeMapper = { - serializedName: "MySql", +export const DynamicsCrmLinkedService: msRest.CompositeMapper = { + serializedName: "DynamicsCrm", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "MySqlLinkedService", + className: "DynamicsCrmLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - connectionString: { + deploymentType: { required: true, - serializedName: "typeProperties.connectionString", + serializedName: "typeProperties.deploymentType", type: { - name: "Object" + name: "String" } }, - password: { - serializedName: "typeProperties.password", + hostName: { + serializedName: "typeProperties.hostName", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + port: { + serializedName: "typeProperties.port", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureMySqlLinkedService: msRest.CompositeMapper = { - serializedName: "AzureMySql", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureMySqlLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", + }, + serviceUri: { + serializedName: "typeProperties.serviceUri", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + organizationName: { + serializedName: "typeProperties.organizationName", type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" + name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + authenticationType: { + required: true, + serializedName: "typeProperties.authenticationType", type: { - name: "Object" + name: "String" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const OracleLinkedService: msRest.CompositeMapper = { - serializedName: "Oracle", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "OracleLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", + }, + username: { + serializedName: "typeProperties.username", type: { name: "Object" } @@ -8757,48 +8443,28 @@ export const OracleLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - className: "AzureKeyVaultSecretReference" + className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const GoogleCloudStorageLinkedService: msRest.CompositeMapper = { - serializedName: "GoogleCloudStorage", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "GoogleCloudStorageLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - accessKeyId: { - serializedName: "typeProperties.accessKeyId", + }, + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", type: { name: "Object" } }, - secretAccessKey: { - serializedName: "typeProperties.secretAccessKey", + servicePrincipalCredential: { + serializedName: "typeProperties.servicePrincipalCredential", type: { name: "Composite", className: "SecretBase" } }, - serviceUrl: { - serializedName: "typeProperties.serviceUrl", - type: { - name: "Object" - } - }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -8810,64 +8476,55 @@ export const GoogleCloudStorageLinkedService: msRest.CompositeMapper = { } }; -export const AzureFileStorageLinkedService: msRest.CompositeMapper = { - serializedName: "AzureFileStorage", +export const DynamicsLinkedService: msRest.CompositeMapper = { + serializedName: "Dynamics", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureFileStorageLinkedService", + className: "DynamicsLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - host: { + deploymentType: { required: true, - serializedName: "typeProperties.host", + serializedName: "typeProperties.deploymentType", type: { name: "Object" } }, - userId: { - serializedName: "typeProperties.userId", + hostName: { + serializedName: "typeProperties.hostName", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + port: { + serializedName: "typeProperties.port", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + serviceUri: { + serializedName: "typeProperties.serviceUri", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const FileServerLinkedService: msRest.CompositeMapper = { - serializedName: "FileServer", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "FileServerLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - host: { + }, + organizationName: { + serializedName: "typeProperties.organizationName", + type: { + name: "Object" + } + }, + authenticationType: { required: true, - serializedName: "typeProperties.host", + serializedName: "typeProperties.authenticationType", type: { name: "Object" } }, - userId: { - serializedName: "typeProperties.userId", + username: { + serializedName: "typeProperties.username", type: { name: "Object" } @@ -8879,6 +8536,25 @@ export const FileServerLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", + type: { + name: "Object" + } + }, + servicePrincipalCredentialType: { + serializedName: "typeProperties.servicePrincipalCredentialType", + type: { + name: "Object" + } + }, + servicePrincipalCredential: { + serializedName: "typeProperties.servicePrincipalCredential", + type: { + name: "Composite", + className: "SecretBase" + } + }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -8890,47 +8566,38 @@ export const FileServerLinkedService: msRest.CompositeMapper = { } }; -export const HDInsightLinkedService: msRest.CompositeMapper = { - serializedName: "HDInsight", +export const CosmosDbLinkedService: msRest.CompositeMapper = { + serializedName: "CosmosDb", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "HDInsightLinkedService", + className: "CosmosDbLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - clusterUri: { - required: true, - serializedName: "typeProperties.clusterUri", + connectionString: { + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - userName: { - serializedName: "typeProperties.userName", + accountEndpoint: { + serializedName: "typeProperties.accountEndpoint", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - linkedServiceName: { - serializedName: "typeProperties.linkedServiceName", + database: { + serializedName: "typeProperties.database", type: { - name: "Composite", - className: "LinkedServiceReference" + name: "Object" } }, - hcatalogLinkedServiceName: { - serializedName: "typeProperties.hcatalogLinkedServiceName", + accountKey: { + serializedName: "typeProperties.accountKey", type: { name: "Composite", - className: "LinkedServiceReference" + className: "SecretBase" } }, encryptedCredential: { @@ -8938,101 +8605,77 @@ export const HDInsightLinkedService: msRest.CompositeMapper = { type: { name: "Object" } - }, - isEspEnabled: { - serializedName: "typeProperties.isEspEnabled", - type: { - name: "Object" - } - }, - fileSystem: { - serializedName: "typeProperties.fileSystem", - type: { - name: "Object" - } } }, additionalProperties: LinkedService.type.additionalProperties } }; -export const CommonDataServiceForAppsLinkedService: msRest.CompositeMapper = { - serializedName: "CommonDataServiceForApps", +export const AzureKeyVaultLinkedService: msRest.CompositeMapper = { + serializedName: "AzureKeyVault", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "CommonDataServiceForAppsLinkedService", + className: "AzureKeyVaultLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - deploymentType: { + baseUrl: { required: true, - serializedName: "typeProperties.deploymentType", - type: { - name: "String" - } - }, - hostName: { - serializedName: "typeProperties.hostName", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", - type: { - name: "Object" - } - }, - serviceUri: { - serializedName: "typeProperties.serviceUri", - type: { - name: "Object" - } - }, - organizationName: { - serializedName: "typeProperties.organizationName", + serializedName: "typeProperties.baseUrl", type: { name: "Object" } - }, - authenticationType: { + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureBatchLinkedService: msRest.CompositeMapper = { + serializedName: "AzureBatch", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureBatchLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + accountName: { required: true, - serializedName: "typeProperties.authenticationType", - type: { - name: "String" - } - }, - username: { - serializedName: "typeProperties.username", + serializedName: "typeProperties.accountName", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + accessKey: { + serializedName: "typeProperties.accessKey", type: { name: "Composite", className: "SecretBase" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + batchUri: { + required: true, + serializedName: "typeProperties.batchUri", type: { name: "Object" } }, - servicePrincipalCredentialType: { - serializedName: "typeProperties.servicePrincipalCredentialType", + poolName: { + required: true, + serializedName: "typeProperties.poolName", type: { name: "Object" } }, - servicePrincipalCredential: { - serializedName: "typeProperties.servicePrincipalCredential", + linkedServiceName: { + required: true, + serializedName: "typeProperties.linkedServiceName", + defaultValue: {}, type: { name: "Composite", - className: "SecretBase" + className: "LinkedServiceReference" } }, encryptedCredential: { @@ -9046,55 +8689,71 @@ export const CommonDataServiceForAppsLinkedService: msRest.CompositeMapper = { } }; -export const DynamicsCrmLinkedService: msRest.CompositeMapper = { - serializedName: "DynamicsCrm", +export const AzureSqlMILinkedService: msRest.CompositeMapper = { + serializedName: "AzureSqlMI", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "DynamicsCrmLinkedService", + className: "AzureSqlMILinkedService", modelProperties: { ...LinkedService.type.modelProperties, - deploymentType: { + connectionString: { required: true, - serializedName: "typeProperties.deploymentType", + serializedName: "typeProperties.connectionString", type: { - name: "String" + name: "Object" } }, - hostName: { - serializedName: "typeProperties.hostName", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - port: { - serializedName: "typeProperties.port", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } }, - serviceUri: { - serializedName: "typeProperties.serviceUri", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - organizationName: { - serializedName: "typeProperties.organizationName", + tenant: { + serializedName: "typeProperties.tenant", type: { name: "Object" } }, - authenticationType: { - required: true, - serializedName: "typeProperties.authenticationType", + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { - name: "String" + name: "Object" } - }, - username: { - serializedName: "typeProperties.username", + } + }, + additionalProperties: LinkedService.type.additionalProperties + } +}; + +export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { + serializedName: "AzureSqlDatabase", + type: { + name: "Composite", + polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, + uberParent: "LinkedService", + className: "AzureSqlDatabaseLinkedService", + modelProperties: { + ...LinkedService.type.modelProperties, + connectionString: { + required: true, + serializedName: "typeProperties.connectionString", type: { name: "Object" } @@ -9103,7 +8762,7 @@ export const DynamicsCrmLinkedService: msRest.CompositeMapper = { serializedName: "typeProperties.password", type: { name: "Composite", - className: "SecretBase" + className: "AzureKeyVaultSecretReference" } }, servicePrincipalId: { @@ -9112,17 +8771,17 @@ export const DynamicsCrmLinkedService: msRest.CompositeMapper = { name: "Object" } }, - servicePrincipalCredentialType: { - serializedName: "typeProperties.servicePrincipalCredentialType", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { - name: "Object" + name: "Composite", + className: "SecretBase" } }, - servicePrincipalCredential: { - serializedName: "typeProperties.servicePrincipalCredential", + tenant: { + serializedName: "typeProperties.tenant", type: { - name: "Composite", - className: "SecretBase" + name: "Object" } }, encryptedCredential: { @@ -9136,55 +8795,24 @@ export const DynamicsCrmLinkedService: msRest.CompositeMapper = { } }; -export const DynamicsLinkedService: msRest.CompositeMapper = { - serializedName: "Dynamics", +export const SqlServerLinkedService: msRest.CompositeMapper = { + serializedName: "SqlServer", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "DynamicsLinkedService", + className: "SqlServerLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - deploymentType: { - required: true, - serializedName: "typeProperties.deploymentType", - type: { - name: "Object" - } - }, - hostName: { - serializedName: "typeProperties.hostName", - type: { - name: "Object" - } - }, - port: { - serializedName: "typeProperties.port", - type: { - name: "Object" - } - }, - serviceUri: { - serializedName: "typeProperties.serviceUri", - type: { - name: "Object" - } - }, - organizationName: { - serializedName: "typeProperties.organizationName", - type: { - name: "Object" - } - }, - authenticationType: { + connectionString: { required: true, - serializedName: "typeProperties.authenticationType", + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - username: { - serializedName: "typeProperties.username", + userName: { + serializedName: "typeProperties.userName", type: { name: "Object" } @@ -9196,25 +8824,6 @@ export const DynamicsLinkedService: msRest.CompositeMapper = { className: "SecretBase" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", - type: { - name: "Object" - } - }, - servicePrincipalCredentialType: { - serializedName: "typeProperties.servicePrincipalCredentialType", - type: { - name: "Object" - } - }, - servicePrincipalCredential: { - serializedName: "typeProperties.servicePrincipalCredential", - type: { - name: "Composite", - className: "SecretBase" - } - }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { @@ -9226,63 +8835,50 @@ export const DynamicsLinkedService: msRest.CompositeMapper = { } }; -export const CosmosDbLinkedService: msRest.CompositeMapper = { - serializedName: "CosmosDb", +export const AzureSqlDWLinkedService: msRest.CompositeMapper = { + serializedName: "AzureSqlDW", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "CosmosDbLinkedService", + className: "AzureSqlDWLinkedService", modelProperties: { ...LinkedService.type.modelProperties, connectionString: { + required: true, serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - accountEndpoint: { - serializedName: "typeProperties.accountEndpoint", + password: { + serializedName: "typeProperties.password", type: { - name: "Object" + name: "Composite", + className: "AzureKeyVaultSecretReference" } }, - database: { - serializedName: "typeProperties.database", + servicePrincipalId: { + serializedName: "typeProperties.servicePrincipalId", type: { name: "Object" } }, - accountKey: { - serializedName: "typeProperties.accountKey", + servicePrincipalKey: { + serializedName: "typeProperties.servicePrincipalKey", type: { name: "Composite", className: "SecretBase" } }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + tenant: { + serializedName: "typeProperties.tenant", type: { name: "Object" } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureKeyVaultLinkedService: msRest.CompositeMapper = { - serializedName: "AzureKeyVault", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureKeyVaultLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - baseUrl: { - required: true, - serializedName: "typeProperties.baseUrl", + }, + encryptedCredential: { + serializedName: "typeProperties.encryptedCredential", type: { name: "Object" } @@ -9292,56 +8888,45 @@ export const AzureKeyVaultLinkedService: msRest.CompositeMapper = { } }; -export const AzureBatchLinkedService: msRest.CompositeMapper = { - serializedName: "AzureBatch", +export const AzureTableStorageLinkedService: msRest.CompositeMapper = { + serializedName: "AzureTableStorage", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureBatchLinkedService", + className: "AzureTableStorageLinkedService", modelProperties: { ...LinkedService.type.modelProperties, - accountName: { - required: true, - serializedName: "typeProperties.accountName", + connectionString: { + serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - accessKey: { - serializedName: "typeProperties.accessKey", + accountKey: { + serializedName: "typeProperties.accountKey", type: { name: "Composite", - className: "SecretBase" - } - }, - batchUri: { - required: true, - serializedName: "typeProperties.batchUri", - type: { - name: "Object" + className: "AzureKeyVaultSecretReference" } }, - poolName: { - required: true, - serializedName: "typeProperties.poolName", + sasUri: { + serializedName: "typeProperties.sasUri", type: { name: "Object" } }, - linkedServiceName: { - required: true, - serializedName: "typeProperties.linkedServiceName", - defaultValue: {}, + sasToken: { + serializedName: "typeProperties.sasToken", type: { name: "Composite", - className: "LinkedServiceReference" + className: "AzureKeyVaultSecretReference" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "String" } } }, @@ -9349,29 +8934,47 @@ export const AzureBatchLinkedService: msRest.CompositeMapper = { } }; -export const AzureSqlMILinkedService: msRest.CompositeMapper = { - serializedName: "AzureSqlMI", +export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { + serializedName: "AzureBlobStorage", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureSqlMILinkedService", + className: "AzureBlobStorageLinkedService", modelProperties: { ...LinkedService.type.modelProperties, connectionString: { - required: true, serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + accountKey: { + serializedName: "typeProperties.accountKey", + type: { + name: "Composite", + className: "AzureKeyVaultSecretReference" + } + }, + sasUri: { + serializedName: "typeProperties.sasUri", + type: { + name: "Object" + } + }, + sasToken: { + serializedName: "typeProperties.sasToken", type: { name: "Composite", className: "AzureKeyVaultSecretReference" } }, + serviceEndpoint: { + serializedName: "typeProperties.serviceEndpoint", + type: { + name: "String" + } + }, servicePrincipalId: { serializedName: "typeProperties.servicePrincipalId", type: { @@ -9394,7 +8997,7 @@ export const AzureSqlMILinkedService: msRest.CompositeMapper = { encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "String" } } }, @@ -9402,52 +9005,45 @@ export const AzureSqlMILinkedService: msRest.CompositeMapper = { } }; -export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { - serializedName: "AzureSqlDatabase", +export const AzureStorageLinkedService: msRest.CompositeMapper = { + serializedName: "AzureStorage", type: { name: "Composite", polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, uberParent: "LinkedService", - className: "AzureSqlDatabaseLinkedService", + className: "AzureStorageLinkedService", modelProperties: { ...LinkedService.type.modelProperties, connectionString: { - required: true, serializedName: "typeProperties.connectionString", type: { name: "Object" } }, - password: { - serializedName: "typeProperties.password", + accountKey: { + serializedName: "typeProperties.accountKey", type: { name: "Composite", className: "AzureKeyVaultSecretReference" } }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", + sasUri: { + serializedName: "typeProperties.sasUri", type: { name: "Object" } }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", + sasToken: { + serializedName: "typeProperties.sasToken", type: { name: "Composite", - className: "SecretBase" - } - }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" + className: "AzureKeyVaultSecretReference" } }, encryptedCredential: { serializedName: "typeProperties.encryptedCredential", type: { - name: "Object" + name: "String" } } }, @@ -9455,284 +9051,28 @@ export const AzureSqlDatabaseLinkedService: msRest.CompositeMapper = { } }; -export const SqlServerLinkedService: msRest.CompositeMapper = { - serializedName: "SqlServer", +export const GoogleAdWordsObjectDataset: msRest.CompositeMapper = { + serializedName: "GoogleAdWordsObject", type: { name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "SqlServerLinkedService", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "GoogleAdWordsObjectDataset", modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - userName: { - serializedName: "typeProperties.userName", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "SecretBase" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", + ...Dataset.type.modelProperties, + tableName: { + serializedName: "typeProperties.tableName", type: { name: "Object" } } }, - additionalProperties: LinkedService.type.additionalProperties + additionalProperties: Dataset.type.additionalProperties } }; -export const AzureSqlDWLinkedService: msRest.CompositeMapper = { - serializedName: "AzureSqlDW", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureSqlDWLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - required: true, - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - password: { - serializedName: "typeProperties.password", - type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", - type: { - name: "Object" - } - }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", - type: { - name: "Composite", - className: "SecretBase" - } - }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "Object" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureTableStorageLinkedService: msRest.CompositeMapper = { - serializedName: "AzureTableStorage", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureTableStorageLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - accountKey: { - serializedName: "typeProperties.accountKey", - type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - sasUri: { - serializedName: "typeProperties.sasUri", - type: { - name: "Object" - } - }, - sasToken: { - serializedName: "typeProperties.sasToken", - type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "String" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureBlobStorageLinkedService: msRest.CompositeMapper = { - serializedName: "AzureBlobStorage", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureBlobStorageLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - accountKey: { - serializedName: "typeProperties.accountKey", - type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - sasUri: { - serializedName: "typeProperties.sasUri", - type: { - name: "Object" - } - }, - sasToken: { - serializedName: "typeProperties.sasToken", - type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - serviceEndpoint: { - serializedName: "typeProperties.serviceEndpoint", - type: { - name: "String" - } - }, - servicePrincipalId: { - serializedName: "typeProperties.servicePrincipalId", - type: { - name: "Object" - } - }, - servicePrincipalKey: { - serializedName: "typeProperties.servicePrincipalKey", - type: { - name: "Composite", - className: "SecretBase" - } - }, - tenant: { - serializedName: "typeProperties.tenant", - type: { - name: "Object" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "String" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const AzureStorageLinkedService: msRest.CompositeMapper = { - serializedName: "AzureStorage", - type: { - name: "Composite", - polymorphicDiscriminator: LinkedService.type.polymorphicDiscriminator, - uberParent: "LinkedService", - className: "AzureStorageLinkedService", - modelProperties: { - ...LinkedService.type.modelProperties, - connectionString: { - serializedName: "typeProperties.connectionString", - type: { - name: "Object" - } - }, - accountKey: { - serializedName: "typeProperties.accountKey", - type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - sasUri: { - serializedName: "typeProperties.sasUri", - type: { - name: "Object" - } - }, - sasToken: { - serializedName: "typeProperties.sasToken", - type: { - name: "Composite", - className: "AzureKeyVaultSecretReference" - } - }, - encryptedCredential: { - serializedName: "typeProperties.encryptedCredential", - type: { - name: "String" - } - } - }, - additionalProperties: LinkedService.type.additionalProperties - } -}; - -export const GoogleAdWordsObjectDataset: msRest.CompositeMapper = { - serializedName: "GoogleAdWordsObject", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "GoogleAdWordsObjectDataset", - modelProperties: { - ...Dataset.type.modelProperties, - tableName: { - serializedName: "typeProperties.tableName", - type: { - name: "Object" - } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AzureDataExplorerTableDataset: msRest.CompositeMapper = { - serializedName: "AzureDataExplorerTable", +export const AzureDataExplorerTableDataset: msRest.CompositeMapper = { + serializedName: "AzureDataExplorerTable", type: { name: "Composite", polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, @@ -12533,156 +11873,817 @@ export const DelimitedTextDataset: msRest.CompositeMapper = { name: "Object" } }, - nullValue: { - serializedName: "typeProperties.nullValue", + nullValue: { + serializedName: "typeProperties.nullValue", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const ParquetDataset: msRest.CompositeMapper = { + serializedName: "Parquet", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "ParquetDataset", + modelProperties: { + ...Dataset.type.modelProperties, + location: { + required: true, + serializedName: "typeProperties.location", + type: { + name: "Composite", + className: "DatasetLocation", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + compressionCodec: { + serializedName: "typeProperties.compressionCodec", + type: { + name: "Object" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const AvroDataset: msRest.CompositeMapper = { + serializedName: "Avro", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "AvroDataset", + modelProperties: { + ...Dataset.type.modelProperties, + location: { + required: true, + serializedName: "typeProperties.location", + type: { + name: "Composite", + className: "DatasetLocation", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + avroCompressionCodec: { + serializedName: "typeProperties.avroCompressionCodec", + type: { + name: "String" + } + }, + avroCompressionLevel: { + serializedName: "typeProperties.avroCompressionLevel", + constraints: { + InclusiveMaximum: 9, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const AmazonS3Dataset: msRest.CompositeMapper = { + serializedName: "AmazonS3Object", + type: { + name: "Composite", + polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, + uberParent: "Dataset", + className: "AmazonS3Dataset", + modelProperties: { + ...Dataset.type.modelProperties, + bucketName: { + required: true, + serializedName: "typeProperties.bucketName", + type: { + name: "Object" + } + }, + key: { + serializedName: "typeProperties.key", + type: { + name: "Object" + } + }, + prefix: { + serializedName: "typeProperties.prefix", + type: { + name: "Object" + } + }, + version: { + serializedName: "typeProperties.version", + type: { + name: "Object" + } + }, + modifiedDatetimeStart: { + serializedName: "typeProperties.modifiedDatetimeStart", + type: { + name: "Object" + } + }, + modifiedDatetimeEnd: { + serializedName: "typeProperties.modifiedDatetimeEnd", + type: { + name: "Object" + } + }, + format: { + serializedName: "typeProperties.format", + type: { + name: "Composite", + className: "DatasetStorageFormat", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + compression: { + serializedName: "typeProperties.compression", + type: { + name: "Composite", + className: "DatasetCompression", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + }, + additionalProperties: Dataset.type.additionalProperties + } +}; + +export const ChainingTrigger: msRest.CompositeMapper = { + serializedName: "ChainingTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", + className: "ChainingTrigger", + modelProperties: { + ...Trigger.type.modelProperties, + pipelineProperty: { + required: true, + serializedName: "pipeline", + defaultValue: {}, + type: { + name: "Composite", + className: "TriggerPipelineReference" + } + }, + dependsOn: { + required: true, + serializedName: "typeProperties.dependsOn", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PipelineReference" + } + } + } + }, + runDimension: { + required: true, + serializedName: "typeProperties.runDimension", + type: { + name: "String" + } + } + }, + additionalProperties: Trigger.type.additionalProperties + } +}; + +export const RerunTumblingWindowTrigger: msRest.CompositeMapper = { + serializedName: "RerunTumblingWindowTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", + className: "RerunTumblingWindowTrigger", + modelProperties: { + ...Trigger.type.modelProperties, + parentTrigger: { + required: true, + serializedName: "typeProperties.parentTrigger", + type: { + name: "Object" + } + }, + requestedStartTime: { + required: true, + serializedName: "typeProperties.requestedStartTime", + type: { + name: "DateTime" + } + }, + requestedEndTime: { + required: true, + serializedName: "typeProperties.requestedEndTime", + type: { + name: "DateTime" + } + }, + rerunConcurrency: { + required: true, + serializedName: "typeProperties.rerunConcurrency", + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + } + }, + additionalProperties: Trigger.type.additionalProperties + } +}; + +export const DependencyReference: msRest.CompositeMapper = { + serializedName: "DependencyReference", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "DependencyReference", + className: "DependencyReference", + modelProperties: { + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const SelfDependencyTumblingWindowTriggerReference: msRest.CompositeMapper = { + serializedName: "SelfDependencyTumblingWindowTriggerReference", + type: { + name: "Composite", + polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, + uberParent: "DependencyReference", + className: "SelfDependencyTumblingWindowTriggerReference", + modelProperties: { + ...DependencyReference.type.modelProperties, + offset: { + required: true, + serializedName: "offset", + constraints: { + MaxLength: 15, + MinLength: 8, + Pattern: /-((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ + }, + type: { + name: "String" + } + }, + size: { + serializedName: "size", + constraints: { + MaxLength: 15, + MinLength: 8, + Pattern: /((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ + }, + type: { + name: "String" + } + } + } + } +}; + +export const TriggerReference: msRest.CompositeMapper = { + serializedName: "TriggerReference", + type: { + name: "Composite", + className: "TriggerReference", + modelProperties: { + type: { + required: true, + isConstant: true, + serializedName: "type", + defaultValue: 'TriggerReference', + type: { + name: "String" + } + }, + referenceName: { + required: true, + serializedName: "referenceName", + type: { + name: "String" + } + } + } + } +}; + +export const TriggerDependencyReference: msRest.CompositeMapper = { + serializedName: "TriggerDependencyReference", + type: { + name: "Composite", + polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, + uberParent: "DependencyReference", + className: "TriggerDependencyReference", + modelProperties: { + ...DependencyReference.type.modelProperties, + referenceTrigger: { + required: true, + serializedName: "referenceTrigger", + defaultValue: {}, + type: { + name: "Composite", + className: "TriggerReference" + } + } + } + } +}; + +export const TumblingWindowTriggerDependencyReference: msRest.CompositeMapper = { + serializedName: "TumblingWindowTriggerDependencyReference", + type: { + name: "Composite", + polymorphicDiscriminator: DependencyReference.type.polymorphicDiscriminator, + uberParent: "DependencyReference", + className: "TumblingWindowTriggerDependencyReference", + modelProperties: { + ...TriggerDependencyReference.type.modelProperties, + offset: { + serializedName: "offset", + constraints: { + MaxLength: 15, + MinLength: 8, + Pattern: /-?((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ + }, + type: { + name: "String" + } + }, + size: { + serializedName: "size", + constraints: { + MaxLength: 15, + MinLength: 8, + Pattern: /((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))/ + }, + type: { + name: "String" + } + } + } + } +}; + +export const RetryPolicy: msRest.CompositeMapper = { + serializedName: "RetryPolicy", + type: { + name: "Composite", + className: "RetryPolicy", + modelProperties: { + count: { + serializedName: "count", + type: { + name: "Object" + } + }, + intervalInSeconds: { + serializedName: "intervalInSeconds", + constraints: { + InclusiveMaximum: 86400, + InclusiveMinimum: 30 + }, + type: { + name: "Number" + } + } + } + } +}; + +export const TumblingWindowTrigger: msRest.CompositeMapper = { + serializedName: "TumblingWindowTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", + className: "TumblingWindowTrigger", + modelProperties: { + ...Trigger.type.modelProperties, + pipelineProperty: { + required: true, + serializedName: "pipeline", + defaultValue: {}, + type: { + name: "Composite", + className: "TriggerPipelineReference" + } + }, + frequency: { + required: true, + serializedName: "typeProperties.frequency", + type: { + name: "String" + } + }, + interval: { + required: true, + serializedName: "typeProperties.interval", + type: { + name: "Number" + } + }, + startTime: { + required: true, + serializedName: "typeProperties.startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "typeProperties.endTime", + type: { + name: "DateTime" + } + }, + delay: { + serializedName: "typeProperties.delay", + type: { + name: "Object" + } + }, + maxConcurrency: { + required: true, + serializedName: "typeProperties.maxConcurrency", + constraints: { + InclusiveMaximum: 50, + InclusiveMinimum: 1 + }, + type: { + name: "Number" + } + }, + retryPolicy: { + serializedName: "typeProperties.retryPolicy", + type: { + name: "Composite", + className: "RetryPolicy" + } + }, + dependsOn: { + serializedName: "typeProperties.dependsOn", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DependencyReference" + } + } + } + } + }, + additionalProperties: Trigger.type.additionalProperties + } +}; + +export const MultiplePipelineTrigger: msRest.CompositeMapper = { + serializedName: "MultiplePipelineTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", + className: "MultiplePipelineTrigger", + modelProperties: { + ...Trigger.type.modelProperties, + pipelines: { + serializedName: "pipelines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TriggerPipelineReference" + } + } + } + } + }, + additionalProperties: Trigger.type.additionalProperties + } +}; + +export const BlobEventsTrigger: msRest.CompositeMapper = { + serializedName: "BlobEventsTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", + className: "BlobEventsTrigger", + modelProperties: { + ...MultiplePipelineTrigger.type.modelProperties, + blobPathBeginsWith: { + serializedName: "typeProperties.blobPathBeginsWith", + type: { + name: "String" + } + }, + blobPathEndsWith: { + serializedName: "typeProperties.blobPathEndsWith", + type: { + name: "String" + } + }, + ignoreEmptyBlobs: { + serializedName: "typeProperties.ignoreEmptyBlobs", + type: { + name: "Boolean" + } + }, + events: { + required: true, + serializedName: "typeProperties.events", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + scope: { + required: true, + serializedName: "typeProperties.scope", + type: { + name: "String" + } + } + }, + additionalProperties: Trigger.type.additionalProperties + } +}; + +export const BlobTrigger: msRest.CompositeMapper = { + serializedName: "BlobTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", + className: "BlobTrigger", + modelProperties: { + ...MultiplePipelineTrigger.type.modelProperties, + folderPath: { + required: true, + serializedName: "typeProperties.folderPath", + type: { + name: "String" + } + }, + maxConcurrency: { + required: true, + serializedName: "typeProperties.maxConcurrency", + type: { + name: "Number" + } + }, + linkedService: { + required: true, + serializedName: "typeProperties.linkedService", + defaultValue: {}, + type: { + name: "Composite", + className: "LinkedServiceReference" + } + } + }, + additionalProperties: Trigger.type.additionalProperties + } +}; + +export const RecurrenceScheduleOccurrence: msRest.CompositeMapper = { + serializedName: "RecurrenceScheduleOccurrence", + type: { + name: "Composite", + className: "RecurrenceScheduleOccurrence", + modelProperties: { + day: { + serializedName: "day", + type: { + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + } + }, + occurrence: { + serializedName: "occurrence", type: { - name: "Object" + name: "Number" } } }, - additionalProperties: Dataset.type.additionalProperties + additionalProperties: { + type: { + name: "Object" + } + } } }; -export const ParquetDataset: msRest.CompositeMapper = { - serializedName: "Parquet", +export const RecurrenceSchedule: msRest.CompositeMapper = { + serializedName: "RecurrenceSchedule", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "ParquetDataset", + className: "RecurrenceSchedule", modelProperties: { - ...Dataset.type.modelProperties, - location: { - required: true, - serializedName: "typeProperties.location", + minutes: { + serializedName: "minutes", type: { - name: "Composite", - className: "DatasetLocation", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Number" } } } }, - compressionCodec: { - serializedName: "typeProperties.compressionCodec", + hours: { + serializedName: "hours", type: { - name: "Object" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } - } - }, - additionalProperties: Dataset.type.additionalProperties - } -}; - -export const AvroDataset: msRest.CompositeMapper = { - serializedName: "Avro", - type: { - name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AvroDataset", - modelProperties: { - ...Dataset.type.modelProperties, - location: { - required: true, - serializedName: "typeProperties.location", + }, + weekDays: { + serializedName: "weekDays", type: { - name: "Composite", - className: "DatasetLocation", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "Enum", + allowedValues: [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] } } } }, - avroCompressionCodec: { - serializedName: "typeProperties.avroCompressionCodec", + monthDays: { + serializedName: "monthDays", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Number" + } + } } }, - avroCompressionLevel: { - serializedName: "typeProperties.avroCompressionLevel", - constraints: { - InclusiveMaximum: 9, - InclusiveMinimum: 1 - }, + monthlyOccurrences: { + serializedName: "monthlyOccurrences", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecurrenceScheduleOccurrence", + additionalProperties: { + type: { + name: "Object" + } + } + } + } } } }, - additionalProperties: Dataset.type.additionalProperties + additionalProperties: { + type: { + name: "Object" + } + } } }; -export const AmazonS3Dataset: msRest.CompositeMapper = { - serializedName: "AmazonS3Object", +export const ScheduleTriggerRecurrence: msRest.CompositeMapper = { + serializedName: "ScheduleTriggerRecurrence", type: { name: "Composite", - polymorphicDiscriminator: Dataset.type.polymorphicDiscriminator, - uberParent: "Dataset", - className: "AmazonS3Dataset", + className: "ScheduleTriggerRecurrence", modelProperties: { - ...Dataset.type.modelProperties, - bucketName: { - required: true, - serializedName: "typeProperties.bucketName", - type: { - name: "Object" - } - }, - key: { - serializedName: "typeProperties.key", + frequency: { + serializedName: "frequency", type: { - name: "Object" + name: "String" } }, - prefix: { - serializedName: "typeProperties.prefix", + interval: { + serializedName: "interval", type: { - name: "Object" + name: "Number" } }, - version: { - serializedName: "typeProperties.version", + startTime: { + serializedName: "startTime", type: { - name: "Object" + name: "DateTime" } }, - modifiedDatetimeStart: { - serializedName: "typeProperties.modifiedDatetimeStart", + endTime: { + serializedName: "endTime", type: { - name: "Object" + name: "DateTime" } }, - modifiedDatetimeEnd: { - serializedName: "typeProperties.modifiedDatetimeEnd", + timeZone: { + serializedName: "timeZone", type: { - name: "Object" + name: "String" } }, - format: { - serializedName: "typeProperties.format", + schedule: { + serializedName: "schedule", type: { name: "Composite", - className: "DatasetStorageFormat", + className: "RecurrenceSchedule", additionalProperties: { type: { name: "Object" } } } - }, - compression: { - serializedName: "typeProperties.compression", + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const ScheduleTrigger: msRest.CompositeMapper = { + serializedName: "ScheduleTrigger", + type: { + name: "Composite", + polymorphicDiscriminator: Trigger.type.polymorphicDiscriminator, + uberParent: "Trigger", + className: "ScheduleTrigger", + modelProperties: { + ...MultiplePipelineTrigger.type.modelProperties, + recurrence: { + required: true, + serializedName: "typeProperties.recurrence", type: { name: "Composite", - className: "DatasetCompression", + className: "ScheduleTriggerRecurrence", additionalProperties: { type: { name: "Object" @@ -12691,7 +12692,7 @@ export const AmazonS3Dataset: msRest.CompositeMapper = { } } }, - additionalProperties: Dataset.type.additionalProperties + additionalProperties: Trigger.type.additionalProperties } }; @@ -18713,6 +18714,12 @@ export const SftpWriteSettings: msRest.CompositeMapper = { type: { name: "Object" } + }, + useTempFileRename: { + serializedName: "useTempFileRename", + type: { + name: "Object" + } } }, additionalProperties: StoreWriteSettings.type.additionalProperties @@ -21730,36 +21737,6 @@ export const TriggerListResponse: msRest.CompositeMapper = { } }; -export const RerunTriggerListResponse: msRest.CompositeMapper = { - serializedName: "RerunTriggerListResponse", - type: { - name: "Composite", - className: "RerunTriggerListResponse", - modelProperties: { - value: { - required: true, - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RerunTriggerResource" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const DataFlowListResponse: msRest.CompositeMapper = { serializedName: "DataFlowListResponse", type: { @@ -21835,19 +21812,8 @@ export const discriminators = { 'Trigger' : Trigger, 'FactoryRepoConfiguration.FactoryVSTSConfiguration' : FactoryVSTSConfiguration, 'FactoryRepoConfiguration.FactoryGitHubConfiguration' : FactoryGitHubConfiguration, - 'Trigger.RerunTumblingWindowTrigger' : RerunTumblingWindowTrigger, 'DataFlow' : DataFlow, 'DataFlow.MappingDataFlow' : MappingDataFlow, - 'Trigger.ChainingTrigger' : ChainingTrigger, - 'DependencyReference.SelfDependencyTumblingWindowTriggerReference' : SelfDependencyTumblingWindowTriggerReference, - 'DependencyReference.TumblingWindowTriggerDependencyReference' : TumblingWindowTriggerDependencyReference, - 'DependencyReference.TriggerDependencyReference' : TriggerDependencyReference, - 'DependencyReference' : DependencyReference, - 'Trigger.TumblingWindowTrigger' : TumblingWindowTrigger, - 'Trigger.BlobEventsTrigger' : BlobEventsTrigger, - 'Trigger.BlobTrigger' : BlobTrigger, - 'Trigger.ScheduleTrigger' : ScheduleTrigger, - 'Trigger.MultiplePipelineTrigger' : MultiplePipelineTrigger, 'LinkedService.AzureFunction' : AzureFunctionLinkedService, 'LinkedService.AzureDataExplorer' : AzureDataExplorerLinkedService, 'LinkedService.SapTable' : SapTableLinkedService, @@ -22056,6 +22022,17 @@ export const discriminators = { 'Dataset.Parquet' : ParquetDataset, 'Dataset.Avro' : AvroDataset, 'Dataset.AmazonS3Object' : AmazonS3Dataset, + 'Trigger.ChainingTrigger' : ChainingTrigger, + 'Trigger.RerunTumblingWindowTrigger' : RerunTumblingWindowTrigger, + 'DependencyReference.SelfDependencyTumblingWindowTriggerReference' : SelfDependencyTumblingWindowTriggerReference, + 'DependencyReference.TumblingWindowTriggerDependencyReference' : TumblingWindowTriggerDependencyReference, + 'DependencyReference.TriggerDependencyReference' : TriggerDependencyReference, + 'DependencyReference' : DependencyReference, + 'Trigger.TumblingWindowTrigger' : TumblingWindowTrigger, + 'Trigger.BlobEventsTrigger' : BlobEventsTrigger, + 'Trigger.BlobTrigger' : BlobTrigger, + 'Trigger.ScheduleTrigger' : ScheduleTrigger, + 'Trigger.MultiplePipelineTrigger' : MultiplePipelineTrigger, 'Activity.ExecuteDataFlow' : ExecuteDataFlowActivity, 'Activity.AzureFunctionActivity' : AzureFunctionActivity, 'Activity.DatabricksSparkPython' : DatabricksSparkPythonActivity, diff --git a/sdk/datafactory/arm-datafactory/src/models/parameters.ts b/sdk/datafactory/arm-datafactory/src/models/parameters.ts index aafb78063d22..f636c40d2c55 100644 --- a/sdk/datafactory/arm-datafactory/src/models/parameters.ts +++ b/sdk/datafactory/arm-datafactory/src/models/parameters.ts @@ -216,21 +216,6 @@ export const referencePipelineRunId: msRest.OperationQueryParameter = { } } }; -export const rerunTriggerName: msRest.OperationURLParameter = { - parameterPath: "rerunTriggerName", - mapper: { - required: true, - serializedName: "rerunTriggerName", - constraints: { - MaxLength: 260, - MinLength: 1, - Pattern: /^[A-Za-z0-9_][^<>*#.%&:\\+?\/]*$/ - }, - type: { - name: "String" - } - } -}; export const resourceGroupName: msRest.OperationURLParameter = { parameterPath: "resourceGroupName", mapper: { @@ -268,6 +253,18 @@ export const startActivityName: msRest.OperationQueryParameter = { } } }; +export const startFromFailure: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "startFromFailure" + ], + mapper: { + serializedName: "startFromFailure", + type: { + name: "Boolean" + } + } +}; export const subscriptionId: msRest.OperationURLParameter = { parameterPath: "subscriptionId", mapper: { diff --git a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts index 86d02b87ff9f..b2c2ed2430a5 100644 --- a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts @@ -375,7 +375,6 @@ export { RedshiftUnloadSettings, RelationalSource, RelationalTableDataset, - RerunTriggerResource, RerunTumblingWindowTrigger, Resource, ResponsysLinkedService, diff --git a/sdk/datafactory/arm-datafactory/src/models/rerunTriggersMappers.ts b/sdk/datafactory/arm-datafactory/src/models/rerunTriggersMappers.ts deleted file mode 100644 index f02c88a4f465..000000000000 --- a/sdk/datafactory/arm-datafactory/src/models/rerunTriggersMappers.ts +++ /dev/null @@ -1,510 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - discriminators, - Activity, - ActivityDependency, - ActivityPolicy, - AmazonMWSLinkedService, - AmazonMWSObjectDataset, - AmazonMWSSource, - AmazonRedshiftLinkedService, - AmazonRedshiftSource, - AmazonRedshiftTableDataset, - AmazonS3Dataset, - AmazonS3LinkedService, - AmazonS3Location, - AmazonS3ReadSettings, - AppendVariableActivity, - AvroDataset, - AvroFormat, - AvroSink, - AvroSource, - AvroWriteSettings, - AzureBatchLinkedService, - AzureBlobDataset, - AzureBlobFSDataset, - AzureBlobFSLinkedService, - AzureBlobFSLocation, - AzureBlobFSReadSettings, - AzureBlobFSSink, - AzureBlobFSSource, - AzureBlobFSWriteSettings, - AzureBlobStorageLinkedService, - AzureBlobStorageLocation, - AzureBlobStorageReadSettings, - AzureBlobStorageWriteSettings, - AzureDatabricksLinkedService, - AzureDataExplorerCommandActivity, - AzureDataExplorerLinkedService, - AzureDataExplorerSink, - AzureDataExplorerSource, - AzureDataExplorerTableDataset, - AzureDataLakeAnalyticsLinkedService, - AzureDataLakeStoreDataset, - AzureDataLakeStoreLinkedService, - AzureDataLakeStoreLocation, - AzureDataLakeStoreReadSettings, - AzureDataLakeStoreSink, - AzureDataLakeStoreSource, - AzureDataLakeStoreWriteSettings, - AzureFileStorageLinkedService, - AzureFileStorageLocation, - AzureFileStorageReadSettings, - AzureFunctionActivity, - AzureFunctionLinkedService, - AzureKeyVaultLinkedService, - AzureKeyVaultSecretReference, - AzureMariaDBLinkedService, - AzureMariaDBSource, - AzureMariaDBTableDataset, - AzureMLBatchExecutionActivity, - AzureMLExecutePipelineActivity, - AzureMLLinkedService, - AzureMLServiceLinkedService, - AzureMLUpdateResourceActivity, - AzureMLWebServiceFile, - AzureMySqlLinkedService, - AzureMySqlSink, - AzureMySqlSource, - AzureMySqlTableDataset, - AzurePostgreSqlLinkedService, - AzurePostgreSqlSink, - AzurePostgreSqlSource, - AzurePostgreSqlTableDataset, - AzureQueueSink, - AzureSearchIndexDataset, - AzureSearchIndexSink, - AzureSearchLinkedService, - AzureSqlDatabaseLinkedService, - AzureSqlDWLinkedService, - AzureSqlDWTableDataset, - AzureSqlMILinkedService, - AzureSqlMITableDataset, - AzureSqlSink, - AzureSqlSource, - AzureSqlTableDataset, - AzureStorageLinkedService, - AzureTableDataset, - AzureTableSink, - AzureTableSource, - AzureTableStorageLinkedService, - BaseResource, - BinaryDataset, - BinarySink, - BinarySource, - BlobEventsTrigger, - BlobSink, - BlobSource, - BlobTrigger, - CassandraLinkedService, - CassandraSource, - CassandraTableDataset, - ChainingTrigger, - CloudError, - CmdkeySetup, - CommonDataServiceForAppsEntityDataset, - CommonDataServiceForAppsLinkedService, - CommonDataServiceForAppsSink, - CommonDataServiceForAppsSource, - ComponentSetup, - ConcurLinkedService, - ConcurObjectDataset, - ConcurSource, - ControlActivity, - CopyActivity, - CopySink, - CopySource, - CosmosDbLinkedService, - CosmosDbMongoDbApiCollectionDataset, - CosmosDbMongoDbApiLinkedService, - CosmosDbMongoDbApiSink, - CosmosDbMongoDbApiSource, - CosmosDbSqlApiCollectionDataset, - CosmosDbSqlApiSink, - CosmosDbSqlApiSource, - CouchbaseLinkedService, - CouchbaseSource, - CouchbaseTableDataset, - CustomActivity, - CustomActivityReferenceObject, - CustomDataset, - CustomDataSourceLinkedService, - CustomSetupBase, - DatabricksNotebookActivity, - DatabricksSparkJarActivity, - DatabricksSparkPythonActivity, - DataFlow, - DataFlowFolder, - DataFlowReference, - DataFlowResource, - DataFlowSink, - DataFlowSource, - DataFlowStagingInfo, - DataLakeAnalyticsUSQLActivity, - Dataset, - DatasetBZip2Compression, - DatasetCompression, - DatasetDeflateCompression, - DatasetFolder, - DatasetGZipCompression, - DatasetLocation, - DatasetReference, - DatasetResource, - DatasetStorageFormat, - DatasetZipDeflateCompression, - Db2LinkedService, - Db2Source, - Db2TableDataset, - DeleteActivity, - DelimitedTextDataset, - DelimitedTextReadSettings, - DelimitedTextSink, - DelimitedTextSource, - DelimitedTextWriteSettings, - DependencyReference, - DistcpSettings, - DocumentDbCollectionDataset, - DocumentDbCollectionSink, - DocumentDbCollectionSource, - DrillLinkedService, - DrillSource, - DrillTableDataset, - DWCopyCommandDefaultValue, - DWCopyCommandSettings, - DynamicsAXLinkedService, - DynamicsAXResourceDataset, - DynamicsAXSource, - DynamicsCrmEntityDataset, - DynamicsCrmLinkedService, - DynamicsCrmSink, - DynamicsCrmSource, - DynamicsEntityDataset, - DynamicsLinkedService, - DynamicsSink, - DynamicsSource, - EloquaLinkedService, - EloquaObjectDataset, - EloquaSource, - EntityReference, - EnvironmentVariableSetup, - ExecuteDataFlowActivity, - ExecuteDataFlowActivityTypePropertiesCompute, - ExecutePipelineActivity, - ExecuteSSISPackageActivity, - ExecutionActivity, - Expression, - Factory, - FactoryGitHubConfiguration, - FactoryIdentity, - FactoryRepoConfiguration, - FactoryVSTSConfiguration, - FileServerLinkedService, - FileServerLocation, - FileServerReadSettings, - FileServerWriteSettings, - FileShareDataset, - FileSystemSink, - FileSystemSource, - FilterActivity, - ForEachActivity, - FormatReadSettings, - FormatWriteSettings, - FtpReadSettings, - FtpServerLinkedService, - FtpServerLocation, - GetMetadataActivity, - GoogleAdWordsLinkedService, - GoogleAdWordsObjectDataset, - GoogleAdWordsSource, - GoogleBigQueryLinkedService, - GoogleBigQueryObjectDataset, - GoogleBigQuerySource, - GoogleCloudStorageLinkedService, - GoogleCloudStorageLocation, - GoogleCloudStorageReadSettings, - GreenplumLinkedService, - GreenplumSource, - GreenplumTableDataset, - HBaseLinkedService, - HBaseObjectDataset, - HBaseSource, - HdfsLinkedService, - HdfsLocation, - HdfsReadSettings, - HdfsSource, - HDInsightHiveActivity, - HDInsightLinkedService, - HDInsightMapReduceActivity, - HDInsightOnDemandLinkedService, - HDInsightPigActivity, - HDInsightSparkActivity, - HDInsightStreamingActivity, - HiveLinkedService, - HiveObjectDataset, - HiveSource, - HttpDataset, - HttpLinkedService, - HttpReadSettings, - HttpServerLocation, - HttpSource, - HubspotLinkedService, - HubspotObjectDataset, - HubspotSource, - IfConditionActivity, - ImpalaLinkedService, - ImpalaObjectDataset, - ImpalaSource, - InformixLinkedService, - InformixSink, - InformixSource, - InformixTableDataset, - IntegrationRuntime, - IntegrationRuntimeComputeProperties, - IntegrationRuntimeCustomSetupScriptProperties, - IntegrationRuntimeDataFlowProperties, - IntegrationRuntimeDataProxyProperties, - IntegrationRuntimeReference, - IntegrationRuntimeResource, - IntegrationRuntimeSsisCatalogInfo, - IntegrationRuntimeSsisProperties, - IntegrationRuntimeVNetProperties, - JiraLinkedService, - JiraObjectDataset, - JiraSource, - JsonDataset, - JsonFormat, - JsonSink, - JsonSource, - JsonWriteSettings, - LinkedIntegrationRuntimeKeyAuthorization, - LinkedIntegrationRuntimeRbacAuthorization, - LinkedIntegrationRuntimeType, - LinkedService, - LinkedServiceReference, - LinkedServiceResource, - LogStorageSettings, - LookupActivity, - MagentoLinkedService, - MagentoObjectDataset, - MagentoSource, - ManagedIntegrationRuntime, - MappingDataFlow, - MariaDBLinkedService, - MariaDBSource, - MariaDBTableDataset, - MarketoLinkedService, - MarketoObjectDataset, - MarketoSource, - MicrosoftAccessLinkedService, - MicrosoftAccessSink, - MicrosoftAccessSource, - MicrosoftAccessTableDataset, - MongoDbCollectionDataset, - MongoDbCursorMethodsProperties, - MongoDbLinkedService, - MongoDbSource, - MongoDbV2CollectionDataset, - MongoDbV2LinkedService, - MongoDbV2Source, - MultiplePipelineTrigger, - MySqlLinkedService, - MySqlSource, - MySqlTableDataset, - NetezzaLinkedService, - NetezzaPartitionSettings, - NetezzaSource, - NetezzaTableDataset, - ODataLinkedService, - ODataResourceDataset, - ODataSource, - OdbcLinkedService, - OdbcSink, - OdbcSource, - OdbcTableDataset, - Office365Dataset, - Office365LinkedService, - Office365Source, - OracleLinkedService, - OraclePartitionSettings, - OracleServiceCloudLinkedService, - OracleServiceCloudObjectDataset, - OracleServiceCloudSource, - OracleSink, - OracleSource, - OracleTableDataset, - OrcDataset, - OrcFormat, - OrcSink, - OrcSource, - ParameterSpecification, - ParquetDataset, - ParquetFormat, - ParquetSink, - ParquetSource, - PaypalLinkedService, - PaypalObjectDataset, - PaypalSource, - PhoenixLinkedService, - PhoenixObjectDataset, - PhoenixSource, - PipelineFolder, - PipelineReference, - PipelineResource, - PolybaseSettings, - PostgreSqlLinkedService, - PostgreSqlSource, - PostgreSqlTableDataset, - PrestoLinkedService, - PrestoObjectDataset, - PrestoSource, - QuickBooksLinkedService, - QuickBooksObjectDataset, - QuickBooksSource, - RecurrenceSchedule, - RecurrenceScheduleOccurrence, - RedirectIncompatibleRowSettings, - RedshiftUnloadSettings, - RelationalSource, - RelationalTableDataset, - RerunTriggerListResponse, - RerunTriggerResource, - RerunTumblingWindowTrigger, - RerunTumblingWindowTriggerActionParameters, - Resource, - ResponsysLinkedService, - ResponsysObjectDataset, - ResponsysSource, - RestResourceDataset, - RestServiceLinkedService, - RestSource, - RetryPolicy, - SalesforceLinkedService, - SalesforceMarketingCloudLinkedService, - SalesforceMarketingCloudObjectDataset, - SalesforceMarketingCloudSource, - SalesforceObjectDataset, - SalesforceServiceCloudLinkedService, - SalesforceServiceCloudObjectDataset, - SalesforceServiceCloudSink, - SalesforceServiceCloudSource, - SalesforceSink, - SalesforceSource, - SapBwCubeDataset, - SapBWLinkedService, - SapBwSource, - SapCloudForCustomerLinkedService, - SapCloudForCustomerResourceDataset, - SapCloudForCustomerSink, - SapCloudForCustomerSource, - SapEccLinkedService, - SapEccResourceDataset, - SapEccSource, - SapHanaLinkedService, - SapHanaPartitionSettings, - SapHanaSource, - SapHanaTableDataset, - SapOpenHubLinkedService, - SapOpenHubSource, - SapOpenHubTableDataset, - SapTableLinkedService, - SapTablePartitionSettings, - SapTableResourceDataset, - SapTableSource, - ScheduleTrigger, - ScheduleTriggerRecurrence, - ScriptAction, - SecretBase, - SecureString, - SelfDependencyTumblingWindowTriggerReference, - SelfHostedIntegrationRuntime, - ServiceNowLinkedService, - ServiceNowObjectDataset, - ServiceNowSource, - SetVariableActivity, - SftpLocation, - SftpReadSettings, - SftpServerLinkedService, - SftpWriteSettings, - ShopifyLinkedService, - ShopifyObjectDataset, - ShopifySource, - SparkLinkedService, - SparkObjectDataset, - SparkSource, - SqlDWSink, - SqlDWSource, - SqlMISink, - SqlMISource, - SqlServerLinkedService, - SqlServerSink, - SqlServerSource, - SqlServerStoredProcedureActivity, - SqlServerTableDataset, - SqlSink, - SqlSource, - SquareLinkedService, - SquareObjectDataset, - SquareSource, - SSISAccessCredential, - SSISChildPackage, - SSISExecutionCredential, - SSISExecutionParameter, - SSISLogLocation, - SSISPackageLocation, - SSISPropertyOverride, - StagingSettings, - StoredProcedureParameter, - StoreReadSettings, - StoreWriteSettings, - SubResource, - SwitchActivity, - SwitchCase, - SybaseLinkedService, - SybaseSource, - SybaseTableDataset, - TabularSource, - TeradataLinkedService, - TeradataPartitionSettings, - TeradataSource, - TeradataTableDataset, - TextFormat, - Transformation, - Trigger, - TriggerDependencyReference, - TriggerPipelineReference, - TriggerReference, - TriggerResource, - TumblingWindowTrigger, - TumblingWindowTriggerDependencyReference, - UntilActivity, - UserProperty, - ValidationActivity, - VariableSpecification, - VerticaLinkedService, - VerticaSource, - VerticaTableDataset, - WaitActivity, - WebActivity, - WebActivityAuthentication, - WebAnonymousAuthentication, - WebBasicAuthentication, - WebClientCertificateAuthentication, - WebHookActivity, - WebLinkedService, - WebLinkedServiceTypeProperties, - WebSource, - WebTableDataset, - XeroLinkedService, - XeroObjectDataset, - XeroSource, - ZohoLinkedService, - ZohoObjectDataset, - ZohoSource -} from "../models/mappers"; diff --git a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts b/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts index ce8f2bc7097d..ce3cb8c7c01e 100644 --- a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts @@ -373,7 +373,6 @@ export { RedshiftUnloadSettings, RelationalSource, RelationalTableDataset, - RerunTriggerResource, RerunTumblingWindowTrigger, Resource, ResponsysLinkedService, @@ -476,8 +475,10 @@ export { Transformation, Trigger, TriggerDependencyReference, + TriggerFilterParameters, TriggerListResponse, TriggerPipelineReference, + TriggerQueryResponse, TriggerReference, TriggerResource, TriggerSubscriptionOperationStatus, diff --git a/sdk/datafactory/arm-datafactory/src/operations/index.ts b/sdk/datafactory/arm-datafactory/src/operations/index.ts index feda4fb51a5e..a4e051342b30 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/index.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/index.ts @@ -21,6 +21,5 @@ export * from "./pipelineRuns"; export * from "./activityRuns"; export * from "./triggers"; export * from "./triggerRuns"; -export * from "./rerunTriggers"; export * from "./dataFlows"; export * from "./dataFlowDebugSession"; diff --git a/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts b/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts index e0d7c1b37157..0b0d35920ac5 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/pipelines.ts @@ -362,7 +362,8 @@ const createRunOperationSpec: msRest.OperationSpec = { Parameters.apiVersion, Parameters.referencePipelineRunId, Parameters.isRecovery, - Parameters.startActivityName + Parameters.startActivityName, + Parameters.startFromFailure ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/datafactory/arm-datafactory/src/operations/rerunTriggers.ts b/sdk/datafactory/arm-datafactory/src/operations/rerunTriggers.ts deleted file mode 100644 index 22693ccbabba..000000000000 --- a/sdk/datafactory/arm-datafactory/src/operations/rerunTriggers.ts +++ /dev/null @@ -1,406 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as Models from "../models"; -import * as Mappers from "../models/rerunTriggersMappers"; -import * as Parameters from "../models/parameters"; -import { DataFactoryManagementClientContext } from "../dataFactoryManagementClientContext"; - -/** Class representing a RerunTriggers. */ -export class RerunTriggers { - private readonly client: DataFactoryManagementClientContext; - - /** - * Create a RerunTriggers. - * @param {DataFactoryManagementClientContext} client Reference to the service client. - */ - constructor(client: DataFactoryManagementClientContext) { - this.client = client; - } - - /** - * Creates a rerun trigger. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param rerunTriggerName The rerun trigger name. - * @param rerunTumblingWindowTriggerActionParameters Rerun tumbling window trigger action - * parameters. - * @param [options] The optional parameters - * @returns Promise - */ - create(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, rerunTumblingWindowTriggerActionParameters: Models.RerunTumblingWindowTriggerActionParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param rerunTriggerName The rerun trigger name. - * @param rerunTumblingWindowTriggerActionParameters Rerun tumbling window trigger action - * parameters. - * @param callback The callback - */ - create(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, rerunTumblingWindowTriggerActionParameters: Models.RerunTumblingWindowTriggerActionParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param rerunTriggerName The rerun trigger name. - * @param rerunTumblingWindowTriggerActionParameters Rerun tumbling window trigger action - * parameters. - * @param options The optional parameters - * @param callback The callback - */ - create(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, rerunTumblingWindowTriggerActionParameters: Models.RerunTumblingWindowTriggerActionParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - create(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, rerunTumblingWindowTriggerActionParameters: Models.RerunTumblingWindowTriggerActionParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - triggerName, - rerunTriggerName, - rerunTumblingWindowTriggerActionParameters, - options - }, - createOperationSpec, - callback) as Promise; - } - - /** - * Starts a trigger. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param rerunTriggerName The rerun trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - start(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginStart(resourceGroupName,factoryName,triggerName,rerunTriggerName,options) - .then(lroPoller => lroPoller.pollUntilFinished()); - } - - /** - * Stops a trigger. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param rerunTriggerName The rerun trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - stop(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginStop(resourceGroupName,factoryName,triggerName,rerunTriggerName,options) - .then(lroPoller => lroPoller.pollUntilFinished()); - } - - /** - * Cancels a trigger. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param rerunTriggerName The rerun trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - cancel(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.beginCancel(resourceGroupName,factoryName,triggerName,rerunTriggerName,options) - .then(lroPoller => lroPoller.pollUntilFinished()); - } - - /** - * Lists rerun triggers by an original trigger name. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - listByTrigger(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param callback The callback - */ - listByTrigger(resourceGroupName: string, factoryName: string, triggerName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param options The optional parameters - * @param callback The callback - */ - listByTrigger(resourceGroupName: string, factoryName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTrigger(resourceGroupName: string, factoryName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - factoryName, - triggerName, - options - }, - listByTriggerOperationSpec, - callback) as Promise; - } - - /** - * Starts a trigger. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param rerunTriggerName The rerun trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - beginStart(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - triggerName, - rerunTriggerName, - options - }, - beginStartOperationSpec, - options); - } - - /** - * Stops a trigger. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param rerunTriggerName The rerun trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - beginStop(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - triggerName, - rerunTriggerName, - options - }, - beginStopOperationSpec, - options); - } - - /** - * Cancels a trigger. - * @param resourceGroupName The resource group name. - * @param factoryName The factory name. - * @param triggerName The trigger name. - * @param rerunTriggerName The rerun trigger name. - * @param [options] The optional parameters - * @returns Promise - */ - beginCancel(resourceGroupName: string, factoryName: string, triggerName: string, rerunTriggerName: string, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - resourceGroupName, - factoryName, - triggerName, - rerunTriggerName, - options - }, - beginCancelOperationSpec, - options); - } - - /** - * Lists rerun triggers by an original trigger name. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listByTriggerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listByTriggerNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listByTriggerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTriggerNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listByTriggerNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const createOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.triggerName, - Parameters.rerunTriggerName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "rerunTumblingWindowTriggerActionParameters", - mapper: { - ...Mappers.RerunTumblingWindowTriggerActionParameters, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.TriggerResource - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listByTriggerOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.triggerName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RerunTriggerListResponse - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginStartOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}/start", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.triggerName, - Parameters.rerunTriggerName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginStopOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}/stop", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.triggerName, - Parameters.rerunTriggerName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const beginCancelOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}/cancel", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.factoryName, - Parameters.triggerName, - Parameters.rerunTriggerName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listByTriggerNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RerunTriggerListResponse - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/datafactory/arm-datafactory/src/operations/triggers.ts b/sdk/datafactory/arm-datafactory/src/operations/triggers.ts index 49a41a8960d2..5218d661220e 100644 --- a/sdk/datafactory/arm-datafactory/src/operations/triggers.ts +++ b/sdk/datafactory/arm-datafactory/src/operations/triggers.ts @@ -59,6 +59,42 @@ export class Triggers { callback) as Promise; } + /** + * Query triggers. + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param filterParameters Parameters to filter the triggers. + * @param [options] The optional parameters + * @returns Promise + */ + queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.TriggerFilterParameters, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param filterParameters Parameters to filter the triggers. + * @param callback The callback + */ + queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.TriggerFilterParameters, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name. + * @param factoryName The factory name. + * @param filterParameters Parameters to filter the triggers. + * @param options The optional parameters + * @param callback The callback + */ + queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.TriggerFilterParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + queryByFactory(resourceGroupName: string, factoryName: string, filterParameters: Models.TriggerFilterParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + factoryName, + filterParameters, + options + }, + queryByFactoryOperationSpec, + callback) as Promise; + } + /** * Creates or updates a trigger. * @param resourceGroupName The resource group name. @@ -395,6 +431,38 @@ const listByFactoryOperationSpec: msRest.OperationSpec = { serializer }; +const queryByFactoryOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/querytriggers", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.factoryName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "filterParameters", + mapper: { + ...Mappers.TriggerFilterParameters, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.TriggerQueryResponse + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const createOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}",