lib/services/networkManagement2/lib/models/subnet.js
/**
   * Defines the metadata of Subnet
   *
   * @returns {object} metadata of Subnet
   *
   */
Defines the metadata of Subnet
@returns {object} metadata of Subnet
Defines the metadata of Subnet @returns { object } metadata of Subnet
mapper() {
    return {
      required: false,
      serializedName: 'Subnet',
      type: {
        name: 'Composite',
        className: 'Subnet',
        modelProperties: {
          id: {
            required: false,
            serializedName: 'id',
            type: {
              name: 'String'
            }
          },
          addressPrefix: {
            required: false,
            serializedName: 'properties.addressPrefix',
            type: {
              name: 'String'
            }
          },
          networkSecurityGroup: {
            required: false,
            serializedName: 'properties.networkSecurityGroup',
            type: {
              name: 'Composite',
              className: 'NetworkSecurityGroup'
            }
          },
          routeTable: {
            required: false,
            serializedName: 'properties.routeTable',
            type: {
              name: 'Composite',
              className: 'RouteTable'
            }
          },
          serviceEndpoints: {
            required: false,
            serializedName: 'properties.serviceEndpoints',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ServiceEndpointPropertiesFormatElementType',
                  type: {
                    name: 'Composite',
                    className: 'ServiceEndpointPropertiesFormat'
                  }
              }
            }
          },
          serviceEndpointPolicies: {
            required: false,
            serializedName: 'properties.serviceEndpointPolicies',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ServiceEndpointPolicyElementType',
                  type: {
                    name: 'Composite',
                    className: 'ServiceEndpointPolicy'
                  }
              }
            }
          },
          ipConfigurations: {
            required: false,
            readOnly: true,
            serializedName: 'properties.ipConfigurations',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'IPConfigurationElementType',
                  type: {
                    name: 'Composite',
                    className: 'IPConfiguration'
                  }
              }
            }
          },
          resourceNavigationLinks: {
            required: false,
            serializedName: 'properties.resourceNavigationLinks',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ResourceNavigationLinkElementType',
                  type: {
                    name: 'Composite',
                    className: 'ResourceNavigationLink'
                  }
              }
            }
          },
          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 : 'Subnet' , type : { name : 'Composite' , className : 'Subnet' , modelProperties : { id : { required : false , serializedName : 'id' , type : { name : 'String' } } , addressPrefix : { required : false , serializedName : 'properties.addressPrefix' , type : { name : 'String' } } , networkSecurityGroup : { required : false , serializedName : 'properties.networkSecurityGroup' , type : { name : 'Composite' , className : 'NetworkSecurityGroup' } } , routeTable : { required : false , serializedName : 'properties.routeTable' , type : { name : 'Composite' , className : 'RouteTable' } } , serviceEndpoints : { required : false , serializedName : 'properties.serviceEndpoints' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ServiceEndpointPropertiesFormatElementType' , type : { name : 'Composite' , className : 'ServiceEndpointPropertiesFormat' } } } } , serviceEndpointPolicies : { required : false , serializedName : 'properties.serviceEndpointPolicies' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ServiceEndpointPolicyElementType' , type : { name : 'Composite' , className : 'ServiceEndpointPolicy' } } } } , ipConfigurations : { required : false , readOnly : true , serializedName : 'properties.ipConfigurations' , type : { name : 'Sequence' , element : { required : false , serializedName : 'IPConfigurationElementType' , type : { name : 'Composite' , className : 'IPConfiguration' } } } } , resourceNavigationLinks : { required : false , serializedName : 'properties.resourceNavigationLinks' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ResourceNavigationLinkElementType' , type : { name : 'Composite' , className : 'ResourceNavigationLink' } } } } , 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 Subnet
 @returns {object} metadata of Subnet
Defines the metadata of Subnet @returns { object } metadata of Subnet