azure-arm-datalake-store
Version:
Microsoft Azure Data Lake Store Management Client Library for node
74 lines (69 loc) • 2.03 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.
*/
;
/**
* The parameters used to create a new firewall rule while creating a new Data
* Lake Store account.
*
*/
class CreateFirewallRuleWithAccountParameters {
/**
* Create a CreateFirewallRuleWithAccountParameters.
* @property {string} name The unique name of the firewall rule to create.
* @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() {
}
/**
* Defines the metadata of CreateFirewallRuleWithAccountParameters
*
* @returns {object} metadata of CreateFirewallRuleWithAccountParameters
*
*/
mapper() {
return {
required: false,
serializedName: 'CreateFirewallRuleWithAccountParameters',
type: {
name: 'Composite',
className: 'CreateFirewallRuleWithAccountParameters',
modelProperties: {
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
startIpAddress: {
required: true,
serializedName: 'properties.startIpAddress',
type: {
name: 'String'
}
},
endIpAddress: {
required: true,
serializedName: 'properties.endIpAddress',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = CreateFirewallRuleWithAccountParameters;