lib/services/networkManagement2/lib/models/inboundNatRule.js
/**
   * Defines the metadata of InboundNatRule
   *
   * @returns {object} metadata of InboundNatRule
   *
   */
Defines the metadata of InboundNatRule
@returns {object} metadata of InboundNatRule
Defines the metadata of InboundNatRule @returns { object } metadata of InboundNatRule
mapper() {
    return {
      required: false,
      serializedName: 'InboundNatRule',
      type: {
        name: 'Composite',
        className: 'InboundNatRule',
        modelProperties: {
          id: {
            required: false,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          frontendIPConfiguration: {
            required: false,
            serializedName: 'properties.frontendIPConfiguration',
            type: {
              name: 'Composite',
              className: 'SubResource'
            }
          },
          backendIPConfiguration: {
            required: false,
            readOnly: true,
            serializedName: 'properties.backendIPConfiguration',
            type: {
              name: 'Composite',
              className: 'NetworkInterfaceIPConfiguration'
            }
          },
          protocol: {
            required: false,
            serializedName: 'properties.protocol',
            type: {
              name: 'String'
            }
          },
          frontendPort: {
            required: false,
            serializedName: 'properties.frontendPort',
            type: {
              name: 'Number'
            }
          },
          backendPort: {
            required: false,
            serializedName: 'properties.backendPort',
            type: {
              name: 'Number'
            }
          },
          idleTimeoutInMinutes: {
            required: false,
            serializedName: 'properties.idleTimeoutInMinutes',
            type: {
              name: 'Number'
            }
          },
          enableFloatingIP: {
            required: false,
            serializedName: 'properties.enableFloatingIP',
            type: {
              name: 'Boolean'
            }
          },
          enableTcpReset: {
            required: false,
            serializedName: 'properties.enableTcpReset',
            type: {
              name: 'Boolean'
            }
          },
          provisioningState: {
            required: false,
            serializedName: 'properties.provisioningState',
            type: {
              name: 'String'
            }
          },
          name: {
            required: false,
            serializedName: 'name',
            type: {
              name: 'String'
            }
          },
          etag: {
            required: false,
            serializedName: 'etag',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'InboundNatRule' , type : { name : 'Composite' , className : 'InboundNatRule' , modelProperties : { id : { required : false , serializedName : 'id' , type : { name : 'String' } } , frontendIPConfiguration : { required : false , serializedName : 'properties.frontendIPConfiguration' , type : { name : 'Composite' , className : 'SubResource' } } , backendIPConfiguration : { required : false , readOnly : true , serializedName : 'properties.backendIPConfiguration' , type : { name : 'Composite' , className : 'NetworkInterfaceIPConfiguration' } } , protocol : { required : false , serializedName : 'properties.protocol' , type : { name : 'String' } } , frontendPort : { required : false , serializedName : 'properties.frontendPort' , type : { name : 'Number' } } , backendPort : { required : false , serializedName : 'properties.backendPort' , type : { name : 'Number' } } , idleTimeoutInMinutes : { required : false , serializedName : 'properties.idleTimeoutInMinutes' , type : { name : 'Number' } } , enableFloatingIP : { required : false , serializedName : 'properties.enableFloatingIP' , type : { name : 'Boolean' } } , enableTcpReset : { required : false , serializedName : 'properties.enableTcpReset' , type : { name : 'Boolean' } } , provisioningState : { required : false , serializedName : 'properties.provisioningState' , type : { name : 'String' } } , name : { required : false , serializedName : 'name' , type : { name : 'String' } } , etag : { required : false , serializedName : 'etag' , type : { name : 'String' } } } } } ; }
Defines the metadata of InboundNatRule
 @returns {object} metadata of InboundNatRule
Defines the metadata of InboundNatRule @returns { object } metadata of InboundNatRule