diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go index 8f6f8f448455..344c36019c8d 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/activityruns.go @@ -123,8 +123,7 @@ func (client ActivityRunsClient) QueryByPipelineRunPreparer(ctx context.Context, // QueryByPipelineRunSender sends the QueryByPipelineRun request. The method will close the // http.Response Body if it receives an error. func (client ActivityRunsClient) QueryByPipelineRunSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // QueryByPipelineRunResponder handles the response to the QueryByPipelineRun request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go b/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go index 4390b73af1f7..3067c32b68d8 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/dataflowdebugsession.go @@ -128,8 +128,7 @@ func (client DataFlowDebugSessionClient) AddDataFlowPreparer(ctx context.Context // AddDataFlowSender sends the AddDataFlow request. The method will close the // http.Response Body if it receives an error. func (client DataFlowDebugSessionClient) AddDataFlowSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // AddDataFlowResponder handles the response to the AddDataFlow request. The method always @@ -217,9 +216,8 @@ func (client DataFlowDebugSessionClient) CreatePreparer(ctx context.Context, res // CreateSender sends the Create request. The method will close the // http.Response Body if it receives an error. func (client DataFlowDebugSessionClient) CreateSender(req *http.Request) (future DataFlowDebugSessionCreateFuture, err error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, sd...) + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) if err != nil { return } @@ -315,8 +313,7 @@ func (client DataFlowDebugSessionClient) DeletePreparer(ctx context.Context, res // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client DataFlowDebugSessionClient) DeleteSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // DeleteResponder handles the response to the Delete request. The method always @@ -403,9 +400,8 @@ func (client DataFlowDebugSessionClient) ExecuteCommandPreparer(ctx context.Cont // ExecuteCommandSender sends the ExecuteCommand request. The method will close the // http.Response Body if it receives an error. func (client DataFlowDebugSessionClient) ExecuteCommandSender(req *http.Request) (future DataFlowDebugSessionExecuteCommandFuture, err error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, sd...) + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) if err != nil { return } @@ -499,8 +495,7 @@ func (client DataFlowDebugSessionClient) QueryByFactoryPreparer(ctx context.Cont // QueryByFactorySender sends the QueryByFactory request. The method will close the // http.Response Body if it receives an error. func (client DataFlowDebugSessionClient) QueryByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // QueryByFactoryResponder handles the response to the QueryByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go b/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go index 873854533f12..7f4f3a9d48ee 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/dataflows.go @@ -132,8 +132,7 @@ func (client DataFlowsClient) CreateOrUpdatePreparer(ctx context.Context, resour // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DataFlowsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -227,8 +226,7 @@ func (client DataFlowsClient) DeletePreparer(ctx context.Context, resourceGroupN // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client DataFlowsClient) DeleteSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // DeleteResponder handles the response to the Delete request. The method always @@ -327,8 +325,7 @@ func (client DataFlowsClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DataFlowsClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -417,8 +414,7 @@ func (client DataFlowsClient) ListByFactoryPreparer(ctx context.Context, resourc // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client DataFlowsClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go b/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go index 3aa3cad41805..cbd1bc0e7764 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/datasets.go @@ -137,8 +137,7 @@ func (client DatasetsClient) CreateOrUpdatePreparer(ctx context.Context, resourc // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -232,8 +231,7 @@ func (client DatasetsClient) DeletePreparer(ctx context.Context, resourceGroupNa // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) DeleteSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // DeleteResponder handles the response to the Delete request. The method always @@ -332,8 +330,7 @@ func (client DatasetsClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -422,8 +419,7 @@ func (client DatasetsClient) ListByFactoryPreparer(ctx context.Context, resource // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client DatasetsClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go b/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go index 7a3f875b1126..60a1f57b0b18 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/exposurecontrol.go @@ -104,8 +104,7 @@ func (client ExposureControlClient) GetFeatureValuePreparer(ctx context.Context, // GetFeatureValueSender sends the GetFeatureValue request. The method will close the // http.Response Body if it receives an error. func (client ExposureControlClient) GetFeatureValueSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetFeatureValueResponder handles the response to the GetFeatureValue request. The method always @@ -196,8 +195,7 @@ func (client ExposureControlClient) GetFeatureValueByFactoryPreparer(ctx context // GetFeatureValueByFactorySender sends the GetFeatureValueByFactory request. The method will close the // http.Response Body if it receives an error. func (client ExposureControlClient) GetFeatureValueByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetFeatureValueByFactoryResponder handles the response to the GetFeatureValueByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/factories.go b/services/datafactory/mgmt/2018-06-01/datafactory/factories.go index f4b4f9292fdd..c11a34b374c6 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/factories.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/factories.go @@ -115,8 +115,7 @@ func (client FactoriesClient) ConfigureFactoryRepoPreparer(ctx context.Context, // ConfigureFactoryRepoSender sends the ConfigureFactoryRepo request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) ConfigureFactoryRepoSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ConfigureFactoryRepoResponder handles the response to the ConfigureFactoryRepo request. The method always @@ -224,8 +223,7 @@ func (client FactoriesClient) CreateOrUpdatePreparer(ctx context.Context, resour // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -313,8 +311,7 @@ func (client FactoriesClient) DeletePreparer(ctx context.Context, resourceGroupN // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) DeleteSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // DeleteResponder handles the response to the Delete request. The method always @@ -407,8 +404,7 @@ func (client FactoriesClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -499,8 +495,7 @@ func (client FactoriesClient) GetDataPlaneAccessPreparer(ctx context.Context, re // GetDataPlaneAccessSender sends the GetDataPlaneAccess request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) GetDataPlaneAccessSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetDataPlaneAccessResponder handles the response to the GetDataPlaneAccess request. The method always @@ -594,8 +589,7 @@ func (client FactoriesClient) GetGitHubAccessTokenPreparer(ctx context.Context, // GetGitHubAccessTokenSender sends the GetGitHubAccessToken request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) GetGitHubAccessTokenSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetGitHubAccessTokenResponder handles the response to the GetGitHubAccessToken request. The method always @@ -667,8 +661,7 @@ func (client FactoriesClient) ListPreparer(ctx context.Context) (*http.Request, // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) ListSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ListResponder handles the response to the List request. The method always @@ -788,8 +781,7 @@ func (client FactoriesClient) ListByResourceGroupPreparer(ctx context.Context, r // ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always @@ -917,8 +909,7 @@ func (client FactoriesClient) UpdatePreparer(ctx context.Context, resourceGroupN // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client FactoriesClient) UpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // UpdateResponder handles the response to the Update request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go index a33e73be463c..5762a029e13e 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimenodes.go @@ -128,8 +128,7 @@ func (client IntegrationRuntimeNodesClient) DeletePreparer(ctx context.Context, // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) DeleteSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // DeleteResponder handles the response to the Delete request. The method always @@ -228,8 +227,7 @@ func (client IntegrationRuntimeNodesClient) GetPreparer(ctx context.Context, res // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -329,8 +327,7 @@ func (client IntegrationRuntimeNodesClient) GetIPAddressPreparer(ctx context.Con // GetIPAddressSender sends the GetIPAddress request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) GetIPAddressSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetIPAddressResponder handles the response to the GetIPAddress request. The method always @@ -433,8 +430,7 @@ func (client IntegrationRuntimeNodesClient) UpdatePreparer(ctx context.Context, // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeNodesClient) UpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // UpdateResponder handles the response to the Update request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go index 419e23c6fb71..b133d4e09d2c 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimeobjectmetadata.go @@ -128,8 +128,7 @@ func (client IntegrationRuntimeObjectMetadataClient) GetPreparer(ctx context.Con // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeObjectMetadataClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -217,9 +216,8 @@ func (client IntegrationRuntimeObjectMetadataClient) RefreshPreparer(ctx context // RefreshSender sends the Refresh request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimeObjectMetadataClient) RefreshSender(req *http.Request) (future IntegrationRuntimeObjectMetadataRefreshFuture, err error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, sd...) + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) if err != nil { return } diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go index 9729cf903ba9..70d87d55e638 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/integrationruntimes.go @@ -125,8 +125,7 @@ func (client IntegrationRuntimesClient) CreateLinkedIntegrationRuntimePreparer(c // CreateLinkedIntegrationRuntimeSender sends the CreateLinkedIntegrationRuntime request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) CreateLinkedIntegrationRuntimeSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CreateLinkedIntegrationRuntimeResponder handles the response to the CreateLinkedIntegrationRuntime request. The method always @@ -231,8 +230,7 @@ func (client IntegrationRuntimesClient) CreateOrUpdatePreparer(ctx context.Conte // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -326,8 +324,7 @@ func (client IntegrationRuntimesClient) DeletePreparer(ctx context.Context, reso // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) DeleteSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // DeleteResponder handles the response to the Delete request. The method always @@ -426,8 +423,7 @@ func (client IntegrationRuntimesClient) GetPreparer(ctx context.Context, resourc // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -522,8 +518,7 @@ func (client IntegrationRuntimesClient) GetConnectionInfoPreparer(ctx context.Co // GetConnectionInfoSender sends the GetConnectionInfo request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetConnectionInfoSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetConnectionInfoResponder handles the response to the GetConnectionInfo request. The method always @@ -618,8 +613,7 @@ func (client IntegrationRuntimesClient) GetMonitoringDataPreparer(ctx context.Co // GetMonitoringDataSender sends the GetMonitoringData request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetMonitoringDataSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetMonitoringDataResponder handles the response to the GetMonitoringData request. The method always @@ -713,8 +707,7 @@ func (client IntegrationRuntimesClient) GetStatusPreparer(ctx context.Context, r // GetStatusSender sends the GetStatus request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) GetStatusSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetStatusResponder handles the response to the GetStatus request. The method always @@ -808,8 +801,7 @@ func (client IntegrationRuntimesClient) ListAuthKeysPreparer(ctx context.Context // ListAuthKeysSender sends the ListAuthKeys request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) ListAuthKeysSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ListAuthKeysResponder handles the response to the ListAuthKeys request. The method always @@ -898,8 +890,7 @@ func (client IntegrationRuntimesClient) ListByFactoryPreparer(ctx context.Contex // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always @@ -1033,8 +1024,7 @@ func (client IntegrationRuntimesClient) RegenerateAuthKeyPreparer(ctx context.Co // RegenerateAuthKeySender sends the RegenerateAuthKey request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) RegenerateAuthKeySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // RegenerateAuthKeyResponder handles the response to the RegenerateAuthKey request. The method always @@ -1133,8 +1123,7 @@ func (client IntegrationRuntimesClient) RemoveLinksPreparer(ctx context.Context, // RemoveLinksSender sends the RemoveLinks request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) RemoveLinksSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // RemoveLinksResponder handles the response to the RemoveLinks request. The method always @@ -1221,9 +1210,8 @@ func (client IntegrationRuntimesClient) StartPreparer(ctx context.Context, resou // StartSender sends the Start request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) StartSender(req *http.Request) (future IntegrationRuntimesStartFuture, err error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, sd...) + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) if err != nil { return } @@ -1316,9 +1304,8 @@ func (client IntegrationRuntimesClient) StopPreparer(ctx context.Context, resour // StopSender sends the Stop request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) StopSender(req *http.Request) (future IntegrationRuntimesStopFuture, err error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, sd...) + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) if err != nil { return } @@ -1419,8 +1406,7 @@ func (client IntegrationRuntimesClient) SyncCredentialsPreparer(ctx context.Cont // SyncCredentialsSender sends the SyncCredentials request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) SyncCredentialsSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // SyncCredentialsResponder handles the response to the SyncCredentials request. The method always @@ -1516,8 +1502,7 @@ func (client IntegrationRuntimesClient) UpdatePreparer(ctx context.Context, reso // UpdateSender sends the Update request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) UpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // UpdateResponder handles the response to the Update request. The method always @@ -1611,8 +1596,7 @@ func (client IntegrationRuntimesClient) UpgradePreparer(ctx context.Context, res // UpgradeSender sends the Upgrade request. The method will close the // http.Response Body if it receives an error. func (client IntegrationRuntimesClient) UpgradeSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // UpgradeResponder handles the response to the Upgrade request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go b/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go index 7079b43a217c..0fd456285fca 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/linkedservices.go @@ -137,8 +137,7 @@ func (client LinkedServicesClient) CreateOrUpdatePreparer(ctx context.Context, r // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -232,8 +231,7 @@ func (client LinkedServicesClient) DeletePreparer(ctx context.Context, resourceG // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) DeleteSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // DeleteResponder handles the response to the Delete request. The method always @@ -332,8 +330,7 @@ func (client LinkedServicesClient) GetPreparer(ctx context.Context, resourceGrou // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -422,8 +419,7 @@ func (client LinkedServicesClient) ListByFactoryPreparer(ctx context.Context, re // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client LinkedServicesClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/models.go b/services/datafactory/mgmt/2018-06-01/datafactory/models.go index 55a4cc92a1f4..afd9c627eb65 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/models.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/models.go @@ -3462,6 +3462,14 @@ type AddDataFlowToDebugSessionResponse struct { JobVersion *string `json:"jobVersion,omitempty"` } +// AdditionalColumns specify the column name and value of additional columns. +type AdditionalColumns struct { + // Name - Additional column name. Type: string (or Expression with resultType string). + Name interface{} `json:"name,omitempty"` + // Value - Additional column value. Type: string (or Expression with resultType string). + Value interface{} `json:"value,omitempty"` +} + // AmazonMWSLinkedService amazon Marketplace Web Service linked service. type AmazonMWSLinkedService struct { // AmazonMWSLinkedServiceTypeProperties - Amazon Marketplace Web Service linked service properties. @@ -4816,6 +4824,8 @@ type AmazonMWSSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -4838,6 +4848,9 @@ func (ams AmazonMWSSource) MarshalJSON() ([]byte, error) { if ams.QueryTimeout != nil { objectMap["queryTimeout"] = ams.QueryTimeout } + if ams.AdditionalColumns != nil { + objectMap["additionalColumns"] = ams.AdditionalColumns + } if ams.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ams.SourceRetryCount } @@ -5333,6 +5346,15 @@ func (ams *AmazonMWSSource) UnmarshalJSON(body []byte) error { } ams.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ams.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -6086,6 +6108,8 @@ type AmazonRedshiftSource struct { RedshiftUnloadSettings *RedshiftUnloadSettings `json:"redshiftUnloadSettings,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -6111,6 +6135,9 @@ func (ars AmazonRedshiftSource) MarshalJSON() ([]byte, error) { if ars.QueryTimeout != nil { objectMap["queryTimeout"] = ars.QueryTimeout } + if ars.AdditionalColumns != nil { + objectMap["additionalColumns"] = ars.AdditionalColumns + } if ars.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ars.SourceRetryCount } @@ -6615,6 +6642,15 @@ func (ars *AmazonRedshiftSource) UnmarshalJSON(body []byte) error { } ars.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ars.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -8869,6 +8905,8 @@ type AmazonS3ReadSettings struct { WildcardFileName interface{} `json:"wildcardFileName,omitempty"` // Prefix - The prefix filter for the S3 object name. Type: string (or Expression with resultType string). Prefix interface{} `json:"prefix,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). @@ -8899,6 +8937,9 @@ func (asrs AmazonS3ReadSettings) MarshalJSON() ([]byte, error) { if asrs.Prefix != nil { objectMap["prefix"] = asrs.Prefix } + if asrs.FileListPath != nil { + objectMap["fileListPath"] = asrs.FileListPath + } if asrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = asrs.EnablePartitionDiscovery } @@ -9030,6 +9071,15 @@ func (asrs *AmazonS3ReadSettings) UnmarshalJSON(body []byte) error { } asrs.Prefix = prefix } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + asrs.FileListPath = fileListPath + } case "enablePartitionDiscovery": if v != nil { var enablePartitionDiscovery bool @@ -10548,6 +10598,8 @@ func (as *AvroSink) UnmarshalJSON(body []byte) error { type AvroSource struct { // StoreSettings - Avro store settings. StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -10565,6 +10617,9 @@ func (as AvroSource) MarshalJSON() ([]byte, error) { as.Type = TypeAvroSource objectMap := make(map[string]interface{}) objectMap["storeSettings"] = as.StoreSettings + if as.AdditionalColumns != nil { + objectMap["additionalColumns"] = as.AdditionalColumns + } if as.SourceRetryCount != nil { objectMap["sourceRetryCount"] = as.SourceRetryCount } @@ -11050,6 +11105,15 @@ func (as *AvroSource) UnmarshalJSON(body []byte) error { } as.StoreSettings = storeSettings } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + as.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -14151,6 +14215,8 @@ type AzureBlobFSReadSettings struct { WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` // WildcardFileName - Azure blobFS wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). @@ -14178,6 +14244,9 @@ func (abfrs AzureBlobFSReadSettings) MarshalJSON() ([]byte, error) { if abfrs.WildcardFileName != nil { objectMap["wildcardFileName"] = abfrs.WildcardFileName } + if abfrs.FileListPath != nil { + objectMap["fileListPath"] = abfrs.FileListPath + } if abfrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = abfrs.EnablePartitionDiscovery } @@ -14300,6 +14369,15 @@ func (abfrs *AzureBlobFSReadSettings) UnmarshalJSON(body []byte) error { } abfrs.WildcardFileName = wildcardFileName } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + abfrs.FileListPath = fileListPath + } case "enablePartitionDiscovery": if v != nil { var enablePartitionDiscovery bool @@ -16307,6 +16385,8 @@ type AzureBlobStorageReadSettings struct { WildcardFileName interface{} `json:"wildcardFileName,omitempty"` // Prefix - The prefix filter for the Azure Blob name. Type: string (or Expression with resultType string). Prefix interface{} `json:"prefix,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). @@ -16337,6 +16417,9 @@ func (absrs AzureBlobStorageReadSettings) MarshalJSON() ([]byte, error) { if absrs.Prefix != nil { objectMap["prefix"] = absrs.Prefix } + if absrs.FileListPath != nil { + objectMap["fileListPath"] = absrs.FileListPath + } if absrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = absrs.EnablePartitionDiscovery } @@ -16468,6 +16551,15 @@ func (absrs *AzureBlobStorageReadSettings) UnmarshalJSON(body []byte) error { } absrs.Prefix = prefix } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + absrs.FileListPath = fileListPath + } case "enablePartitionDiscovery": if v != nil { var enablePartitionDiscovery bool @@ -18896,6 +18988,8 @@ type AzureDataExplorerSource struct { NoTruncation interface{} `json:"noTruncation,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -18921,6 +19015,9 @@ func (ades AzureDataExplorerSource) MarshalJSON() ([]byte, error) { if ades.QueryTimeout != nil { objectMap["queryTimeout"] = ades.QueryTimeout } + if ades.AdditionalColumns != nil { + objectMap["additionalColumns"] = ades.AdditionalColumns + } if ades.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ades.SourceRetryCount } @@ -19425,6 +19522,15 @@ func (ades *AzureDataExplorerSource) UnmarshalJSON(body []byte) error { } ades.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ades.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -22352,6 +22458,8 @@ type AzureDataLakeStoreReadSettings struct { WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` // WildcardFileName - ADLS wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). @@ -22379,6 +22487,9 @@ func (adlsrs AzureDataLakeStoreReadSettings) MarshalJSON() ([]byte, error) { if adlsrs.WildcardFileName != nil { objectMap["wildcardFileName"] = adlsrs.WildcardFileName } + if adlsrs.FileListPath != nil { + objectMap["fileListPath"] = adlsrs.FileListPath + } if adlsrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = adlsrs.EnablePartitionDiscovery } @@ -22501,6 +22612,15 @@ func (adlsrs *AzureDataLakeStoreReadSettings) UnmarshalJSON(body []byte) error { } adlsrs.WildcardFileName = wildcardFileName } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + adlsrs.FileListPath = fileListPath + } case "enablePartitionDiscovery": if v != nil { var enablePartitionDiscovery bool @@ -23464,6 +23584,8 @@ func (adlss *AzureDataLakeStoreSource) UnmarshalJSON(body []byte) error { // AzureDataLakeStoreWriteSettings azure data lake store write settings. type AzureDataLakeStoreWriteSettings struct { + // ExpiryDateTime - Specifies the expiry time of the written files. The time is applied to the UTC time zone in the format of "2018-12-01T05:00:00Z". Default value is NULL. Type: integer (or Expression with resultType integer). + ExpiryDateTime interface{} `json:"expiryDateTime,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). @@ -23478,6 +23600,9 @@ type AzureDataLakeStoreWriteSettings struct { func (adlsws AzureDataLakeStoreWriteSettings) MarshalJSON() ([]byte, error) { adlsws.Type = TypeAzureDataLakeStoreWriteSettings objectMap := make(map[string]interface{}) + if adlsws.ExpiryDateTime != nil { + objectMap["expiryDateTime"] = adlsws.ExpiryDateTime + } if adlsws.MaxConcurrentConnections != nil { objectMap["maxConcurrentConnections"] = adlsws.MaxConcurrentConnections } @@ -23537,6 +23662,15 @@ func (adlsws *AzureDataLakeStoreWriteSettings) UnmarshalJSON(body []byte) error } for k, v := range m { switch k { + case "expiryDateTime": + if v != nil { + var expiryDateTime interface{} + err = json.Unmarshal(*v, &expiryDateTime) + if err != nil { + return err + } + adlsws.ExpiryDateTime = expiryDateTime + } default: if v != nil { var additionalProperties interface{} @@ -24409,6 +24543,8 @@ type AzureFileStorageReadSettings struct { WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` // WildcardFileName - Azure File Storage wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). @@ -24436,6 +24572,9 @@ func (afsrs AzureFileStorageReadSettings) MarshalJSON() ([]byte, error) { if afsrs.WildcardFileName != nil { objectMap["wildcardFileName"] = afsrs.WildcardFileName } + if afsrs.FileListPath != nil { + objectMap["fileListPath"] = afsrs.FileListPath + } if afsrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = afsrs.EnablePartitionDiscovery } @@ -24558,6 +24697,15 @@ func (afsrs *AzureFileStorageReadSettings) UnmarshalJSON(body []byte) error { } afsrs.WildcardFileName = wildcardFileName } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + afsrs.FileListPath = fileListPath + } case "enablePartitionDiscovery": if v != nil { var enablePartitionDiscovery bool @@ -26933,6 +27081,8 @@ type AzureMariaDBSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -26955,6 +27105,9 @@ func (amds AzureMariaDBSource) MarshalJSON() ([]byte, error) { if amds.QueryTimeout != nil { objectMap["queryTimeout"] = amds.QueryTimeout } + if amds.AdditionalColumns != nil { + objectMap["additionalColumns"] = amds.AdditionalColumns + } if amds.SourceRetryCount != nil { objectMap["sourceRetryCount"] = amds.SourceRetryCount } @@ -27450,6 +27603,15 @@ func (amds *AzureMariaDBSource) UnmarshalJSON(body []byte) error { } amds.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + amds.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -31587,6 +31749,8 @@ type AzureMySQLSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -31609,6 +31773,9 @@ func (amss AzureMySQLSource) MarshalJSON() ([]byte, error) { if amss.QueryTimeout != nil { objectMap["queryTimeout"] = amss.QueryTimeout } + if amss.AdditionalColumns != nil { + objectMap["additionalColumns"] = amss.AdditionalColumns + } if amss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = amss.SourceRetryCount } @@ -32104,6 +32271,15 @@ func (amss *AzureMySQLSource) UnmarshalJSON(body []byte) error { } amss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + amss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -33724,6 +33900,8 @@ type AzurePostgreSQLSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -33746,6 +33924,9 @@ func (apss AzurePostgreSQLSource) MarshalJSON() ([]byte, error) { if apss.QueryTimeout != nil { objectMap["queryTimeout"] = apss.QueryTimeout } + if apss.AdditionalColumns != nil { + objectMap["additionalColumns"] = apss.AdditionalColumns + } if apss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = apss.SourceRetryCount } @@ -34241,6 +34422,15 @@ func (apss *AzurePostgreSQLSource) UnmarshalJSON(body []byte) error { } apss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + apss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -40549,6 +40739,8 @@ type AzureSQLSource struct { ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -40580,6 +40772,9 @@ func (ass AzureSQLSource) MarshalJSON() ([]byte, error) { if ass.QueryTimeout != nil { objectMap["queryTimeout"] = ass.QueryTimeout } + if ass.AdditionalColumns != nil { + objectMap["additionalColumns"] = ass.AdditionalColumns + } if ass.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ass.SourceRetryCount } @@ -41102,6 +41297,15 @@ func (ass *AzureSQLSource) UnmarshalJSON(body []byte) error { } ass.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ass.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -43392,6 +43596,8 @@ type AzureTableSource struct { AzureTableSourceIgnoreTableNotFound interface{} `json:"azureTableSourceIgnoreTableNotFound,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -43417,6 +43623,9 @@ func (ats AzureTableSource) MarshalJSON() ([]byte, error) { if ats.QueryTimeout != nil { objectMap["queryTimeout"] = ats.QueryTimeout } + if ats.AdditionalColumns != nil { + objectMap["additionalColumns"] = ats.AdditionalColumns + } if ats.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ats.SourceRetryCount } @@ -43921,6 +44130,15 @@ func (ats *AzureTableSource) UnmarshalJSON(body []byte) error { } ats.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ats.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -48138,6 +48356,8 @@ type CassandraSource struct { ConsistencyLevel CassandraSourceReadConsistencyLevels `json:"consistencyLevel,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -48163,6 +48383,9 @@ func (cs CassandraSource) MarshalJSON() ([]byte, error) { if cs.QueryTimeout != nil { objectMap["queryTimeout"] = cs.QueryTimeout } + if cs.AdditionalColumns != nil { + objectMap["additionalColumns"] = cs.AdditionalColumns + } if cs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = cs.SourceRetryCount } @@ -48667,6 +48890,15 @@ func (cs *CassandraSource) UnmarshalJSON(body []byte) error { } cs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + cs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -51440,6 +51672,8 @@ func (cdsfas *CommonDataServiceForAppsSink) UnmarshalJSON(body []byte) error { type CommonDataServiceForAppsSource struct { // Query - FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -51459,6 +51693,9 @@ func (cdsfas CommonDataServiceForAppsSource) MarshalJSON() ([]byte, error) { if cdsfas.Query != nil { objectMap["query"] = cdsfas.Query } + if cdsfas.AdditionalColumns != nil { + objectMap["additionalColumns"] = cdsfas.AdditionalColumns + } if cdsfas.SourceRetryCount != nil { objectMap["sourceRetryCount"] = cdsfas.SourceRetryCount } @@ -51945,6 +52182,15 @@ func (cdsfas *CommonDataServiceForAppsSource) UnmarshalJSON(body []byte) error { } cdsfas.Query = query } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + cdsfas.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -53400,6 +53646,8 @@ type ConcurSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -53422,6 +53670,9 @@ func (cs ConcurSource) MarshalJSON() ([]byte, error) { if cs.QueryTimeout != nil { objectMap["queryTimeout"] = cs.QueryTimeout } + if cs.AdditionalColumns != nil { + objectMap["additionalColumns"] = cs.AdditionalColumns + } if cs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = cs.SourceRetryCount } @@ -53917,6 +54168,15 @@ func (cs *ConcurSource) UnmarshalJSON(body []byte) error { } cs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + cs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -54780,10 +55040,16 @@ type CopyActivityTypeProperties struct { EnableSkipIncompatibleRow interface{} `json:"enableSkipIncompatibleRow,omitempty"` // RedirectIncompatibleRowSettings - Redirect incompatible row settings when EnableSkipIncompatibleRow is true. RedirectIncompatibleRowSettings *RedirectIncompatibleRowSettings `json:"redirectIncompatibleRowSettings,omitempty"` + // LogStorageSettings - Log storage settings customer need to provide when enabling session log. + LogStorageSettings *LogStorageSettings `json:"logStorageSettings,omitempty"` // PreserveRules - Preserve Rules. PreserveRules *[]interface{} `json:"preserveRules,omitempty"` // Preserve - Preserve rules. Preserve *[]interface{} `json:"preserve,omitempty"` + // ValidateDataConsistency - Whether to enable Data Consistency validation. Type: boolean (or Expression with resultType boolean). + ValidateDataConsistency interface{} `json:"validateDataConsistency,omitempty"` + // SkipErrorFile - Specify the fault tolerance for data consistency. + SkipErrorFile *SkipErrorFile `json:"skipErrorFile,omitempty"` } // UnmarshalJSON is the custom unmarshaler for CopyActivityTypeProperties struct. @@ -54874,6 +55140,15 @@ func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error { } catp.RedirectIncompatibleRowSettings = &redirectIncompatibleRowSettings } + case "logStorageSettings": + if v != nil { + var logStorageSettings LogStorageSettings + err = json.Unmarshal(*v, &logStorageSettings) + if err != nil { + return err + } + catp.LogStorageSettings = &logStorageSettings + } case "preserveRules": if v != nil { var preserveRules []interface{} @@ -54892,6 +55167,24 @@ func (catp *CopyActivityTypeProperties) UnmarshalJSON(body []byte) error { } catp.Preserve = &preserve } + case "validateDataConsistency": + if v != nil { + var validateDataConsistency interface{} + err = json.Unmarshal(*v, &validateDataConsistency) + if err != nil { + return err + } + catp.ValidateDataConsistency = validateDataConsistency + } + case "skipErrorFile": + if v != nil { + var skipErrorFile SkipErrorFile + err = json.Unmarshal(*v, &skipErrorFile) + if err != nil { + return err + } + catp.SkipErrorFile = &skipErrorFile + } } } @@ -58682,6 +58975,8 @@ type CosmosDbMongoDbAPISource struct { BatchSize interface{} `json:"batchSize,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -58710,6 +59005,9 @@ func (cdmdas CosmosDbMongoDbAPISource) MarshalJSON() ([]byte, error) { if cdmdas.QueryTimeout != nil { objectMap["queryTimeout"] = cdmdas.QueryTimeout } + if cdmdas.AdditionalColumns != nil { + objectMap["additionalColumns"] = cdmdas.AdditionalColumns + } if cdmdas.SourceRetryCount != nil { objectMap["sourceRetryCount"] = cdmdas.SourceRetryCount } @@ -59223,6 +59521,15 @@ func (cdmdas *CosmosDbMongoDbAPISource) UnmarshalJSON(body []byte) error { } cdmdas.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + cdmdas.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -60226,6 +60533,8 @@ type CosmosDbSQLAPISource struct { PageSize interface{} `json:"pageSize,omitempty"` // PreferredRegions - Preferred regions. Type: array of strings (or Expression with resultType array of strings). PreferredRegions interface{} `json:"preferredRegions,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -60251,6 +60560,9 @@ func (cdsas CosmosDbSQLAPISource) MarshalJSON() ([]byte, error) { if cdsas.PreferredRegions != nil { objectMap["preferredRegions"] = cdsas.PreferredRegions } + if cdsas.AdditionalColumns != nil { + objectMap["additionalColumns"] = cdsas.AdditionalColumns + } if cdsas.SourceRetryCount != nil { objectMap["sourceRetryCount"] = cdsas.SourceRetryCount } @@ -60755,6 +61067,15 @@ func (cdsas *CosmosDbSQLAPISource) UnmarshalJSON(body []byte) error { } cdsas.PreferredRegions = preferredRegions } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + cdsas.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -61432,6 +61753,8 @@ type CouchbaseSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -61454,6 +61777,9 @@ func (cs CouchbaseSource) MarshalJSON() ([]byte, error) { if cs.QueryTimeout != nil { objectMap["queryTimeout"] = cs.QueryTimeout } + if cs.AdditionalColumns != nil { + objectMap["additionalColumns"] = cs.AdditionalColumns + } if cs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = cs.SourceRetryCount } @@ -61949,6 +62275,15 @@ func (cs *CouchbaseSource) UnmarshalJSON(body []byte) error { } cs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + cs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -69695,21 +70030,23 @@ func (d2ls *Db2LinkedService) UnmarshalJSON(body []byte) error { // Db2LinkedServiceTypeProperties dB2 linked service properties. type Db2LinkedServiceTypeProperties struct { - // Server - Server name for connection. Type: string (or Expression with resultType string). + // ConnectionString - The connection string. It is mutually exclusive with server, database, authenticationType, userName, packageCollection and certificateCommonName property. Type: string, SecureString or AzureKeyVaultSecretReference. + ConnectionString interface{} `json:"connectionString,omitempty"` + // Server - Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). Server interface{} `json:"server,omitempty"` - // Database - Database name for connection. Type: string (or Expression with resultType string). + // Database - Database name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). Database interface{} `json:"database,omitempty"` - // AuthenticationType - AuthenticationType to be used for connection. Possible values include: 'Basic' + // AuthenticationType - AuthenticationType to be used for connection. It is mutually exclusive with connectionString property. Possible values include: 'Basic' AuthenticationType Db2AuthenticationType `json:"authenticationType,omitempty"` - // Username - Username for authentication. Type: string (or Expression with resultType string). + // Username - Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). Username interface{} `json:"username,omitempty"` // Password - Password for authentication. Password BasicSecretBase `json:"password,omitempty"` - // PackageCollection - Under where packages are created when querying database. Type: string (or Expression with resultType string). + // PackageCollection - Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). PackageCollection interface{} `json:"packageCollection,omitempty"` - // CertificateCommonName - Certificate Common Name when TLS is enabled. Type: string (or Expression with resultType string). + // CertificateCommonName - Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string). CertificateCommonName interface{} `json:"certificateCommonName,omitempty"` - // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + // EncryptedCredential - 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 interface{} `json:"encryptedCredential,omitempty"` } @@ -69722,6 +70059,15 @@ func (d2lstp *Db2LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "connectionString": + if v != nil { + var connectionString interface{} + err = json.Unmarshal(*v, &connectionString) + if err != nil { + return err + } + d2lstp.ConnectionString = connectionString + } case "server": if v != nil { var server interface{} @@ -69805,6 +70151,8 @@ type Db2Source struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -69827,6 +70175,9 @@ func (d2s Db2Source) MarshalJSON() ([]byte, error) { if d2s.QueryTimeout != nil { objectMap["queryTimeout"] = d2s.QueryTimeout } + if d2s.AdditionalColumns != nil { + objectMap["additionalColumns"] = d2s.AdditionalColumns + } if d2s.SourceRetryCount != nil { objectMap["sourceRetryCount"] = d2s.SourceRetryCount } @@ -70322,6 +70673,15 @@ func (d2s *Db2Source) UnmarshalJSON(body []byte) error { } d2s.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + d2s.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -72540,6 +72900,8 @@ type DelimitedTextSource struct { StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` // FormatSettings - DelimitedText format settings. FormatSettings *DelimitedTextReadSettings `json:"formatSettings,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -72560,6 +72922,9 @@ func (dts DelimitedTextSource) MarshalJSON() ([]byte, error) { if dts.FormatSettings != nil { objectMap["formatSettings"] = dts.FormatSettings } + if dts.AdditionalColumns != nil { + objectMap["additionalColumns"] = dts.AdditionalColumns + } if dts.SourceRetryCount != nil { objectMap["sourceRetryCount"] = dts.SourceRetryCount } @@ -73054,6 +73419,15 @@ func (dts *DelimitedTextSource) UnmarshalJSON(body []byte) error { } dts.FormatSettings = &formatSettings } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + dts.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -74291,6 +74665,8 @@ type DocumentDbCollectionSource struct { NestingSeparator interface{} `json:"nestingSeparator,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -74316,6 +74692,9 @@ func (ddcs DocumentDbCollectionSource) MarshalJSON() ([]byte, error) { if ddcs.QueryTimeout != nil { objectMap["queryTimeout"] = ddcs.QueryTimeout } + if ddcs.AdditionalColumns != nil { + objectMap["additionalColumns"] = ddcs.AdditionalColumns + } if ddcs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ddcs.SourceRetryCount } @@ -74820,6 +75199,15 @@ func (ddcs *DocumentDbCollectionSource) UnmarshalJSON(body []byte) error { } ddcs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ddcs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -75507,6 +75895,8 @@ type DrillSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -75529,6 +75919,9 @@ func (ds DrillSource) MarshalJSON() ([]byte, error) { if ds.QueryTimeout != nil { objectMap["queryTimeout"] = ds.QueryTimeout } + if ds.AdditionalColumns != nil { + objectMap["additionalColumns"] = ds.AdditionalColumns + } if ds.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ds.SourceRetryCount } @@ -76024,6 +76417,15 @@ func (ds *DrillSource) UnmarshalJSON(body []byte) error { } ds.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ds.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -78037,6 +78439,8 @@ type DynamicsAXSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -78059,6 +78463,9 @@ func (das DynamicsAXSource) MarshalJSON() ([]byte, error) { if das.QueryTimeout != nil { objectMap["queryTimeout"] = das.QueryTimeout } + if das.AdditionalColumns != nil { + objectMap["additionalColumns"] = das.AdditionalColumns + } if das.SourceRetryCount != nil { objectMap["sourceRetryCount"] = das.SourceRetryCount } @@ -78554,6 +78961,15 @@ func (das *DynamicsAXSource) UnmarshalJSON(body []byte) error { } das.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + das.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -80337,6 +80753,8 @@ func (dcs *DynamicsCrmSink) UnmarshalJSON(body []byte) error { type DynamicsCrmSource struct { // Query - FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -80356,6 +80774,9 @@ func (dcs DynamicsCrmSource) MarshalJSON() ([]byte, error) { if dcs.Query != nil { objectMap["query"] = dcs.Query } + if dcs.AdditionalColumns != nil { + objectMap["additionalColumns"] = dcs.AdditionalColumns + } if dcs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = dcs.SourceRetryCount } @@ -80842,6 +81263,15 @@ func (dcs *DynamicsCrmSource) UnmarshalJSON(body []byte) error { } dcs.Query = query } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + dcs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -82625,6 +83055,8 @@ func (ds *DynamicsSink) UnmarshalJSON(body []byte) error { type DynamicsSource struct { // Query - FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -82644,6 +83076,9 @@ func (ds DynamicsSource) MarshalJSON() ([]byte, error) { if ds.Query != nil { objectMap["query"] = ds.Query } + if ds.AdditionalColumns != nil { + objectMap["additionalColumns"] = ds.AdditionalColumns + } if ds.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ds.SourceRetryCount } @@ -83130,6 +83565,15 @@ func (ds *DynamicsSource) UnmarshalJSON(body []byte) error { } ds.Query = query } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ds.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -84506,6 +84950,8 @@ type EloquaSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -84528,6 +84974,9 @@ func (es EloquaSource) MarshalJSON() ([]byte, error) { if es.QueryTimeout != nil { objectMap["queryTimeout"] = es.QueryTimeout } + if es.AdditionalColumns != nil { + objectMap["additionalColumns"] = es.AdditionalColumns + } if es.SourceRetryCount != nil { objectMap["sourceRetryCount"] = es.SourceRetryCount } @@ -85023,6 +85472,15 @@ func (es *EloquaSource) UnmarshalJSON(body []byte) error { } es.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + es.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -88337,6 +88795,8 @@ type FileServerReadSettings struct { WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` // WildcardFileName - FileServer wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). @@ -88364,6 +88824,9 @@ func (fsrs FileServerReadSettings) MarshalJSON() ([]byte, error) { if fsrs.WildcardFileName != nil { objectMap["wildcardFileName"] = fsrs.WildcardFileName } + if fsrs.FileListPath != nil { + objectMap["fileListPath"] = fsrs.FileListPath + } if fsrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = fsrs.EnablePartitionDiscovery } @@ -88486,6 +88949,15 @@ func (fsrs *FileServerReadSettings) UnmarshalJSON(body []byte) error { } fsrs.WildcardFileName = wildcardFileName } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + fsrs.FileListPath = fileListPath + } case "enablePartitionDiscovery": if v != nil { var enablePartitionDiscovery bool @@ -89702,6 +90174,8 @@ func (fss *FileSystemSink) UnmarshalJSON(body []byte) error { type FileSystemSource struct { // Recursive - If true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). Recursive interface{} `json:"recursive,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -89721,6 +90195,9 @@ func (fss FileSystemSource) MarshalJSON() ([]byte, error) { if fss.Recursive != nil { objectMap["recursive"] = fss.Recursive } + if fss.AdditionalColumns != nil { + objectMap["additionalColumns"] = fss.AdditionalColumns + } if fss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = fss.SourceRetryCount } @@ -90207,6 +90684,15 @@ func (fss *FileSystemSource) UnmarshalJSON(body []byte) error { } fss.Recursive = recursive } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + fss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -91243,6 +91729,8 @@ type FtpReadSettings struct { WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` // WildcardFileName - Ftp wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // UseBinaryTransfer - Specify whether to use binary transfer mode for FTP stores. UseBinaryTransfer *bool `json:"useBinaryTransfer,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection @@ -91266,6 +91754,9 @@ func (frs FtpReadSettings) MarshalJSON() ([]byte, error) { if frs.WildcardFileName != nil { objectMap["wildcardFileName"] = frs.WildcardFileName } + if frs.FileListPath != nil { + objectMap["fileListPath"] = frs.FileListPath + } if frs.UseBinaryTransfer != nil { objectMap["useBinaryTransfer"] = frs.UseBinaryTransfer } @@ -91382,6 +91873,15 @@ func (frs *FtpReadSettings) UnmarshalJSON(body []byte) error { } frs.WildcardFileName = wildcardFileName } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + frs.FileListPath = fileListPath + } case "useBinaryTransfer": if v != nil { var useBinaryTransfer bool @@ -94102,6 +94602,8 @@ type GoogleAdWordsSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -94124,6 +94626,9 @@ func (gaws GoogleAdWordsSource) MarshalJSON() ([]byte, error) { if gaws.QueryTimeout != nil { objectMap["queryTimeout"] = gaws.QueryTimeout } + if gaws.AdditionalColumns != nil { + objectMap["additionalColumns"] = gaws.AdditionalColumns + } if gaws.SourceRetryCount != nil { objectMap["sourceRetryCount"] = gaws.SourceRetryCount } @@ -94619,6 +95124,15 @@ func (gaws *GoogleAdWordsSource) UnmarshalJSON(body []byte) error { } gaws.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + gaws.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -96059,6 +96573,8 @@ type GoogleBigQuerySource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -96081,6 +96597,9 @@ func (gbqs GoogleBigQuerySource) MarshalJSON() ([]byte, error) { if gbqs.QueryTimeout != nil { objectMap["queryTimeout"] = gbqs.QueryTimeout } + if gbqs.AdditionalColumns != nil { + objectMap["additionalColumns"] = gbqs.AdditionalColumns + } if gbqs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = gbqs.SourceRetryCount } @@ -96576,6 +97095,15 @@ func (gbqs *GoogleBigQuerySource) UnmarshalJSON(body []byte) error { } gbqs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + gbqs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -97487,6 +98015,8 @@ type GoogleCloudStorageReadSettings struct { WildcardFileName interface{} `json:"wildcardFileName,omitempty"` // Prefix - The prefix filter for the Google Cloud Storage object name. Type: string (or Expression with resultType string). Prefix interface{} `json:"prefix,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). @@ -97517,6 +98047,9 @@ func (gcsrs GoogleCloudStorageReadSettings) MarshalJSON() ([]byte, error) { if gcsrs.Prefix != nil { objectMap["prefix"] = gcsrs.Prefix } + if gcsrs.FileListPath != nil { + objectMap["fileListPath"] = gcsrs.FileListPath + } if gcsrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = gcsrs.EnablePartitionDiscovery } @@ -97648,6 +98181,15 @@ func (gcsrs *GoogleCloudStorageReadSettings) UnmarshalJSON(body []byte) error { } gcsrs.Prefix = prefix } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + gcsrs.FileListPath = fileListPath + } case "enablePartitionDiscovery": if v != nil { var enablePartitionDiscovery bool @@ -98344,6 +98886,8 @@ type GreenplumSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -98366,6 +98910,9 @@ func (gs GreenplumSource) MarshalJSON() ([]byte, error) { if gs.QueryTimeout != nil { objectMap["queryTimeout"] = gs.QueryTimeout } + if gs.AdditionalColumns != nil { + objectMap["additionalColumns"] = gs.AdditionalColumns + } if gs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = gs.SourceRetryCount } @@ -98861,6 +99408,15 @@ func (gs *GreenplumSource) UnmarshalJSON(body []byte) error { } gs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + gs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -100895,6 +101451,8 @@ type HBaseSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -100917,6 +101475,9 @@ func (hbs HBaseSource) MarshalJSON() ([]byte, error) { if hbs.QueryTimeout != nil { objectMap["queryTimeout"] = hbs.QueryTimeout } + if hbs.AdditionalColumns != nil { + objectMap["additionalColumns"] = hbs.AdditionalColumns + } if hbs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = hbs.SourceRetryCount } @@ -101412,6 +101973,15 @@ func (hbs *HBaseSource) UnmarshalJSON(body []byte) error { } hbs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + hbs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -102304,6 +102874,8 @@ type HdfsReadSettings struct { WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` // WildcardFileName - HDFS wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // EnablePartitionDiscovery - Indicates whether to enable partition discovery. EnablePartitionDiscovery *bool `json:"enablePartitionDiscovery,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). @@ -102333,6 +102905,9 @@ func (hrs HdfsReadSettings) MarshalJSON() ([]byte, error) { if hrs.WildcardFileName != nil { objectMap["wildcardFileName"] = hrs.WildcardFileName } + if hrs.FileListPath != nil { + objectMap["fileListPath"] = hrs.FileListPath + } if hrs.EnablePartitionDiscovery != nil { objectMap["enablePartitionDiscovery"] = hrs.EnablePartitionDiscovery } @@ -102458,6 +103033,15 @@ func (hrs *HdfsReadSettings) UnmarshalJSON(body []byte) error { } hrs.WildcardFileName = wildcardFileName } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + hrs.FileListPath = fileListPath + } case "enablePartitionDiscovery": if v != nil { var enablePartitionDiscovery bool @@ -108283,6 +108867,8 @@ type HiveSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -108305,6 +108891,9 @@ func (hs HiveSource) MarshalJSON() ([]byte, error) { if hs.QueryTimeout != nil { objectMap["queryTimeout"] = hs.QueryTimeout } + if hs.AdditionalColumns != nil { + objectMap["additionalColumns"] = hs.AdditionalColumns + } if hs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = hs.SourceRetryCount } @@ -108800,6 +109389,15 @@ func (hs *HiveSource) UnmarshalJSON(body []byte) error { } hs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + hs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -112516,6 +113114,8 @@ type HubspotSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -112538,6 +113138,9 @@ func (hs HubspotSource) MarshalJSON() ([]byte, error) { if hs.QueryTimeout != nil { objectMap["queryTimeout"] = hs.QueryTimeout } + if hs.AdditionalColumns != nil { + objectMap["additionalColumns"] = hs.AdditionalColumns + } if hs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = hs.SourceRetryCount } @@ -113033,6 +113636,15 @@ func (hs *HubspotSource) UnmarshalJSON(body []byte) error { } hs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + hs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -114842,6 +115454,8 @@ type ImpalaSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -114864,6 +115478,9 @@ func (is ImpalaSource) MarshalJSON() ([]byte, error) { if is.QueryTimeout != nil { objectMap["queryTimeout"] = is.QueryTimeout } + if is.AdditionalColumns != nil { + objectMap["additionalColumns"] = is.AdditionalColumns + } if is.SourceRetryCount != nil { objectMap["sourceRetryCount"] = is.SourceRetryCount } @@ -115359,6 +115976,15 @@ func (is *ImpalaSource) UnmarshalJSON(body []byte) error { } is.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + is.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -116430,6 +117056,8 @@ type InformixSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -116452,6 +117080,9 @@ func (is InformixSource) MarshalJSON() ([]byte, error) { if is.QueryTimeout != nil { objectMap["queryTimeout"] = is.QueryTimeout } + if is.AdditionalColumns != nil { + objectMap["additionalColumns"] = is.AdditionalColumns + } if is.SourceRetryCount != nil { objectMap["sourceRetryCount"] = is.SourceRetryCount } @@ -116947,6 +117578,15 @@ func (is *InformixSource) UnmarshalJSON(body []byte) error { } is.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + is.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -120463,6 +121103,8 @@ type JiraSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -120485,6 +121127,9 @@ func (js JiraSource) MarshalJSON() ([]byte, error) { if js.QueryTimeout != nil { objectMap["queryTimeout"] = js.QueryTimeout } + if js.AdditionalColumns != nil { + objectMap["additionalColumns"] = js.AdditionalColumns + } if js.SourceRetryCount != nil { objectMap["sourceRetryCount"] = js.SourceRetryCount } @@ -120980,6 +121625,15 @@ func (js *JiraSource) UnmarshalJSON(body []byte) error { } js.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + js.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -122224,6 +122878,8 @@ func (js *JSONSink) UnmarshalJSON(body []byte) error { type JSONSource struct { // StoreSettings - Json store settings. StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -122241,6 +122897,9 @@ func (js JSONSource) MarshalJSON() ([]byte, error) { js.Type = TypeJSONSource objectMap := make(map[string]interface{}) objectMap["storeSettings"] = js.StoreSettings + if js.AdditionalColumns != nil { + objectMap["additionalColumns"] = js.AdditionalColumns + } if js.SourceRetryCount != nil { objectMap["sourceRetryCount"] = js.SourceRetryCount } @@ -122726,6 +123385,15 @@ func (js *JSONSource) UnmarshalJSON(body []byte) error { } js.StoreSettings = storeSettings } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + js.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -126278,6 +126946,8 @@ type MagentoSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -126300,6 +126970,9 @@ func (ms MagentoSource) MarshalJSON() ([]byte, error) { if ms.QueryTimeout != nil { objectMap["queryTimeout"] = ms.QueryTimeout } + if ms.AdditionalColumns != nil { + objectMap["additionalColumns"] = ms.AdditionalColumns + } if ms.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ms.SourceRetryCount } @@ -126795,6 +127468,15 @@ func (ms *MagentoSource) UnmarshalJSON(body []byte) error { } ms.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ms.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -127883,6 +128565,8 @@ type MariaDBSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -127905,6 +128589,9 @@ func (mds MariaDBSource) MarshalJSON() ([]byte, error) { if mds.QueryTimeout != nil { objectMap["queryTimeout"] = mds.QueryTimeout } + if mds.AdditionalColumns != nil { + objectMap["additionalColumns"] = mds.AdditionalColumns + } if mds.SourceRetryCount != nil { objectMap["sourceRetryCount"] = mds.SourceRetryCount } @@ -128400,6 +129087,15 @@ func (mds *MariaDBSource) UnmarshalJSON(body []byte) error { } mds.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + mds.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -130390,6 +131086,8 @@ type MarketoSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -130412,6 +131110,9 @@ func (ms MarketoSource) MarshalJSON() ([]byte, error) { if ms.QueryTimeout != nil { objectMap["queryTimeout"] = ms.QueryTimeout } + if ms.AdditionalColumns != nil { + objectMap["additionalColumns"] = ms.AdditionalColumns + } if ms.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ms.SourceRetryCount } @@ -130907,6 +131608,15 @@ func (ms *MarketoSource) UnmarshalJSON(body []byte) error { } ms.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ms.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -131976,6 +132686,8 @@ func (mas *MicrosoftAccessSink) UnmarshalJSON(body []byte) error { type MicrosoftAccessSource struct { // Query - Database query. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -131995,6 +132707,9 @@ func (mas MicrosoftAccessSource) MarshalJSON() ([]byte, error) { if mas.Query != nil { objectMap["query"] = mas.Query } + if mas.AdditionalColumns != nil { + objectMap["additionalColumns"] = mas.AdditionalColumns + } if mas.SourceRetryCount != nil { objectMap["sourceRetryCount"] = mas.SourceRetryCount } @@ -132481,6 +133196,15 @@ func (mas *MicrosoftAccessSource) UnmarshalJSON(body []byte) error { } mas.Query = query } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + mas.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -134612,6 +135336,8 @@ func (mdlstp *MongoDbLinkedServiceTypeProperties) UnmarshalJSON(body []byte) err type MongoDbSource struct { // Query - Database query. Should be a SQL-92 query expression. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -134631,6 +135357,9 @@ func (mds MongoDbSource) MarshalJSON() ([]byte, error) { if mds.Query != nil { objectMap["query"] = mds.Query } + if mds.AdditionalColumns != nil { + objectMap["additionalColumns"] = mds.AdditionalColumns + } if mds.SourceRetryCount != nil { objectMap["sourceRetryCount"] = mds.SourceRetryCount } @@ -135117,6 +135846,15 @@ func (mds *MongoDbSource) UnmarshalJSON(body []byte) error { } mds.Query = query } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + mds.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -136416,6 +137154,8 @@ type MongoDbV2Source struct { BatchSize interface{} `json:"batchSize,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -136444,6 +137184,9 @@ func (mdvs MongoDbV2Source) MarshalJSON() ([]byte, error) { if mdvs.QueryTimeout != nil { objectMap["queryTimeout"] = mdvs.QueryTimeout } + if mdvs.AdditionalColumns != nil { + objectMap["additionalColumns"] = mdvs.AdditionalColumns + } if mdvs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = mdvs.SourceRetryCount } @@ -136957,6 +137700,15 @@ func (mdvs *MongoDbV2Source) UnmarshalJSON(body []byte) error { } mdvs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + mdvs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -137847,6 +138599,8 @@ type MySQLSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -137869,6 +138623,9 @@ func (mss MySQLSource) MarshalJSON() ([]byte, error) { if mss.QueryTimeout != nil { objectMap["queryTimeout"] = mss.QueryTimeout } + if mss.AdditionalColumns != nil { + objectMap["additionalColumns"] = mss.AdditionalColumns + } if mss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = mss.SourceRetryCount } @@ -138364,6 +139121,15 @@ func (mss *MySQLSource) UnmarshalJSON(body []byte) error { } mss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + mss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -139675,6 +140441,8 @@ type NetezzaSource struct { PartitionSettings *NetezzaPartitionSettings `json:"partitionSettings,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -139703,6 +140471,9 @@ func (ns NetezzaSource) MarshalJSON() ([]byte, error) { if ns.QueryTimeout != nil { objectMap["queryTimeout"] = ns.QueryTimeout } + if ns.AdditionalColumns != nil { + objectMap["additionalColumns"] = ns.AdditionalColumns + } if ns.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ns.SourceRetryCount } @@ -140216,6 +140987,15 @@ func (ns *NetezzaSource) UnmarshalJSON(body []byte) error { } ns.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ns.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -142272,6 +143052,8 @@ type ODataResourceDatasetTypeProperties struct { type ODataSource struct { // Query - OData query. For example, "$top=1". Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -142291,6 +143073,9 @@ func (ods ODataSource) MarshalJSON() ([]byte, error) { if ods.Query != nil { objectMap["query"] = ods.Query } + if ods.AdditionalColumns != nil { + objectMap["additionalColumns"] = ods.AdditionalColumns + } if ods.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ods.SourceRetryCount } @@ -142777,6 +143562,15 @@ func (ods *ODataSource) UnmarshalJSON(body []byte) error { } ods.Query = query } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ods.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -143848,6 +144642,8 @@ type OdbcSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -143870,6 +144666,9 @@ func (osVar OdbcSource) MarshalJSON() ([]byte, error) { if osVar.QueryTimeout != nil { objectMap["queryTimeout"] = osVar.QueryTimeout } + if osVar.AdditionalColumns != nil { + objectMap["additionalColumns"] = osVar.AdditionalColumns + } if osVar.SourceRetryCount != nil { objectMap["sourceRetryCount"] = osVar.SourceRetryCount } @@ -144365,6 +145164,15 @@ func (osVar *OdbcSource) UnmarshalJSON(body []byte) error { } osVar.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + osVar.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -149230,6 +150038,8 @@ type OracleServiceCloudSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -149252,6 +150062,9 @@ func (oscs OracleServiceCloudSource) MarshalJSON() ([]byte, error) { if oscs.QueryTimeout != nil { objectMap["queryTimeout"] = oscs.QueryTimeout } + if oscs.AdditionalColumns != nil { + objectMap["additionalColumns"] = oscs.AdditionalColumns + } if oscs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = oscs.SourceRetryCount } @@ -149747,6 +150560,15 @@ func (oscs *OracleServiceCloudSource) UnmarshalJSON(body []byte) error { } oscs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + oscs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -150132,6 +150954,8 @@ type OracleSource struct { PartitionOption OraclePartitionOption `json:"partitionOption,omitempty"` // PartitionSettings - The settings that will be leveraged for Oracle source partitioning. PartitionSettings *OraclePartitionSettings `json:"partitionSettings,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -150160,6 +150984,9 @@ func (osVar OracleSource) MarshalJSON() ([]byte, error) { if osVar.PartitionSettings != nil { objectMap["partitionSettings"] = osVar.PartitionSettings } + if osVar.AdditionalColumns != nil { + objectMap["additionalColumns"] = osVar.AdditionalColumns + } if osVar.SourceRetryCount != nil { objectMap["sourceRetryCount"] = osVar.SourceRetryCount } @@ -150673,6 +151500,15 @@ func (osVar *OracleSource) UnmarshalJSON(body []byte) error { } osVar.PartitionSettings = &partitionSettings } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + osVar.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -152447,6 +153283,8 @@ func (osVar *OrcSink) UnmarshalJSON(body []byte) error { type OrcSource struct { // StoreSettings - ORC store settings. StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -152464,6 +153302,9 @@ func (osVar OrcSource) MarshalJSON() ([]byte, error) { osVar.Type = TypeOrcSource objectMap := make(map[string]interface{}) objectMap["storeSettings"] = osVar.StoreSettings + if osVar.AdditionalColumns != nil { + objectMap["additionalColumns"] = osVar.AdditionalColumns + } if osVar.SourceRetryCount != nil { objectMap["sourceRetryCount"] = osVar.SourceRetryCount } @@ -152949,6 +153790,15 @@ func (osVar *OrcSource) UnmarshalJSON(body []byte) error { } osVar.StoreSettings = storeSettings } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + osVar.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -154106,6 +154956,8 @@ func (ps *ParquetSink) UnmarshalJSON(body []byte) error { type ParquetSource struct { // StoreSettings - Parquet store settings. StoreSettings BasicStoreReadSettings `json:"storeSettings,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -154123,6 +154975,9 @@ func (ps ParquetSource) MarshalJSON() ([]byte, error) { ps.Type = TypeParquetSource objectMap := make(map[string]interface{}) objectMap["storeSettings"] = ps.StoreSettings + if ps.AdditionalColumns != nil { + objectMap["additionalColumns"] = ps.AdditionalColumns + } if ps.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ps.SourceRetryCount } @@ -154608,6 +155463,15 @@ func (ps *ParquetSource) UnmarshalJSON(body []byte) error { } ps.StoreSettings = storeSettings } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ps.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -155984,6 +156848,8 @@ type PaypalSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -156006,6 +156872,9 @@ func (ps PaypalSource) MarshalJSON() ([]byte, error) { if ps.QueryTimeout != nil { objectMap["queryTimeout"] = ps.QueryTimeout } + if ps.AdditionalColumns != nil { + objectMap["additionalColumns"] = ps.AdditionalColumns + } if ps.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ps.SourceRetryCount } @@ -156501,6 +157370,15 @@ func (ps *PaypalSource) UnmarshalJSON(body []byte) error { } ps.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ps.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -157942,6 +158820,8 @@ type PhoenixSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -157964,6 +158844,9 @@ func (ps PhoenixSource) MarshalJSON() ([]byte, error) { if ps.QueryTimeout != nil { objectMap["queryTimeout"] = ps.QueryTimeout } + if ps.AdditionalColumns != nil { + objectMap["additionalColumns"] = ps.AdditionalColumns + } if ps.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ps.SourceRetryCount } @@ -158459,6 +159342,15 @@ func (ps *PhoenixSource) UnmarshalJSON(body []byte) error { } ps.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ps.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -159839,6 +160731,8 @@ type PostgreSQLSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -159861,6 +160755,9 @@ func (pss PostgreSQLSource) MarshalJSON() ([]byte, error) { if pss.QueryTimeout != nil { objectMap["queryTimeout"] = pss.QueryTimeout } + if pss.AdditionalColumns != nil { + objectMap["additionalColumns"] = pss.AdditionalColumns + } if pss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = pss.SourceRetryCount } @@ -160356,6 +161253,15 @@ func (pss *PostgreSQLSource) UnmarshalJSON(body []byte) error { } pss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + pss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -162443,6 +163349,8 @@ type PrestoSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -162465,6 +163373,9 @@ func (ps PrestoSource) MarshalJSON() ([]byte, error) { if ps.QueryTimeout != nil { objectMap["queryTimeout"] = ps.QueryTimeout } + if ps.AdditionalColumns != nil { + objectMap["additionalColumns"] = ps.AdditionalColumns + } if ps.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ps.SourceRetryCount } @@ -162960,6 +163871,15 @@ func (ps *PrestoSource) UnmarshalJSON(body []byte) error { } ps.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ps.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -164492,6 +165412,8 @@ type QuickBooksSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -164514,6 +165436,9 @@ func (qbs QuickBooksSource) MarshalJSON() ([]byte, error) { if qbs.QueryTimeout != nil { objectMap["queryTimeout"] = qbs.QueryTimeout } + if qbs.AdditionalColumns != nil { + objectMap["additionalColumns"] = qbs.AdditionalColumns + } if qbs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = qbs.SourceRetryCount } @@ -165009,6 +165934,15 @@ func (qbs *QuickBooksSource) UnmarshalJSON(body []byte) error { } qbs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + qbs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -165329,6 +166263,8 @@ type RedshiftUnloadSettings struct { type RelationalSource struct { // Query - Database query. Type: string (or Expression with resultType string). Query interface{} `json:"query,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -165348,6 +166284,9 @@ func (rs RelationalSource) MarshalJSON() ([]byte, error) { if rs.Query != nil { objectMap["query"] = rs.Query } + if rs.AdditionalColumns != nil { + objectMap["additionalColumns"] = rs.AdditionalColumns + } if rs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = rs.SourceRetryCount } @@ -165834,6 +166773,15 @@ func (rs *RelationalSource) UnmarshalJSON(body []byte) error { } rs.Query = query } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + rs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -168031,6 +168979,8 @@ type ResponsysSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -168053,6 +169003,9 @@ func (rs ResponsysSource) MarshalJSON() ([]byte, error) { if rs.QueryTimeout != nil { objectMap["queryTimeout"] = rs.QueryTimeout } + if rs.AdditionalColumns != nil { + objectMap["additionalColumns"] = rs.AdditionalColumns + } if rs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = rs.SourceRetryCount } @@ -168548,6 +169501,15 @@ func (rs *ResponsysSource) UnmarshalJSON(body []byte) error { } rs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + rs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -169978,6 +170940,8 @@ type RestSource struct { HTTPRequestTimeout interface{} `json:"httpRequestTimeout,omitempty"` // RequestInterval - The time to await before sending next page request. RequestInterval interface{} `json:"requestInterval,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -170012,6 +170976,9 @@ func (rs RestSource) MarshalJSON() ([]byte, error) { if rs.RequestInterval != nil { objectMap["requestInterval"] = rs.RequestInterval } + if rs.AdditionalColumns != nil { + objectMap["additionalColumns"] = rs.AdditionalColumns + } if rs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = rs.SourceRetryCount } @@ -170543,6 +171510,15 @@ func (rs *RestSource) UnmarshalJSON(body []byte) error { } rs.RequestInterval = requestInterval } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + rs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -171252,8 +172228,10 @@ type SalesforceLinkedServiceTypeProperties struct { Username interface{} `json:"username,omitempty"` // Password - The password for Basic authentication of the Salesforce instance. Password BasicSecretBase `json:"password,omitempty"` - // SecurityToken - The security token is required to remotely access Salesforce instance. + // SecurityToken - The security token is optional to remotely access Salesforce instance. SecurityToken BasicSecretBase `json:"securityToken,omitempty"` + // APIVersion - The Salesforce API version used in ADF. Type: string (or Expression with resultType string). + APIVersion interface{} `json:"apiVersion,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). EncryptedCredential interface{} `json:"encryptedCredential,omitempty"` } @@ -171301,6 +172279,15 @@ func (slstp *SalesforceLinkedServiceTypeProperties) UnmarshalJSON(body []byte) e } slstp.SecurityToken = securityToken } + case "apiVersion": + if v != nil { + var APIVersion interface{} + err = json.Unmarshal(*v, &APIVersion) + if err != nil { + return err + } + slstp.APIVersion = APIVersion + } case "encryptedCredential": if v != nil { var encryptedCredential interface{} @@ -172628,6 +173615,8 @@ type SalesforceMarketingCloudSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -172650,6 +173639,9 @@ func (smcs SalesforceMarketingCloudSource) MarshalJSON() ([]byte, error) { if smcs.QueryTimeout != nil { objectMap["queryTimeout"] = smcs.QueryTimeout } + if smcs.AdditionalColumns != nil { + objectMap["additionalColumns"] = smcs.AdditionalColumns + } if smcs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = smcs.SourceRetryCount } @@ -173145,6 +174137,15 @@ func (smcs *SalesforceMarketingCloudSource) UnmarshalJSON(body []byte) error { } smcs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + smcs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -174434,8 +175435,10 @@ type SalesforceServiceCloudLinkedServiceTypeProperties struct { Username interface{} `json:"username,omitempty"` // Password - The password for Basic authentication of the Salesforce instance. Password BasicSecretBase `json:"password,omitempty"` - // SecurityToken - The security token is required to remotely access Salesforce instance. + // SecurityToken - The security token is optional to remotely access Salesforce instance. SecurityToken BasicSecretBase `json:"securityToken,omitempty"` + // APIVersion - The Salesforce API version used in ADF. Type: string (or Expression with resultType string). + APIVersion interface{} `json:"apiVersion,omitempty"` // ExtendedProperties - Extended properties appended to the connection string. Type: string (or Expression with resultType string). ExtendedProperties interface{} `json:"extendedProperties,omitempty"` // EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). @@ -174485,6 +175488,15 @@ func (ssclstp *SalesforceServiceCloudLinkedServiceTypeProperties) UnmarshalJSON( } ssclstp.SecurityToken = securityToken } + case "apiVersion": + if v != nil { + var APIVersion interface{} + err = json.Unmarshal(*v, &APIVersion) + if err != nil { + return err + } + ssclstp.APIVersion = APIVersion + } case "extendedProperties": if v != nil { var extendedProperties interface{} @@ -175484,6 +176496,8 @@ type SalesforceServiceCloudSource struct { Query interface{} `json:"query,omitempty"` // ReadBehavior - The read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll' ReadBehavior SalesforceSourceReadBehavior `json:"readBehavior,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -175506,6 +176520,9 @@ func (sscs SalesforceServiceCloudSource) MarshalJSON() ([]byte, error) { if sscs.ReadBehavior != "" { objectMap["readBehavior"] = sscs.ReadBehavior } + if sscs.AdditionalColumns != nil { + objectMap["additionalColumns"] = sscs.AdditionalColumns + } if sscs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sscs.SourceRetryCount } @@ -176001,6 +177018,15 @@ func (sscs *SalesforceServiceCloudSource) UnmarshalJSON(body []byte) error { } sscs.ReadBehavior = readBehavior } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + sscs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -176412,6 +177438,8 @@ type SalesforceSource struct { ReadBehavior SalesforceSourceReadBehavior `json:"readBehavior,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -176437,6 +177465,9 @@ func (ss SalesforceSource) MarshalJSON() ([]byte, error) { if ss.QueryTimeout != nil { objectMap["queryTimeout"] = ss.QueryTimeout } + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns + } if ss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ss.SourceRetryCount } @@ -176941,6 +177972,15 @@ func (ss *SalesforceSource) UnmarshalJSON(body []byte) error { } ss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -178292,6 +179332,8 @@ type SapBwSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -178314,6 +179356,9 @@ func (sbs SapBwSource) MarshalJSON() ([]byte, error) { if sbs.QueryTimeout != nil { objectMap["queryTimeout"] = sbs.QueryTimeout } + if sbs.AdditionalColumns != nil { + objectMap["additionalColumns"] = sbs.AdditionalColumns + } if sbs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sbs.SourceRetryCount } @@ -178809,6 +179854,15 @@ func (sbs *SapBwSource) UnmarshalJSON(body []byte) error { } sbs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + sbs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -180480,6 +181534,8 @@ type SapCloudForCustomerSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -180502,6 +181558,9 @@ func (scfcs SapCloudForCustomerSource) MarshalJSON() ([]byte, error) { if scfcs.QueryTimeout != nil { objectMap["queryTimeout"] = scfcs.QueryTimeout } + if scfcs.AdditionalColumns != nil { + objectMap["additionalColumns"] = scfcs.AdditionalColumns + } if scfcs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = scfcs.SourceRetryCount } @@ -180997,6 +182056,15 @@ func (scfcs *SapCloudForCustomerSource) UnmarshalJSON(body []byte) error { } scfcs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + scfcs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -182346,6 +183414,8 @@ type SapEccSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -182368,6 +183438,9 @@ func (ses SapEccSource) MarshalJSON() ([]byte, error) { if ses.QueryTimeout != nil { objectMap["queryTimeout"] = ses.QueryTimeout } + if ses.AdditionalColumns != nil { + objectMap["additionalColumns"] = ses.AdditionalColumns + } if ses.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ses.SourceRetryCount } @@ -182863,6 +183936,15 @@ func (ses *SapEccSource) UnmarshalJSON(body []byte) error { } ses.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ses.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -183626,6 +184708,8 @@ type SapHanaSource struct { PartitionSettings *SapHanaPartitionSettings `json:"partitionSettings,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -183657,6 +184741,9 @@ func (shs SapHanaSource) MarshalJSON() ([]byte, error) { if shs.QueryTimeout != nil { objectMap["queryTimeout"] = shs.QueryTimeout } + if shs.AdditionalColumns != nil { + objectMap["additionalColumns"] = shs.AdditionalColumns + } if shs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = shs.SourceRetryCount } @@ -184179,6 +185266,15 @@ func (shs *SapHanaSource) UnmarshalJSON(body []byte) error { } shs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + shs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -185566,6 +186662,8 @@ type SapOpenHubSource struct { BaseRequestID interface{} `json:"baseRequestId,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -185591,6 +186689,9 @@ func (sohs SapOpenHubSource) MarshalJSON() ([]byte, error) { if sohs.QueryTimeout != nil { objectMap["queryTimeout"] = sohs.QueryTimeout } + if sohs.AdditionalColumns != nil { + objectMap["additionalColumns"] = sohs.AdditionalColumns + } if sohs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sohs.SourceRetryCount } @@ -186095,6 +187196,15 @@ func (sohs *SapOpenHubSource) UnmarshalJSON(body []byte) error { } sohs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + sohs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -188226,6 +189336,8 @@ type SapTableSource struct { PartitionSettings *SapTablePartitionSettings `json:"partitionSettings,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -188269,6 +189381,9 @@ func (sts SapTableSource) MarshalJSON() ([]byte, error) { if sts.QueryTimeout != nil { objectMap["queryTimeout"] = sts.QueryTimeout } + if sts.AdditionalColumns != nil { + objectMap["additionalColumns"] = sts.AdditionalColumns + } if sts.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sts.SourceRetryCount } @@ -188827,6 +189942,15 @@ func (sts *SapTableSource) UnmarshalJSON(body []byte) error { } sts.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + sts.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -191076,6 +192200,8 @@ type ServiceNowSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -191098,6 +192224,9 @@ func (sns ServiceNowSource) MarshalJSON() ([]byte, error) { if sns.QueryTimeout != nil { objectMap["queryTimeout"] = sns.QueryTimeout } + if sns.AdditionalColumns != nil { + objectMap["additionalColumns"] = sns.AdditionalColumns + } if sns.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sns.SourceRetryCount } @@ -191593,6 +192722,15 @@ func (sns *ServiceNowSource) UnmarshalJSON(body []byte) error { } sns.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + sns.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -192140,6 +193278,8 @@ type SftpReadSettings struct { WildcardFolderPath interface{} `json:"wildcardFolderPath,omitempty"` // WildcardFileName - Sftp wildcardFileName. Type: string (or Expression with resultType string). WildcardFileName interface{} `json:"wildcardFileName,omitempty"` + // FileListPath - Point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). + FileListPath interface{} `json:"fileListPath,omitempty"` // ModifiedDatetimeStart - The start of file's modified datetime. Type: string (or Expression with resultType string). ModifiedDatetimeStart interface{} `json:"modifiedDatetimeStart,omitempty"` // ModifiedDatetimeEnd - The end of file's modified datetime. Type: string (or Expression with resultType string). @@ -192165,6 +193305,9 @@ func (srs SftpReadSettings) MarshalJSON() ([]byte, error) { if srs.WildcardFileName != nil { objectMap["wildcardFileName"] = srs.WildcardFileName } + if srs.FileListPath != nil { + objectMap["fileListPath"] = srs.FileListPath + } if srs.ModifiedDatetimeStart != nil { objectMap["modifiedDatetimeStart"] = srs.ModifiedDatetimeStart } @@ -192284,6 +193427,15 @@ func (srs *SftpReadSettings) UnmarshalJSON(body []byte) error { } srs.WildcardFileName = wildcardFileName } + case "fileListPath": + if v != nil { + var fileListPath interface{} + err = json.Unmarshal(*v, &fileListPath) + if err != nil { + return err + } + srs.FileListPath = fileListPath + } case "modifiedDatetimeStart": if v != nil { var modifiedDatetimeStart interface{} @@ -193086,6 +194238,8 @@ func (sslstp *SftpServerLinkedServiceTypeProperties) UnmarshalJSON(body []byte) type SftpWriteSettings struct { // OperationTimeout - Specifies the timeout for writing each chunk to SFTP server. Default value: 01:00:00 (one hour). Type: string (or Expression with resultType string). OperationTimeout interface{} `json:"operationTimeout,omitempty"` + // UseTempFileRename - 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 interface{} `json:"useTempFileRename,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // MaxConcurrentConnections - The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). @@ -193103,6 +194257,9 @@ func (sws SftpWriteSettings) MarshalJSON() ([]byte, error) { if sws.OperationTimeout != nil { objectMap["operationTimeout"] = sws.OperationTimeout } + if sws.UseTempFileRename != nil { + objectMap["useTempFileRename"] = sws.UseTempFileRename + } if sws.MaxConcurrentConnections != nil { objectMap["maxConcurrentConnections"] = sws.MaxConcurrentConnections } @@ -193171,6 +194328,15 @@ func (sws *SftpWriteSettings) UnmarshalJSON(body []byte) error { } sws.OperationTimeout = operationTimeout } + case "useTempFileRename": + if v != nil { + var useTempFileRename interface{} + err = json.Unmarshal(*v, &useTempFileRename) + if err != nil { + return err + } + sws.UseTempFileRename = useTempFileRename + } default: if v != nil { var additionalProperties interface{} @@ -194527,6 +195693,8 @@ type ShopifySource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -194549,6 +195717,9 @@ func (ss ShopifySource) MarshalJSON() ([]byte, error) { if ss.QueryTimeout != nil { objectMap["queryTimeout"] = ss.QueryTimeout } + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns + } if ss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ss.SourceRetryCount } @@ -195044,6 +196215,15 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { } ss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -195098,6 +196278,14 @@ func (ss *ShopifySource) UnmarshalJSON(body []byte) error { return nil } +// SkipErrorFile skip error file. +type SkipErrorFile struct { + // FileMissing - Skip if file is deleted by other client during copy. Default is true. Type: boolean (or Expression with resultType boolean). + FileMissing interface{} `json:"fileMissing,omitempty"` + // DataInconsistency - Skip if source/sink file changed by other concurrent write. Default is false. Type: boolean (or Expression with resultType boolean). + DataInconsistency interface{} `json:"dataInconsistency,omitempty"` +} + // SparkDatasetTypeProperties spark Properties type SparkDatasetTypeProperties struct { // TableName - This property will be retired. Please consider using schema + table properties instead. @@ -196507,6 +197695,8 @@ type SparkSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -196529,6 +197719,9 @@ func (ss SparkSource) MarshalJSON() ([]byte, error) { if ss.QueryTimeout != nil { objectMap["queryTimeout"] = ss.QueryTimeout } + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns + } if ss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ss.SourceRetryCount } @@ -197024,6 +198217,15 @@ func (ss *SparkSource) UnmarshalJSON(body []byte) error { } ss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -197479,6 +198681,8 @@ type SQLDWSource struct { StoredProcedureParameters interface{} `json:"storedProcedureParameters,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -197507,6 +198711,9 @@ func (sds SQLDWSource) MarshalJSON() ([]byte, error) { if sds.QueryTimeout != nil { objectMap["queryTimeout"] = sds.QueryTimeout } + if sds.AdditionalColumns != nil { + objectMap["additionalColumns"] = sds.AdditionalColumns + } if sds.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sds.SourceRetryCount } @@ -198020,6 +199227,15 @@ func (sds *SQLDWSource) UnmarshalJSON(body []byte) error { } sds.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + sds.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -198477,6 +199693,8 @@ type SQLMISource struct { ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -198508,6 +199726,9 @@ func (sms SQLMISource) MarshalJSON() ([]byte, error) { if sms.QueryTimeout != nil { objectMap["queryTimeout"] = sms.QueryTimeout } + if sms.AdditionalColumns != nil { + objectMap["additionalColumns"] = sms.AdditionalColumns + } if sms.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sms.SourceRetryCount } @@ -199030,6 +200251,15 @@ func (sms *SQLMISource) UnmarshalJSON(body []byte) error { } sms.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + sms.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -200156,6 +201386,8 @@ type SQLServerSource struct { ProduceAdditionalTypes interface{} `json:"produceAdditionalTypes,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -200187,6 +201419,9 @@ func (sss SQLServerSource) MarshalJSON() ([]byte, error) { if sss.QueryTimeout != nil { objectMap["queryTimeout"] = sss.QueryTimeout } + if sss.AdditionalColumns != nil { + objectMap["additionalColumns"] = sss.AdditionalColumns + } if sss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = sss.SourceRetryCount } @@ -200709,6 +201944,15 @@ func (sss *SQLServerSource) UnmarshalJSON(body []byte) error { } sss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + sss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -202161,8 +203405,12 @@ type SQLSource struct { SQLReaderStoredProcedureName interface{} `json:"sqlReaderStoredProcedureName,omitempty"` // StoredProcedureParameters - Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". StoredProcedureParameters map[string]*StoredProcedureParameter `json:"storedProcedureParameters"` + // IsolationLevel - Specifies the transaction locking behavior for the SQL source. Allowed values: ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot. The default value is ReadCommitted. Type: string (or Expression with resultType string). + IsolationLevel interface{} `json:"isolationLevel,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -202188,9 +203436,15 @@ func (ss SQLSource) MarshalJSON() ([]byte, error) { if ss.StoredProcedureParameters != nil { objectMap["storedProcedureParameters"] = ss.StoredProcedureParameters } + if ss.IsolationLevel != nil { + objectMap["isolationLevel"] = ss.IsolationLevel + } if ss.QueryTimeout != nil { objectMap["queryTimeout"] = ss.QueryTimeout } + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns + } if ss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ss.SourceRetryCount } @@ -202695,6 +203949,15 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { } ss.StoredProcedureParameters = storedProcedureParameters } + case "isolationLevel": + if v != nil { + var isolationLevel interface{} + err = json.Unmarshal(*v, &isolationLevel) + if err != nil { + return err + } + ss.IsolationLevel = isolationLevel + } case "queryTimeout": if v != nil { var queryTimeout interface{} @@ -202704,6 +203967,15 @@ func (ss *SQLSource) UnmarshalJSON(body []byte) error { } ss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -204091,6 +205363,8 @@ type SquareSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -204113,6 +205387,9 @@ func (ss SquareSource) MarshalJSON() ([]byte, error) { if ss.QueryTimeout != nil { objectMap["queryTimeout"] = ss.QueryTimeout } + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns + } if ss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ss.SourceRetryCount } @@ -204608,6 +205885,15 @@ func (ss *SquareSource) UnmarshalJSON(body []byte) error { } ss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -207160,6 +208446,8 @@ type SybaseSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -207182,6 +208470,9 @@ func (ss SybaseSource) MarshalJSON() ([]byte, error) { if ss.QueryTimeout != nil { objectMap["queryTimeout"] = ss.QueryTimeout } + if ss.AdditionalColumns != nil { + objectMap["additionalColumns"] = ss.AdditionalColumns + } if ss.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ss.SourceRetryCount } @@ -207677,6 +208968,15 @@ func (ss *SybaseSource) UnmarshalJSON(body []byte) error { } ss.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ss.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -208417,6 +209717,8 @@ type BasicTabularSource interface { type TabularSource struct { // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -208697,6 +209999,9 @@ func (ts TabularSource) MarshalJSON() ([]byte, error) { if ts.QueryTimeout != nil { objectMap["queryTimeout"] = ts.QueryTimeout } + if ts.AdditionalColumns != nil { + objectMap["additionalColumns"] = ts.AdditionalColumns + } if ts.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ts.SourceRetryCount } @@ -209183,6 +210488,15 @@ func (ts *TabularSource) UnmarshalJSON(body []byte) error { } ts.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ts.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -209948,6 +211262,8 @@ type TeradataSource struct { PartitionSettings *TeradataPartitionSettings `json:"partitionSettings,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -209976,6 +211292,9 @@ func (ts TeradataSource) MarshalJSON() ([]byte, error) { if ts.QueryTimeout != nil { objectMap["queryTimeout"] = ts.QueryTimeout } + if ts.AdditionalColumns != nil { + objectMap["additionalColumns"] = ts.AdditionalColumns + } if ts.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ts.SourceRetryCount } @@ -210489,6 +211808,15 @@ func (ts *TeradataSource) UnmarshalJSON(body []byte) error { } ts.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ts.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -214010,6 +215338,8 @@ type VerticaSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -214032,6 +215362,9 @@ func (vs VerticaSource) MarshalJSON() ([]byte, error) { if vs.QueryTimeout != nil { objectMap["queryTimeout"] = vs.QueryTimeout } + if vs.AdditionalColumns != nil { + objectMap["additionalColumns"] = vs.AdditionalColumns + } if vs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = vs.SourceRetryCount } @@ -214527,6 +215860,15 @@ func (vs *VerticaSource) UnmarshalJSON(body []byte) error { } vs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + vs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -217282,6 +218624,8 @@ func (wlstp WebLinkedServiceTypeProperties) AsBasicWebLinkedServiceTypePropertie // WebSource a copy activity source for web page table. type WebSource struct { + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -217298,6 +218642,9 @@ type WebSource struct { func (ws WebSource) MarshalJSON() ([]byte, error) { ws.Type = TypeWebSource objectMap := make(map[string]interface{}) + if ws.AdditionalColumns != nil { + objectMap["additionalColumns"] = ws.AdditionalColumns + } if ws.SourceRetryCount != nil { objectMap["sourceRetryCount"] = ws.SourceRetryCount } @@ -217775,6 +219122,15 @@ func (ws *WebSource) UnmarshalJSON(body []byte) error { } for k, v := range m { switch k { + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + ws.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -219773,6 +221129,8 @@ type XeroSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -219795,6 +221153,9 @@ func (xs XeroSource) MarshalJSON() ([]byte, error) { if xs.QueryTimeout != nil { objectMap["queryTimeout"] = xs.QueryTimeout } + if xs.AdditionalColumns != nil { + objectMap["additionalColumns"] = xs.AdditionalColumns + } if xs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = xs.SourceRetryCount } @@ -220290,6 +221651,15 @@ func (xs *XeroSource) UnmarshalJSON(body []byte) error { } xs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + xs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} @@ -221655,6 +223025,8 @@ type ZohoSource struct { Query interface{} `json:"query,omitempty"` // QueryTimeout - Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout interface{} `json:"queryTimeout,omitempty"` + // AdditionalColumns - Specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + AdditionalColumns *[]AdditionalColumns `json:"additionalColumns,omitempty"` // AdditionalProperties - Unmatched properties from the message are deserialized this collection AdditionalProperties map[string]interface{} `json:""` // SourceRetryCount - Source retry count. Type: integer (or Expression with resultType integer). @@ -221677,6 +223049,9 @@ func (zs ZohoSource) MarshalJSON() ([]byte, error) { if zs.QueryTimeout != nil { objectMap["queryTimeout"] = zs.QueryTimeout } + if zs.AdditionalColumns != nil { + objectMap["additionalColumns"] = zs.AdditionalColumns + } if zs.SourceRetryCount != nil { objectMap["sourceRetryCount"] = zs.SourceRetryCount } @@ -222172,6 +223547,15 @@ func (zs *ZohoSource) UnmarshalJSON(body []byte) error { } zs.QueryTimeout = queryTimeout } + case "additionalColumns": + if v != nil { + var additionalColumns []AdditionalColumns + err = json.Unmarshal(*v, &additionalColumns) + if err != nil { + return err + } + zs.AdditionalColumns = &additionalColumns + } default: if v != nil { var additionalProperties interface{} diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/operations.go b/services/datafactory/mgmt/2018-06-01/datafactory/operations.go index b0eff6eb954f..ec3e6a67afea 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/operations.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/operations.go @@ -94,8 +94,7 @@ func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, // ListSender sends the List request. The method will close the // http.Response Body if it receives an error. func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...)) } // ListResponder handles the response to the List request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go index 9625f588ceaf..8c332481c071 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/pipelineruns.go @@ -121,8 +121,7 @@ func (client PipelineRunsClient) CancelPreparer(ctx context.Context, resourceGro // CancelSender sends the Cancel request. The method will close the // http.Response Body if it receives an error. func (client PipelineRunsClient) CancelSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CancelResponder handles the response to the Cancel request. The method always @@ -211,8 +210,7 @@ func (client PipelineRunsClient) GetPreparer(ctx context.Context, resourceGroupN // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client PipelineRunsClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -306,8 +304,7 @@ func (client PipelineRunsClient) QueryByFactoryPreparer(ctx context.Context, res // QueryByFactorySender sends the QueryByFactory request. The method will close the // http.Response Body if it receives an error. func (client PipelineRunsClient) QueryByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // QueryByFactoryResponder handles the response to the QueryByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go b/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go index f546c2b795e0..5cb292f51a23 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/pipelines.go @@ -135,8 +135,7 @@ func (client PipelinesClient) CreateOrUpdatePreparer(ctx context.Context, resour // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -257,8 +256,7 @@ func (client PipelinesClient) CreateRunPreparer(ctx context.Context, resourceGro // CreateRunSender sends the CreateRun request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) CreateRunSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CreateRunResponder handles the response to the CreateRun request. The method always @@ -352,8 +350,7 @@ func (client PipelinesClient) DeletePreparer(ctx context.Context, resourceGroupN // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) DeleteSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // DeleteResponder handles the response to the Delete request. The method always @@ -452,8 +449,7 @@ func (client PipelinesClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -542,8 +538,7 @@ func (client PipelinesClient) ListByFactoryPreparer(ctx context.Context, resourc // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client PipelinesClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go b/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go index a6346a64820c..4840dc84e0bd 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/triggerruns.go @@ -121,8 +121,7 @@ func (client TriggerRunsClient) QueryByFactoryPreparer(ctx context.Context, reso // QueryByFactorySender sends the QueryByFactory request. The method will close the // http.Response Body if it receives an error. func (client TriggerRunsClient) QueryByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // QueryByFactoryResponder handles the response to the QueryByFactory request. The method always @@ -218,8 +217,7 @@ func (client TriggerRunsClient) RerunPreparer(ctx context.Context, resourceGroup // RerunSender sends the Rerun request. The method will close the // http.Response Body if it receives an error. func (client TriggerRunsClient) RerunSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // RerunResponder handles the response to the Rerun request. The method always diff --git a/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go b/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go index 4b57fd333a18..b5b728d3ae3b 100644 --- a/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go +++ b/services/datafactory/mgmt/2018-06-01/datafactory/triggers.go @@ -132,8 +132,7 @@ func (client TriggersClient) CreateOrUpdatePreparer(ctx context.Context, resourc // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always @@ -227,8 +226,7 @@ func (client TriggersClient) DeletePreparer(ctx context.Context, resourceGroupNa // DeleteSender sends the Delete request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) DeleteSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // DeleteResponder handles the response to the Delete request. The method always @@ -327,8 +325,7 @@ func (client TriggersClient) GetPreparer(ctx context.Context, resourceGroupName // GetSender sends the Get request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) GetSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetResponder handles the response to the Get request. The method always @@ -422,8 +419,7 @@ func (client TriggersClient) GetEventSubscriptionStatusPreparer(ctx context.Cont // GetEventSubscriptionStatusSender sends the GetEventSubscriptionStatus request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) GetEventSubscriptionStatusSender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // GetEventSubscriptionStatusResponder handles the response to the GetEventSubscriptionStatus request. The method always @@ -512,8 +508,7 @@ func (client TriggersClient) ListByFactoryPreparer(ctx context.Context, resource // ListByFactorySender sends the ListByFactory request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) ListByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // ListByFactoryResponder handles the response to the ListByFactory request. The method always @@ -641,8 +636,7 @@ func (client TriggersClient) QueryByFactoryPreparer(ctx context.Context, resourc // QueryByFactorySender sends the QueryByFactory request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) QueryByFactorySender(req *http.Request) (*http.Response, error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) - return autorest.SendWithSender(client, req, sd...) + return client.Send(req, azure.DoRetryWithRegistration(client.Client)) } // QueryByFactoryResponder handles the response to the QueryByFactory request. The method always @@ -730,9 +724,8 @@ func (client TriggersClient) StartPreparer(ctx context.Context, resourceGroupNam // StartSender sends the Start request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) StartSender(req *http.Request) (future TriggersStartFuture, err error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, sd...) + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) if err != nil { return } @@ -824,9 +817,8 @@ func (client TriggersClient) StopPreparer(ctx context.Context, resourceGroupName // StopSender sends the Stop request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) StopSender(req *http.Request) (future TriggersStopFuture, err error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, sd...) + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) if err != nil { return } @@ -918,9 +910,8 @@ func (client TriggersClient) SubscribeToEventsPreparer(ctx context.Context, reso // SubscribeToEventsSender sends the SubscribeToEvents request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) SubscribeToEventsSender(req *http.Request) (future TriggersSubscribeToEventsFuture, err error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, sd...) + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) if err != nil { return } @@ -1013,9 +1004,8 @@ func (client TriggersClient) UnsubscribeFromEventsPreparer(ctx context.Context, // UnsubscribeFromEventsSender sends the UnsubscribeFromEvents request. The method will close the // http.Response Body if it receives an error. func (client TriggersClient) UnsubscribeFromEventsSender(req *http.Request) (future TriggersUnsubscribeFromEventsFuture, err error) { - sd := autorest.GetSendDecorators(req.Context(), azure.DoRetryWithRegistration(client.Client)) var resp *http.Response - resp, err = autorest.SendWithSender(client, req, sd...) + resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client)) if err != nil { return }