This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR datafactory/resource-manager] [Datafactory] Support create pi…
…peline run with recovery mode (#4716) * Generated from 95542bda23eb445e0223d9153476ebea1d28b1cd Update description of isLatest * Generated from 7743758a7254ce040494885e5e3484a4ec581736 Update descriptions
- Loading branch information
1 parent
d75e4c0
commit 06d5f50
Showing
110 changed files
with
4,271 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
206 changes: 206 additions & 0 deletions
206
lib/services/datafactoryManagement/lib/models/azureBlobFSDataset.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Oops, something went wrong.