lib/services/networkManagement2/lib/models/azureFirewallNetworkRule.js
/**
   * Defines the metadata of AzureFirewallNetworkRule
   *
   * @returns {object} metadata of AzureFirewallNetworkRule
   *
   */
Defines the metadata of AzureFirewallNetworkRule
@returns {object} metadata of AzureFirewallNetworkRule
Defines the metadata of AzureFirewallNetworkRule @returns { object } metadata of AzureFirewallNetworkRule
mapper() {
    return {
      required: false,
      serializedName: 'AzureFirewallNetworkRule',
      type: {
        name: 'Composite',
        className: 'AzureFirewallNetworkRule',
        modelProperties: {
          name: {
            required: false,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          description: {
            required: false,
            serializedName: 'description',
            type: {
              name: 'String'
            }
          },
          protocols: {
            required: false,
            serializedName: 'protocols',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'AzureFirewallNetworkRuleProtocolElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          },
          sourceAddresses: {
            required: false,
            serializedName: 'sourceAddresses',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'StringElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          },
          destinationAddresses: {
            required: false,
            serializedName: 'destinationAddresses',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'StringElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          },
          destinationPorts: {
            required: false,
            serializedName: 'destinationPorts',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'StringElementType',
                  type: {
                    name: 'String'
                  }
              }
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'AzureFirewallNetworkRule' , type : { name : 'Composite' , className : 'AzureFirewallNetworkRule' , modelProperties : { name : { required : false , serializedName : 'name' , type : { name : 'String' } } , description : { required : false , serializedName : 'description' , type : { name : 'String' } } , protocols : { required : false , serializedName : 'protocols' , type : { name : 'Sequence' , element : { required : false , serializedName : 'AzureFirewallNetworkRuleProtocolElementType' , type : { name : 'String' } } } } , sourceAddresses : { required : false , serializedName : 'sourceAddresses' , type : { name : 'Sequence' , element : { required : false , serializedName : 'StringElementType' , type : { name : 'String' } } } } , destinationAddresses : { required : false , serializedName : 'destinationAddresses' , type : { name : 'Sequence' , element : { required : false , serializedName : 'StringElementType' , type : { name : 'String' } } } } , destinationPorts : { required : false , serializedName : 'destinationPorts' , type : { name : 'Sequence' , element : { required : false , serializedName : 'StringElementType' , type : { name : 'String' } } } } } } } ; }
Defines the metadata of AzureFirewallNetworkRule
 @returns {object} metadata of AzureFirewallNetworkRule
Defines the metadata of AzureFirewallNetworkRule @returns { object } metadata of AzureFirewallNetworkRule