azure-arm-datalake-store
Version:
Microsoft Azure Data Lake Store Management Client Library for node
82 lines (76 loc) • 1.84 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');
/**
* Data Lake Store virtual network rule information.
*
* @extends models['SubResource']
*/
class VirtualNetworkRule extends models['SubResource'] {
/**
* Create a VirtualNetworkRule.
* @property {string} [subnetId] The resource identifier for the subnet.
*/
constructor() {
super();
}
/**
* Defines the metadata of VirtualNetworkRule
*
* @returns {object} metadata of VirtualNetworkRule
*
*/
mapper() {
return {
required: false,
serializedName: 'VirtualNetworkRule',
type: {
name: 'Composite',
className: 'VirtualNetworkRule',
modelProperties: {
id: {
required: false,
readOnly: true,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: false,
readOnly: true,
serializedName: 'type',
type: {
name: 'String'
}
},
subnetId: {
required: false,
readOnly: true,
serializedName: 'properties.subnetId',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = VirtualNetworkRule;