azure-arm-datalake-analytics
Version:
Microsoft Azure Data Lake Analytics Management Client Library for node
96 lines (90 loc) • 2.39 kB
JavaScript
/*
* 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.
*/
;
const models = require('./index');
/**
* A Data Lake Analytics catalog U-SQL table valued function item.
*
* @extends models['CatalogItem']
*/
class USqlTableValuedFunction extends models['CatalogItem'] {
/**
* Create a USqlTableValuedFunction.
* @member {string} [databaseName] the name of the database.
* @member {string} [schemaName] the name of the schema associated with this
* database.
* @member {string} [name] the name of the table valued function.
* @member {string} [definition] the definition of the table valued function.
*/
constructor() {
super();
}
/**
* Defines the metadata of USqlTableValuedFunction
*
* @returns {object} metadata of USqlTableValuedFunction
*
*/
mapper() {
return {
required: false,
serializedName: 'USqlTableValuedFunction',
type: {
name: 'Composite',
className: 'USqlTableValuedFunction',
modelProperties: {
computeAccountName: {
required: false,
serializedName: 'computeAccountName',
type: {
name: 'String'
}
},
version: {
required: false,
serializedName: 'version',
type: {
name: 'String'
}
},
databaseName: {
required: false,
serializedName: 'databaseName',
type: {
name: 'String'
}
},
schemaName: {
required: false,
serializedName: 'schemaName',
type: {
name: 'String'
}
},
name: {
required: false,
serializedName: 'tvfName',
type: {
name: 'String'
}
},
definition: {
required: false,
serializedName: 'definition',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = USqlTableValuedFunction;