code: func schemaHostPortGroupSpec() map[string]*schema.Schema {
  	s := map[string]*schema.Schema{
  		// HostPortGroupSpec
  		"name": {
  			Type:        schema.TypeString,
  			Required:    true,
  			Description: "The name of the port group.",
  			ForceNew:    true,
  		},
  		"vlan_id": {
  			Type:         schema.TypeInt,
  			Optional:     true,
  			Description:  "The VLAN ID/trunk mode for this port group. An ID of 0 denotes no tagging, an ID of 1-4094 tags with the specific ID, and an ID of 4095 enables trunk mode, allowing the guest to manage its own tagging.",
  			Default:      0,
  			ValidateFunc: validation.IntBetween(0, 4095),
  		},
  		"virtual_switch_name": {
  			Type:        schema.TypeString,
  			Required:    true,
  			Description: "The name of the virtual switch to bind this port group to.",
  			ForceNew:    true,
  		},
  	}
  	structure.MergeSchema(s, schemaHostNetworkPolicy())
  	return s
  }
docs: // schemaHostPortGroupSpec returns schema items for resources that
  // need to work with HostPortGroupSpec, such as port groups.