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

Commit

Permalink
[AutoPR datafactory/resource-manager] [Datafactory] Support create pi…
Browse files Browse the repository at this point in the history
…peline run with recovery mode (#4716)

* Generated from 95542bda23eb445e0223d9153476ebea1d28b1cd

Update description of isLatest

* Generated from 7743758a7254ce040494885e5e3484a4ec581736

Update descriptions
  • Loading branch information
AutorestCI authored Feb 21, 2019
1 parent d75e4c0 commit 06d5f50
Show file tree
Hide file tree
Showing 110 changed files with 4,271 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ class AmazonMWSSource extends models['CopySource'] {
name: 'Object'
}
},
maxConcurrentConnections: {
required: false,
serializedName: 'maxConcurrentConnections',
type: {
name: 'Object'
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ class AmazonRedshiftSource extends models['CopySource'] {
name: 'Object'
}
},
maxConcurrentConnections: {
required: false,
serializedName: 'maxConcurrentConnections',
type: {
name: 'Object'
}
},
type: {
required: true,
serializedName: 'type',
Expand Down
18 changes: 18 additions & 0 deletions lib/services/datafactoryManagement/lib/models/amazonS3Dataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ class AmazonS3Dataset extends models['Dataset'] {
* Type: string (or Expression with resultType string).
* @property {object} [version] The version for the S3 object. Type: string
* (or Expression with resultType string).
* @property {object} [modifiedDatetimeStart] The start of S3 object's
* modified datetime. Type: string (or Expression with resultType string).
* @property {object} [modifiedDatetimeEnd] The end of S3 object's modified
* datetime. Type: string (or Expression with resultType string).
* @property {object} [format] The format of files.
* @property {object} [format.serializer] Serializer. Type: string (or
* Expression with resultType string).
Expand Down Expand Up @@ -164,6 +168,20 @@ class AmazonS3Dataset extends models['Dataset'] {
name: 'Object'
}
},
modifiedDatetimeStart: {
required: false,
serializedName: 'typeProperties.modifiedDatetimeStart',
type: {
name: 'Object'
}
},
modifiedDatetimeEnd: {
required: false,
serializedName: 'typeProperties.modifiedDatetimeEnd',
type: {
name: 'Object'
}
},
format: {
required: false,
serializedName: 'typeProperties.format',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class AmazonS3LinkedService extends models['LinkedService'] {
* @property {object} [secretAccessKey] The secret access key of the Amazon
* S3 Identity and Access Management (IAM) user.
* @property {string} [secretAccessKey.type] Polymorphic Discriminator
* @property {object} [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).
* @property {object} [encryptedCredential] The encrypted credential used for
* authentication. Credentials are encrypted using the integration runtime
* credential manager. Type: string (or Expression with resultType string).
Expand Down Expand Up @@ -125,6 +129,13 @@ class AmazonS3LinkedService extends models['LinkedService'] {
className: 'SecretBase'
}
},
serviceUrl: {
required: false,
serializedName: 'typeProperties.serviceUrl',
type: {
name: 'Object'
}
},
encryptedCredential: {
required: false,
serializedName: 'typeProperties.encryptedCredential',
Expand Down
18 changes: 18 additions & 0 deletions lib/services/datafactoryManagement/lib/models/azureBlobDataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class AzureBlobDataset extends models['Dataset'] {
* (or Expression with resultType string).
* @property {object} [fileName] The name of the Azure Blob. Type: string (or
* Expression with resultType string).
* @property {object} [modifiedDatetimeStart] The start of Azure Blob's
* modified datetime. Type: string (or Expression with resultType string).
* @property {object} [modifiedDatetimeEnd] The end of Azure Blob's modified
* datetime. Type: string (or Expression with resultType string).
* @property {object} [format] The format of the Azure Blob storage.
* @property {object} [format.serializer] Serializer. Type: string (or
* Expression with resultType string).
Expand Down Expand Up @@ -155,6 +159,20 @@ class AzureBlobDataset extends models['Dataset'] {
name: 'Object'
}
},
modifiedDatetimeStart: {
required: false,
serializedName: 'typeProperties.modifiedDatetimeStart',
type: {
name: 'Object'
}
},
modifiedDatetimeEnd: {
required: false,
serializedName: 'typeProperties.modifiedDatetimeEnd',
type: {
name: 'Object'
}
},
format: {
required: false,
serializedName: 'typeProperties.format',
Expand Down
206 changes: 206 additions & 0 deletions lib/services/datafactoryManagement/lib/models/azureBlobFSDataset.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

const models = require('./index');

/**
* The Azure Data Lake Storage Gen2 storage.
*
* @extends models['Dataset']
*/
class AzureBlobFSDataset extends models['Dataset'] {
/**
* Create a AzureBlobFSDataset.
* @property {object} [folderPath] The path of the Azure Data Lake Storage
* Gen2 storage. Type: string (or Expression with resultType string).
* @property {object} [fileName] The name of the Azure Data Lake Storage
* Gen2. Type: string (or Expression with resultType string).
* @property {object} [format] The format of the Azure Data Lake Storage Gen2
* storage.
* @property {object} [format.serializer] Serializer. Type: string (or
* Expression with resultType string).
* @property {object} [format.deserializer] Deserializer. Type: string (or
* Expression with resultType string).
* @property {string} [format.type] Polymorphic Discriminator
* @property {object} [compression] The data compression method used for the
* blob storage.
* @property {string} [compression.type] Polymorphic Discriminator
*/
constructor() {
super();
}

/**
* Defines the metadata of AzureBlobFSDataset
*
* @returns {object} metadata of AzureBlobFSDataset
*
*/
mapper() {
return {
required: false,
serializedName: 'AzureBlobFSFile',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'Dataset',
className: 'AzureBlobFSDataset',
modelProperties: {
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
},
structure: {
required: false,
serializedName: 'structure',
type: {
name: 'Object'
}
},
schema: {
required: false,
serializedName: 'schema',
type: {
name: 'Object'
}
},
linkedServiceName: {
required: true,
serializedName: 'linkedServiceName',
defaultValue: {},
type: {
name: 'Composite',
className: 'LinkedServiceReference'
}
},
parameters: {
required: false,
serializedName: 'parameters',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ParameterSpecificationElementType',
type: {
name: 'Composite',
className: 'ParameterSpecification'
}
}
}
},
annotations: {
required: false,
serializedName: 'annotations',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
folder: {
required: false,
serializedName: 'folder',
type: {
name: 'Composite',
className: 'DatasetFolder'
}
},
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
},
folderPath: {
required: false,
serializedName: 'typeProperties.folderPath',
type: {
name: 'Object'
}
},
fileName: {
required: false,
serializedName: 'typeProperties.fileName',
type: {
name: 'Object'
}
},
format: {
required: false,
serializedName: 'typeProperties.format',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'DatasetStorageFormat',
className: 'DatasetStorageFormat'
}
},
compression: {
required: false,
serializedName: 'typeProperties.compression',
type: {
name: 'Composite',
additionalProperties: {
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'DatasetCompression',
className: 'DatasetCompression'
}
}
}
}
};
}
}

module.exports = AzureBlobFSDataset;
Loading

0 comments on commit 06d5f50

Please sign in to comment.