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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,69 +1,77 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"factoryName": "exampleFactoryName",
"filterParameters": {
"lastUpdatedAfter": "2018-06-16T00:36:44.3345758Z",
"lastUpdatedBefore": "2018-06-16T00:49:48.3686473Z",
"filters": [
{
"operand": "PipelineName",
"operator": "Equals",
"values": [
"examplePipeline"
]
}
]
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"factoryName": "exampleFactoryName",
"filterParameters": {
"lastUpdatedAfter": "2019-02-21T23:46:23.9907022Z",
"lastUpdatedBefore": "2019-02-22T00:04:32.2322734Z",
"filters": [
{
"operand": "PipelineName",
"operator": "Equals",
"values": [
"examplePipeline"
]
}
]
},
"api-version": "2018-06-01"
},
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {
"Date": "Sat, 16 Jun 2018 00:40:01 GMT",
"Date": "Thu, 21 Feb 2019 23:54:48 GMT",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-subscription-reads": "14989",
"x-ms-request-id": "2f955e10-c6df-45a7-97d4-81acdb8540cd",
"x-ms-correlation-request-id": "2f955e10-c6df-45a7-97d4-81acdb8540cd"
"x-ms-ratelimit-remaining-subscription-reads": "11998",
"x-ms-request-id": "a1267e2f-f7bb-442f-b2e4-c88bd2b62557",
"x-ms-correlation-request-id": "a1267e2f-f7bb-442f-b2e4-c88bd2b62557"
},
"body": {
"value": [
{
"runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b",
"runId": "2d25e280-f4ac-4ceb-b446-4fbabff10c16",
"runGroupId": "2d25e280-f4ac-4ceb-b446-4fbabff10c16",
"pipelineName": "examplePipeline",
"parameters": {
"OutputBlobNameList": "[\"exampleoutput.csv\"]"
"OutputBlobNameList": "[\r\n \"exampleoutput.csv\"\r\n]"
},
"invokedBy": {
"id": "80a01654a9d34ad18b3fcac5d5d76b67",
"name": "Manual"
"id": "d461d53360bb4dc1a9c42e223fd831cf",
"name": "Manual",
"invokedByType": "Manual"
},
"runStart": "2018-06-16T00:37:44.6257014Z",
"runEnd": "2018-06-16T00:38:12.7314495Z",
"durationInMs": 28105,
"runStart": "2019-02-21T23:47:35.6829232Z",
"runEnd": "2019-02-21T23:47:55.9645047Z",
"durationInMs": 20281,
"status": "Succeeded",
"message": "",
"lastUpdated": "2018-06-16T00:38:12.7314495Z",
"annotations": []
"lastUpdated": "2019-02-21T23:47:55.9645047Z",
"annotations": [],
"runDimension": {},
"isLatest": false
},
{
"runId": "16ac5348-ff82-4f95-a80d-638c1d47b721",
"runId": "52742a52-e3e2-4e49-8c2f-b777b23536e6",
"runGroupId": "2d25e280-f4ac-4ceb-b446-4fbabff10c16",
"pipelineName": "examplePipeline",
"parameters": {
"OutputBlobNameList": "[\"exampleoutput.csv\"]"
"OutputBlobNameList": "[\r\n \"exampleoutput.csv\"\r\n]"
},
"invokedBy": {
"id": "7c5fd7ef7e8a464b98b931cf15fcac66",
"name": "Manual"
"id": "5190ab7f241c4849802dd9da1cbdd314",
"name": "Manual",
"invokedByType": "Manual"
},
"runStart": "2018-06-16T00:39:49.2745128Z",
"runEnd": null,
"durationInMs": null,
"status": "Cancelled",
"runStart": "2019-02-21T23:51:24.160864Z",
"runEnd": "2019-02-21T23:51:43.4680625Z",
"durationInMs": 19307,
"status": "Succeeded",
"message": "",
"lastUpdated": "2018-06-16T00:39:51.216097Z",
"annotations": []
"lastUpdated": "2019-02-21T23:51:43.4680625Z",
"annotations": [],
"runDimension": {},
"isLatest": true
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,11 @@ private string CapturePipelines_CreateRun()
{ "OutputBlobNameList", outputBlobNameArray }
};

CreateRunResponse rtr = client.Pipelines.CreateRun(secrets.ResourceGroupName, secrets.FactoryName, pipelineName, parameters: arguments);
return rtr.RunId;
CreateRunResponse rtr1 = client.Pipelines.CreateRun(secrets.ResourceGroupName, secrets.FactoryName, pipelineName, parameters: arguments);
System.Threading.Thread.Sleep(TimeSpan.FromSeconds(120));
CreateRunResponse rtr2 = client.Pipelines.CreateRun(secrets.ResourceGroupName, secrets.FactoryName, pipelineName,
isRecovery: true, referencePipelineRunId: rtr1.RunId);
return rtr2.RunId;
}

private void CapturePipelineRuns_Cancel()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,15 @@ public partial interface IPipelinesOperations
/// The pipeline run identifier. If run ID is specified the parameters
/// of the specified run will be used to create a new run.
/// </param>
/// <param name='isRecovery'>
/// Recovery mode flag. If recovery mode is set to true, the specified
/// referenced pipeline run and the new run will be grouped under the
/// same groupId.
/// </param>
/// <param name='startActivityName'>
/// In recovery mode, the rerun will start from this activity. If not
/// specified, all activities will run.
/// </param>
/// <param name='parameters'>
/// Parameters of the pipeline run. These parameters will be used only
/// if the runId is not specified.
Expand All @@ -177,7 +186,7 @@ public partial interface IPipelinesOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<CreateRunResponse>> CreateRunWithHttpMessagesAsync(string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), IDictionary<string, object> parameters = default(IDictionary<string, object>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<CreateRunResponse>> CreateRunWithHttpMessagesAsync(string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), bool? isRecovery = default(bool?), string startActivityName = default(string), IDictionary<string, object> parameters = default(IDictionary<string, object>), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists pipelines.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,13 @@ public AmazonMWSSource()
/// <param name="sourceRetryWait">Source retry wait. Type: string (or
/// Expression with resultType string), pattern:
/// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).</param>
/// <param name="maxConcurrentConnections">The maximum concurrent
/// connection count for the source data store. Type: integer (or
/// Expression with resultType integer).</param>
/// <param name="query">A query to retrieve data from source. Type:
/// string (or Expression with resultType string).</param>
public AmazonMWSSource(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object))
: base(additionalProperties, sourceRetryCount, sourceRetryWait)
public AmazonMWSSource(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object))
: base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections)
{
Query = query;
CustomInit();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,18 @@ public AmazonRedshiftSource()
/// <param name="sourceRetryWait">Source retry wait. Type: string (or
/// Expression with resultType string), pattern:
/// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).</param>
/// <param name="maxConcurrentConnections">The maximum concurrent
/// connection count for the source data store. Type: integer (or
/// Expression with resultType integer).</param>
/// <param name="query">Database query. Type: string (or Expression
/// with resultType string).</param>
/// <param name="redshiftUnloadSettings">The Amazon S3 settings needed
/// for the interim Amazon S3 when copying from Amazon Redshift with
/// unload. With this, data from Amazon Redshift source will be
/// unloaded into S3 first and then copied into the targeted sink from
/// the interim S3.</param>
public AmazonRedshiftSource(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), RedshiftUnloadSettings redshiftUnloadSettings = default(RedshiftUnloadSettings))
: base(additionalProperties, sourceRetryCount, sourceRetryWait)
public AmazonRedshiftSource(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), RedshiftUnloadSettings redshiftUnloadSettings = default(RedshiftUnloadSettings))
: base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections)
{
Query = query;
RedshiftUnloadSettings = redshiftUnloadSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,24 @@ public AmazonS3Dataset()
/// Type: string (or Expression with resultType string).</param>
/// <param name="version">The version for the S3 object. Type: string
/// (or Expression with resultType string).</param>
/// <param name="modifiedDatetimeStart">The start of S3 object's
/// modified datetime. Type: string (or Expression with resultType
/// string).</param>
/// <param name="modifiedDatetimeEnd">The end of S3 object's modified
/// datetime. Type: string (or Expression with resultType
/// string).</param>
/// <param name="format">The format of files.</param>
/// <param name="compression">The data compression method used for the
/// Amazon S3 object.</param>
public AmazonS3Dataset(LinkedServiceReference linkedServiceName, object bucketName, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string description = default(string), object structure = default(object), object schema = default(object), IDictionary<string, ParameterSpecification> parameters = default(IDictionary<string, ParameterSpecification>), IList<object> annotations = default(IList<object>), DatasetFolder folder = default(DatasetFolder), object key = default(object), object prefix = default(object), object version = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression))
public AmazonS3Dataset(LinkedServiceReference linkedServiceName, object bucketName, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string description = default(string), object structure = default(object), object schema = default(object), IDictionary<string, ParameterSpecification> parameters = default(IDictionary<string, ParameterSpecification>), IList<object> annotations = default(IList<object>), DatasetFolder folder = default(DatasetFolder), object key = default(object), object prefix = default(object), object version = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression))
: base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder)
{
BucketName = bucketName;
Key = key;
Prefix = prefix;
Version = version;
ModifiedDatetimeStart = modifiedDatetimeStart;
ModifiedDatetimeEnd = modifiedDatetimeEnd;
Format = format;
Compression = compression;
CustomInit();
Expand Down Expand Up @@ -108,6 +116,20 @@ public AmazonS3Dataset()
[JsonProperty(PropertyName = "typeProperties.version")]
public object Version { get; set; }

/// <summary>
/// Gets or sets the start of S3 object's modified datetime. Type:
/// string (or Expression with resultType string).
/// </summary>
[JsonProperty(PropertyName = "typeProperties.modifiedDatetimeStart")]
public object ModifiedDatetimeStart { get; set; }

/// <summary>
/// Gets or sets the end of S3 object's modified datetime. Type: string
/// (or Expression with resultType string).
/// </summary>
[JsonProperty(PropertyName = "typeProperties.modifiedDatetimeEnd")]
public object ModifiedDatetimeEnd { get; set; }

/// <summary>
/// Gets or sets the format of files.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,21 @@ public AmazonS3LinkedService()
/// Expression with resultType string).</param>
/// <param name="secretAccessKey">The secret access key of the Amazon
/// S3 Identity and Access Management (IAM) user.</param>
/// <param name="serviceUrl">This value specifies the endpoint to
/// access with the S3 Connector. This is an optional property; change
/// it only if you want to try a different service endpoint or want to
/// switch between https and http. Type: string (or Expression with
/// resultType string).</param>
/// <param name="encryptedCredential">The encrypted credential used for
/// authentication. Credentials are encrypted using the integration
/// runtime credential manager. Type: string (or Expression with
/// resultType string).</param>
public AmazonS3LinkedService(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary<string, ParameterSpecification> parameters = default(IDictionary<string, ParameterSpecification>), IList<object> annotations = default(IList<object>), object accessKeyId = default(object), SecretBase secretAccessKey = default(SecretBase), object encryptedCredential = default(object))
public AmazonS3LinkedService(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary<string, ParameterSpecification> parameters = default(IDictionary<string, ParameterSpecification>), IList<object> annotations = default(IList<object>), object accessKeyId = default(object), SecretBase secretAccessKey = default(SecretBase), object serviceUrl = default(object), object encryptedCredential = default(object))
: base(additionalProperties, connectVia, description, parameters, annotations)
{
AccessKeyId = accessKeyId;
SecretAccessKey = secretAccessKey;
ServiceUrl = serviceUrl;
EncryptedCredential = encryptedCredential;
CustomInit();
}
Expand All @@ -80,6 +86,16 @@ public AmazonS3LinkedService()
[JsonProperty(PropertyName = "typeProperties.secretAccessKey")]
public SecretBase SecretAccessKey { get; set; }

/// <summary>
/// Gets or sets this value specifies the endpoint to access with the
/// S3 Connector. This is an optional property; change it only if you
/// want to try a different service endpoint or want to switch between
/// https and http. Type: string (or Expression with resultType
/// string).
/// </summary>
[JsonProperty(PropertyName = "typeProperties.serviceUrl")]
public object ServiceUrl { get; set; }

/// <summary>
/// Gets or sets the encrypted credential used for authentication.
/// Credentials are encrypted using the integration runtime credential
Expand Down
Loading