UNPKG

azure-arm-datalake-store

Version:

Microsoft Azure Data Lake Store Management Client Library for node

95 lines (89 loc) 2.29 kB
/* * 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'); /** * Data Lake Store firewall rule information. * * @extends models['SubResource'] */ class FirewallRule extends models['SubResource'] { /** * Create a FirewallRule. * @property {string} [startIpAddress] The start IP address for the firewall * rule. This can be either ipv4 or ipv6. Start and End should be in the same * protocol. * @property {string} [endIpAddress] The end IP address for the firewall * rule. This can be either ipv4 or ipv6. Start and End should be in the same * protocol. */ constructor() { super(); } /** * Defines the metadata of FirewallRule * * @returns {object} metadata of FirewallRule * */ mapper() { return { required: false, serializedName: 'FirewallRule', type: { name: 'Composite', className: 'FirewallRule', 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' } }, startIpAddress: { required: false, readOnly: true, serializedName: 'properties.startIpAddress', type: { name: 'String' } }, endIpAddress: { required: false, readOnly: true, serializedName: 'properties.endIpAddress', type: { name: 'String' } } } } }; } } module.exports = FirewallRule;